/* =============================================================================
   Layout fix - fluid containers
   -----------------------------------------------------------------------------
   The ColorAdmin theme uses Bootstrap's fixed width container (1170px), so on
   wide screens every section below the home slider renders as a narrow block
   centred in the middle of the page with big empty gaps on the left and right.

   These overrides make every container fill the page width while keeping a
   proper gutter on both sides, so the layout fits the screen properly.
   The home slider (#slider) keeps the original theme container widths, so the
   slider looks exactly the same as before.

   Load this file LAST (after bootstrap / style / theme / animate) so the
   overrides win over the theme rules.
   ============================================================================= */

@media (min-width: 768px) {
    #page-container .container {
        width: 100%;
        max-width: 100%;
        padding-left: 30px;
        padding-right: 30px;
    }

    /* keep the home slider exactly as the theme designed it */
    #slider .container {
        width: 750px;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (min-width: 992px) {
    #slider .container {
        width: 970px;
    }
}

@media (min-width: 1200px) {
    #slider .container {
        width: 1170px;
    }
}

/* =============================================================================
   GR POINT logo - make the brand name bold and prominent in the header
   (the theme renders it at 20px / normal weight)
   ============================================================================= */

.header-logo a {
    font-size: 24px;
    font-weight: 700;
    line-height: 30px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.header-logo a > span:not(.brand) {
    font-weight: 700;
}

@media (max-width: 767px) {
    .header-logo a {
        font-size: 18px;
        line-height: 24px;
    }
}

/* =============================================================================
   GR POINT - Checkout payment page: order summary + Cash on Delivery / PayPal
   ============================================================================= */

.order-summary {
    background: #f7f9fa;
    border: 1px solid #e6ecef;
    border-radius: 10px;
    padding: 16px 20px;
    margin: 0 0 22px;
}

.order-summary .summary-line {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-size: 14px;
    color: #5b6b76;
    padding: 6px 0;
}

.order-summary .summary-line b {
    color: #101820;
    font-weight: 600;
}

.order-summary .summary-total {
    border-top: 1px dashed #d6dee3;
    margin-top: 8px;
    padding-top: 12px;
    font-size: 16px;
    font-weight: 700;
}

.order-summary .summary-total span,
.order-summary .summary-total b {
    color: #009688;
    font-size: 18px;
    font-weight: 700;
}

.pay-methods {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.pay-method {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 0;
    flex: 1 1 0;
    position: relative;
    display: block;
    border: 2px solid #e2e8ec;
    border-radius: 10px;
    padding: 16px 16px 16px 52px;
    cursor: pointer;
    background: #fff;
    -webkit-transition: border-color .15s, background .15s, -webkit-box-shadow .15s;
    transition: border-color .15s, background .15s, box-shadow .15s;
}

.pay-method input {
    position: absolute;
    opacity: 0;
    left: 0;
    top: 0;
}

.pay-method > i {
    position: absolute;
    left: 17px;
    top: 18px;
    font-size: 20px;
    color: #9aa9b3;
}

.pay-method .title {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #101820;
    margin-bottom: 3px;
}

.pay-method .desc {
    display: block;
    font-size: 12.5px;
    color: #7a8a94;
    line-height: 1.45;
}

.pay-method:hover {
    border-color: #bfe6e4;
}

.pay-method.selected {
    border-color: #00acac;
    background: #f4fdfd;
    -webkit-box-shadow: 0 0 0 4px rgba(0, 172, 172, .1);
    box-shadow: 0 0 0 4px rgba(0, 172, 172, .1);
}

.pay-method.selected > i {
    color: #009688;
}

.pay-panel {
    margin-bottom: 18px;
}

.pay-note {
    background: #f4fdfd;
    border: 1px solid #cdeceb;
    color: #24706b;
    border-radius: 10px;
    padding: 13px 16px;
    font-size: 13.5px;
    line-height: 1.55;
    margin: 0;
}

.pay-note i {
    margin-right: 8px;
}

.pay-note b {
    color: #009688;
}

.checkout-footer .place-order-btn {
    background: -webkit-linear-gradient(left, #00b4b4, #009688);
    background: linear-gradient(90deg, #00b4b4, #009688);
    border: 0;
    color: #fff;
    font-weight: 700;
    border-radius: 4px;
}

.checkout-footer .place-order-btn:hover {
    background: -webkit-linear-gradient(left, #00a3a3, #00847a);
    background: linear-gradient(90deg, #00a3a3, #00847a);
    color: #fff;
}

@media (max-width: 767px) {
    .pay-methods {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
}

/* =============================================================================
   GR POINT - Sign in / Sign up pages (professional auth layout)
   ============================================================================= */

.auth-section {
    background:
        radial-gradient(1100px 420px at 8% -15%, rgba(0, 172, 172, .35), transparent 60%),
        radial-gradient(900px 520px at 112% 115%, rgba(0, 150, 150, .22), transparent 55%),
        linear-gradient(135deg, #0e1417 0%, #16232a 48%, #0b2b2b 100%);
    padding: 70px 0;
    min-height: 74vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.auth-grid {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 50px;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    max-width: 1060px;
    margin: 0 auto;
    width: 100%;
}

/* ---------- left brand panel ---------- */
.auth-brand {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 52%;
    flex: 1 1 52%;
    color: #fff;
    padding: 10px 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    justify-content: center;
}

.auth-logo {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 28px;
}

.auth-logo-mark {
    width: 34px;
    height: 34px;
    border: 10px solid transparent;
    border-color: #33bdbd #009688 #008a8a;
    border-radius: 6px;
    -webkit-box-shadow: 0 6px 12px -6px rgba(0, 0, 0, .8);
    box-shadow: 0 6px 12px -6px rgba(0, 0, 0, .8);
    margin-right: 14px;
}

.auth-logo-text {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.auth-logo-text span {
    color: #2fd6d6;
}

.auth-brand h1 {
    font-size: 44px;
    line-height: 1.1;
    font-weight: 700;
    margin: 0 0 14px;
    letter-spacing: -.5px;
}

.auth-lead {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .68);
    margin: 0 0 30px;
    max-width: 460px;
}

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

.auth-features li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 16px;
}

.auth-features li i {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    color: #2fd6d6;
    font-size: 16px;
    line-height: 42px;
    text-align: center;
    margin-right: 14px;
    -webkit-box-flex: 0;
    -ms-flex: none;
    flex: none;
}

.auth-features li div {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.auth-features li strong {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.auth-features li span {
    font-size: 13px;
    color: rgba(255, 255, 255, .55);
}

/* ---------- right form card ---------- */
.auth-card {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 420px;
    flex: 0 0 420px;
    background: #fff;
    border-radius: 18px;
    padding: 40px 38px 34px;
    -webkit-box-shadow: 0 30px 70px rgba(0, 0, 0, .45);
    box-shadow: 0 30px 70px rgba(0, 0, 0, .45);
}

.auth-card-head h2 {
    margin: 0 0 6px;
    font-size: 26px;
    font-weight: 700;
    color: #101820;
    letter-spacing: -.3px;
}

.auth-card-head p {
    margin: 0 0 24px;
    font-size: 14px;
    color: #7a8a94;
}

.auth-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #33434e;
    margin-bottom: 7px;
    letter-spacing: .2px;
}

.auth-field {
    position: relative;
    margin-bottom: 18px;
}

.auth-field i {
    position: absolute;
    left: 15px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    color: #9aa9b3;
    font-size: 15px;
    pointer-events: none;
}

.auth-field input,
.auth-field .form-control {
    width: 100%;
    height: 48px;
    padding: 0 15px 0 44px;
    border: 1px solid #dde4e9;
    border-radius: 10px;
    background: #f8fafb;
    font-size: 15px;
    color: #101820;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transition: border-color .18s, background .18s, -webkit-box-shadow .18s;
    transition: border-color .18s, background .18s, box-shadow .18s;
}

.auth-field input::-webkit-input-placeholder {
    color: #a6b3bc;
}

.auth-field input:focus {
    outline: 0;
    background: #fff;
    border-color: #00acac;
    -webkit-box-shadow: 0 0 0 4px rgba(0, 172, 172, .13);
    box-shadow: 0 0 0 4px rgba(0, 172, 172, .13);
}

.auth-field input:focus + i {
    color: #00acac;
}

.auth-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin: 2px 0 22px;
    font-size: 13px;
}

.auth-row a {
    color: #009688;
    font-weight: 600;
    text-decoration: none;
}

.auth-row a:hover {
    color: #007a6e;
    text-decoration: underline;
}

.auth-check {
    color: #7a8a94;
    font-weight: 500;
}

.auth-check input {
    margin-right: 7px;
    vertical-align: -1px;
}

.auth-btn {
    display: block;
    width: 100%;
    height: 50px;
    border: 0;
    border-radius: 10px;
    background: -webkit-linear-gradient(left, #00b4b4, #009688);
    background: linear-gradient(90deg, #00b4b4, #009688);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .4px;
    -webkit-transition: -webkit-transform .15s, -webkit-box-shadow .15s;
    transition: transform .15s, box-shadow .15s;
    -webkit-box-shadow: 0 10px 22px -10px rgba(0, 150, 150, .9);
    box-shadow: 0 10px 22px -10px rgba(0, 150, 150, .9);
}

.auth-btn i {
    margin-left: 8px;
}

.auth-btn:hover {
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
    -webkit-box-shadow: 0 16px 28px -12px rgba(0, 150, 150, .95);
    box-shadow: 0 16px 28px -12px rgba(0, 150, 150, .95);
}

.auth-btn:active {
    -webkit-transform: translateY(0);
    transform: translateY(0);
}

.auth-divider {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin: 22px 0 16px;
    font-size: 12px;
    color: #a6b3bc;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.auth-divider:before,
.auth-divider:after {
    content: '';
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    height: 1px;
    background: #e7ecef;
}

.auth-divider span {
    padding: 0 14px;
}

.auth-alt {
    text-align: center;
    font-size: 14px;
    color: #7a8a94;
}

.auth-alt a {
    color: #009688;
    font-weight: 700;
    text-decoration: none;
}

.auth-alt a:hover {
    text-decoration: underline;
}

.auth-meta {
    text-align: center;
    font-size: 12.5px;
    color: #9aa9b3;
    margin-top: 18px;
}

.auth-meta a {
    color: #009688;
    font-weight: 600;
}

/* ---------- messages / alerts ---------- */
.auth-alert {
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 14px;
    margin-bottom: 20px;
    border: 1px solid transparent;
}

.auth-alert-error {
    background: #fdeeec;
    border-color: #f7cfca;
    color: #b23b2e;
}

.auth-alert-success {
    background: #eaf7ef;
    border-color: #c6e8d3;
    color: #1e7a45;
}

.auth-alert i {
    margin-right: 8px;
}

/* ---------- responsive ---------- */
@media (max-width: 991px) {
    .auth-section {
        padding: 46px 0;
        min-height: auto;
    }
    .auth-grid {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 32px;
        max-width: 480px;
    }
    .auth-brand h1 {
        font-size: 32px;
    }
    .auth-features {
        display: none;
    }
    .auth-card {
        -webkit-box-flex: 1;
        -ms-flex: 1 1 auto;
        flex: 1 1 auto;
        width: 100%;
        padding: 32px 26px 28px;
    }
}
