/* 
    Author: Balazs Karoly
*/

h1,h2,h3{
    color:#84b391;
}

header .container{
    text-align: center;
}

header .container img{
    max-width: 100%;
}


.copyrights{
    text-align: center;
}

footer{
    margin-top:50px;
}

footer .container{
    background-color: #84b391;
    color: #ffffff;
}

.btn-info {
    color: #fff;
    background-color: #84b391;
    border-color: #84b391;
}

.table-accepted{
    background-color: #84b391 !important;
    color: #fff;
}

.btn-danger {
    color: #fff;
    background-color: #b33e84;
    border-color: #b33e84;
}

.btn-primary {
    color: #fff;
    background-color: #b9dee6;
    border-color: #b9dee6;
}

.custom-combobox {
    position: relative;
    display: inline-block;
}

.custom-combobox-toggle {
    position: absolute;
    top: 0;
    bottom: 0;
    margin-left: -1px;
    padding: 0;
}

.custom-combobox-input {
    margin: 0;
    padding: 5px 10px;
    width: 92%;
}

.custom-combobox{
    width: 100%;
}

.send-order-button{
      text-align: right;
}

.navbar-brand{
      display: none;
}

table tr th{
    text-align: center;
}

#searchField{

    width:30%;

}

  /*@media (max-width: 991.98px) { */

@media (max-width: 767.98px) {
    
    .hide-col {
        display: none; 
    }
    
    .send-order-button{
        text-align: center;
    }

    .container h3{
        text-align: center;
    }

  }


  @media print {
    header .container img{
        display:none
    }

    #orderedItemsBlock{
        page-break-before: always;
    }
  }

/* Alert messages (site-wide) */

.alert {
    border: none;
    border-radius: 8px;
    padding: 0.85rem 1rem;
    font-size: 0.925rem;
    margin-bottom: 1.25rem;
}

.alert-danger {
    color: #b33e84;
    background-color: rgba(179, 62, 132, 0.1);
}

.alert-success {
    color: #6f9e7e;
    background-color: rgba(132, 179, 145, 0.12);
}

.alert ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

/* Auth pages (login, forgot password) */

.auth-page {
    padding: 40px 0;
}

.auth-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

.auth-card .card-body {
    padding: 2.25rem 2rem;
}

.auth-title {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1.5rem;
}


.btn-primary-brand {
    color: #fff;
    background-color: #84b391;
    border-color: #84b391;
}

.btn-primary-brand:hover,
.btn-primary-brand:focus {
    color: #fff;
    background-color: #6f9e7e;
    border-color: #6f9e7e;
}

.btn-outline-brand {
    color: #6f9e7e;
    background-color: transparent;
    border: 1px solid #84b391;
}

.btn-outline-brand:hover,
.btn-outline-brand:focus {
    color: #fff;
    background-color: #84b391;
    border-color: #84b391;
}

.btn-primary-brand:focus,
.btn-outline-brand:focus,
.auth-link:focus {
    outline: 2px solid #84b391;
    outline-offset: 2px;
}

.password-toggle:focus {
    outline: none;
}

.password-toggle:focus-visible {
    outline: 2px solid #84b391;
    outline-offset: 2px;
}

.auth-link-center {
    text-align: center;
    margin-top: 0.75rem;
}

.auth-link {
    color: #6c757d;
    text-decoration: none;
}

.auth-link:hover,
.auth-link:focus {
    color: #84b391;
    text-decoration: underline;
}

.auth-divider {
    margin: 1.5rem 0;
    border-top: 1px solid #e9ecef;
}

.auth-hint {
    text-align: center;
    color: #6c757d;
    margin-bottom: 0.75rem;
}

.password-field {
    position: relative;
}

.password-field input {
    padding-right: 44px;
}

.password-toggle {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: #6c757d;
    cursor: pointer;
}

.password-toggle:hover {
    color: #84b391;
}

@media (max-width: 480px) {
    .auth-card .card-body {
        padding: 1.75rem 1.25rem;
    }
}

/* Documents page */

.docs-page {
    padding: 40px 0;
}

.docs-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

.docs-card .card-body {
    padding: 2rem 1.75rem;
}

.docs-title {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1.25rem;
}

.docs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.docs-item {
    border-bottom: 1px solid #e9ecef;
}

.docs-item:last-child {
    border-bottom: none;
}

.docs-item a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 8px 14px 32px;
    color: #212529;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.15s ease;
}

.docs-item a:hover,
.docs-item a:focus-visible {
    background-color: #f3f8f5;
}

.docs-item a:focus {
    outline: none;
}

.docs-item a:focus-visible {
    outline: 2px solid #84b391;
    outline-offset: -2px;
}

.docs-item a::before,
.docs-item a::after {
    content: "";
    flex-shrink: 0;
}

.docs-item a::before {
    position: absolute;
    left: 6px;
    width: 16px;
    height: 16px;
    background-color: #84b391;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3C/svg%3E") center / contain no-repeat;
}

.docs-item a::after {
    width: 14px;
    height: 14px;
    margin-left: auto;
    background-color: #adb5bd;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: background-color 0.15s ease;
}

.docs-item a:hover::after,
.docs-item a:focus-visible::after {
    background-color: #84b391;
}

@media (max-width: 480px) {
    .docs-card .card-body {
        padding: 1.5rem 1.25rem;
    }
}

/* Registration page */

.reg-page {
    padding: 32px 0 48px;
}

.reg-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0;
}

.reg-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.reg-card .card-header:not(.btn-info) {
    background-color: #f3f8f5;
    border-bottom: 1px solid #e3efe8;
    color: #4a7c5a;
    font-weight: 600;
}

.reg-card .card-body {
    padding: 1.5rem 1.25rem;
}

@media (max-width: 480px) {
    .reg-card .card-body {
        padding: 1.25rem 1rem;
    }
}

/* Nav bar (logged-in partner) */

.navbar-light .navbar-nav .nav-link {
    color: #495057;
    padding-bottom: 0.35rem;
    border-bottom: 2px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus {
    color: #4a7c5a;
}

.navbar-light .navbar-nav .nav-item.active .nav-link {
    color: #4a7c5a;
    border-bottom-color: #84b391;
    font-weight: 600;
}

/* Dashboard page */

.dash-page {
    padding: 32px 0 48px;
}

.dash-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

.dash-card .card-body {
    padding: 2rem 1.75rem;
}

.dash-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.dash-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background-color: #f3f8f5;
    color: #4a7c5a;
    border: none;
    border-radius: 8px;
    padding: 0.85rem 1rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.15s ease;
}

.dash-toggle:hover,
.dash-toggle:focus {
    background-color: #e7f2ec;
}

.dash-toggle::after {
    content: "";
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    background-color: #4a7c5a;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: transform 0.2s ease;
}

.dash-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

.dash-panel {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background-color: #fbfdfc;
}

@media (max-width: 480px) {
    .dash-card .card-body {
        padding: 1.5rem 1.25rem;
    }
}

/* Orders pages (overview + create) */

.orders-page {
    padding: 16px 0 48px;
}

.orders-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0;
}

.orders-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.orders-card .card-header:not(.btn-info) {
    background-color: #f3f8f5;
    border-bottom: 1px solid #e3efe8;
    color: #4a7c5a;
    font-weight: 600;
}

.orders-card .card-body {
    padding: 1.5rem 1.25rem;
}

.orders-empty {
    color: #6c757d;
    text-align: center;
    padding: 1.5rem 0;
    margin-bottom: 0;
}

.orders-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    color: #6c757d;
    vertical-align: middle;
}

.orders-icon-btn:hover,
.orders-icon-btn:focus-visible {
    background-color: #f3f8f5;
}

.orders-icon-btn::before {
    content: "";
    width: 16px;
    height: 16px;
    background-color: currentColor;
}

.orders-icon-edit {
    color: #6c757d;
}

.orders-icon-edit:hover,
.orders-icon-edit:focus-visible {
    color: #4a7c5a;
}

.orders-icon-edit::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7'/%3E%3Cpath d='M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7'/%3E%3Cpath d='M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.orders-icon-delete {
    color: #6c757d;
}

.orders-icon-delete:hover,
.orders-icon-delete:focus-visible {
    color: #b33e84;
}

.orders-icon-delete::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3 6 5 6 21 6'/%3E%3Cpath d='M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6'/%3E%3Cpath d='M10 11v6'/%3E%3Cpath d='M14 11v6'/%3E%3Cpath d='M9 6V4a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v2'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3 6 5 6 21 6'/%3E%3Cpath d='M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6'/%3E%3Cpath d='M10 11v6'/%3E%3Cpath d='M14 11v6'/%3E%3Cpath d='M9 6V4a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v2'/%3E%3C/svg%3E") center / contain no-repeat;
}

@media (max-width: 480px) {
    .orders-card .card-body {
        padding: 1.25rem 1rem;
    }
}
 