﻿:root {
    --gb-primary: #e63946;
    --gb-white: #ffffff;
    --gb-light: #fafafa;
    --gb-dark: #1a1a2e;
    --gb-muted: #6b7280;
    --gb-border: #e5e7eb;
    --gb-soft: #f3f4f6;
    --gb-success: #059669;
}

.gb-auth-page {
    background: var(--gb-light);
}

.gb-auth-layout {
    min-height: calc(100vh - 112px);
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 24px;
    display: flex;
    align-items: center;
    gap: 60px;
}

.gb-auth-left {
    flex: 0 0 45%;
}

.gb-auth-left h1 {
    margin: 0 0 14px;
    font-size: 40px;
    line-height: 1.15;
    color: var(--gb-dark);
}

.gb-auth-left p {
    margin: 0 0 28px;
    color: #4b5563;
    font-size: 20px;
    line-height: 1.5;
}

.gb-auth-benefits {
    display: grid;
    gap: 18px;
}

.gb-auth-benefit {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.gb-auth-benefit-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffe6e8;
    color: var(--gb-primary);
    font-size: 17px;
}

.gb-auth-benefit h3 {
    margin: 1px 0 4px;
    font-size: 18px;
    color: var(--gb-dark);
}

.gb-auth-benefit p {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
}

.gb-auth-right {
    flex: 1;
}

.gb-auth-card {
    background: var(--gb-white);
    border: 1px solid var(--gb-border);
    border-radius: 18px;
    padding: 34px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.gb-auth-card h2 {
    margin: 0 0 28px;
    color: var(--gb-dark);
    font-size: 40px;
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.gb-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.gb-form-group {
    margin-bottom: 16px;
}

.gb-form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--gb-dark);
    font-size: 15px;
    font-weight: 600;
}

.gb-input-shell {
    position: relative;
}

.gb-input-shell input,
.gb-input-shell textarea,
.gb-form-group input,
.gb-form-group textarea,
.gb-form-group select {
    width: 100%;
    min-height: 44px;
    border: 1.5px solid var(--gb-border);
    border-radius: 12px;
    padding: 11px 14px;
    font-size: 15px;
    color: var(--gb-dark);
    background: #f7f8fb;
    outline: none;
    transition: border-color .2s ease, background .2s ease;
}

.gb-form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.gb-input-shell input:focus,
.gb-form-group input:focus,
.gb-form-group textarea:focus,
.gb-form-group select:focus {
    border-color: var(--gb-primary);
    background: #fff;
}

.gb-pass-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #6b7280;
    cursor: pointer;
}

.gb-form-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 16px;
}

.gb-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #4b5563;
}

.gb-link {
    color: var(--gb-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.gb-link:hover {
    text-decoration: underline;
}

.gb-btn-primary {
    width: 100%;
    min-height: 48px;
    border: 0;
    border-radius: 12px;
    background: var(--gb-primary);
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
}

.gb-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(230, 57, 70, .25);
    background: #d62b38;
}

.gb-auth-bottom {
    margin-top: 16px;
    text-align: center;
    font-size: 15px;
    color: #6b7280;
}

.gb-error {
    border-color: #dc2626 !important;
    background: #fef2f2 !important;
}

.gb-dashboard-wrap {
    max-width: 1280px;
    margin: 24px auto 44px;
    padding: 0 24px;
}

.gb-dashboard-banner {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.gb-dashboard-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gb-avatar {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: var(--gb-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
}

.gb-dashboard-user h1 {
    margin: 0;
    font-size: 22px;
    color: var(--gb-dark);
}

.gb-dashboard-user p {
    margin: 4px 0 0;
    color: #6b7280;
}

.gb-inline-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    border-radius: 999px;
    border: 1px solid var(--gb-primary);
    color: var(--gb-primary);
    background: #fff;
    text-decoration: none;
    padding: 0 18px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
}

.gb-layout {
    display: flex;
    gap: 18px;
    margin-top: 18px;
}

.gb-sidebar {
    width: 250px;
    flex-shrink: 0;
    background: #fff;
    border: 1px solid var(--gb-border);
    border-radius: 16px;
    padding: 10px;
    height: fit-content;
}

.gb-sidebar a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--gb-dark);
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 600;
}

.gb-sidebar a:hover {
    background: #f9fafb;
}

.gb-sidebar a.is-active {
    background: var(--gb-primary);
    color: #fff;
}

.gb-content {
    flex: 1;
    min-width: 0;
}

.gb-mobile-tabs {
    display: none;
    margin: 12px 0;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.gb-mobile-tabs a {
    flex: 0 0 auto;
    text-decoration: none;
    border: 1px solid var(--gb-border);
    border-radius: 999px;
    padding: 10px 14px;
    color: var(--gb-dark);
    font-size: 13px;
    font-weight: 700;
    background: #fff;
}

.gb-mobile-tabs a.is-active {
    background: var(--gb-primary);
    border-color: var(--gb-primary);
    color: #fff;
}

.gb-card {
    border: 1px solid var(--gb-border);
    background: #fff;
    border-radius: 16px;
    padding: 18px;
}

.gb-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 16px;
}

.gb-stat-card {
    border: 1px solid #f1d0d4;
    background: #fff8f9;
    border-radius: 14px;
    padding: 16px;
}

.gb-stat-card h3 {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
    font-weight: 600;
}

.gb-stat-card strong {
    display: block;
    margin-top: 6px;
    color: #1a1a2e;
    font-size: 28px;
    line-height: 1;
}

.gb-section-title {
    margin: 0 0 14px;
    font-size: 20px;
    color: #1a1a2e;
}

.gb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
}

.gb-fav-card {
    border: 1px solid var(--gb-border);
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}

.gb-fav-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    background: #f3f4f6;
}

.gb-fav-body {
    padding: 14px;
}

.gb-fav-body h3 {
    margin: 0 0 8px;
    font-size: 16px;
}

.gb-fav-body p {
    margin: 0 0 10px;
    color: #6b7280;
    font-size: 13px;
}

.gb-res-item {
    border: 1px solid var(--gb-border);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 10px;
    display: grid;
    gap: 8px;
}

.gb-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 700;
    width: fit-content;
    background: #e5e7eb;
    color: #374151;
}

.gb-badge.confirmed {
    background: #dcfce7;
    color: #166534;
}

.gb-badge.pending {
    background: #fef3c7;
    color: #92400e;
}

.gb-badge.cancelled,
.gb-badge.rejected {
    background: #fee2e2;
    color: #991b1b;
}

.gb-empty {
    border: 1px dashed #d1d5db;
    border-radius: 14px;
    background: #fff;
    padding: 24px;
    text-align: center;
    color: #6b7280;
}

.gb-tabs {
    display: inline-flex;
    border: 1px solid var(--gb-border);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 14px;
}

.gb-tab-btn {
    border: 0;
    background: #fff;
    padding: 11px 16px;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
    cursor: pointer;
}

.gb-tab-btn.is-active {
    background: var(--gb-primary);
    color: #fff;
}

.gb-tab-pane {
    display: none;
}

.gb-tab-pane.is-active {
    display: block;
}

@media (max-width: 992px) {
    .gb-auth-left h1,
    .gb-auth-card h2 {
        font-size: 34px;
    }

    .gb-auth-layout {
        gap: 34px;
    }

    .gb-stats {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .gb-auth-layout {
        padding: 20px 14px;
        min-height: calc(100vh - 112px);
    }

    .gb-auth-left {
        display: none;
    }

    .gb-auth-card {
        padding: 20px;
    }

    .gb-auth-card h2 {
        font-size: 30px;
        margin-bottom: 20px;
    }

    .gb-form-row {
        grid-template-columns: 1fr;
    }

    .gb-dashboard-wrap {
        padding: 0 14px;
        margin-top: 16px;
    }

    .gb-dashboard-banner {
        align-items: flex-start;
        flex-direction: column;
    }

    .gb-layout {
        flex-direction: column;
    }

    .gb-sidebar {
        display: none;
    }

    .gb-mobile-tabs {
        display: flex;
    }

    .gb-stats {
        grid-template-columns: 1fr;
    }
}
