/* ==========================================================================
   EventHotelBroker — Auth Login
   Theme: Digital Storm Honey Amber (#DD7A28) & Warm Cream Canvas (#F5EFE6)
   Typography: Inter
   Prefix: lg-
   ========================================================================== */

.lg-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    box-sizing: border-box;
    min-height: calc(100vh - 120px);
}

/* ── Back link ── */
.lg-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #6B7280;
    text-decoration: none;
    margin-bottom: 1.25rem;
    transition: color 0.15s ease;
    align-self: flex-start;
}
.lg-back:hover {
    color: #DD7A28;
}
.lg-back i {
    font-size: 0.75rem;
}

/* ── Card ── */
.lg-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    max-width: 440px;
    width: 100%;
    overflow: hidden;
    margin: 0 auto;
}

/* ── Header ── */
.lg-header {
    text-align: center;
    padding: 2.5rem 2rem 1rem;
}
.lg-logo {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, #DD7A28 0%, #c56820 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 1.6rem;
    box-shadow: 0 8px 20px rgba(221, 122, 40, 0.25);
}
.lg-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #111827;
    margin: 0 0 0.4rem 0;
    letter-spacing: -0.02em;
}
.lg-subtitle {
    font-size: 0.875rem;
    color: #6B7280;
    margin: 0;
}

/* ── Body ── */
.lg-body {
    padding: 1.5rem 2rem 2rem;
}

/* ── Form ── */
.lg-field {
    margin-bottom: 1rem;
}
.lg-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    color: #4B5563;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.35rem;
}
.lg-input {
    width: 100%;
    padding: 0.7rem 0.9rem;
    font-size: 0.875rem;
    font-family: inherit;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    background: #FFFFFF;
    color: #111827;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    box-sizing: border-box;
}
.lg-input::placeholder {
    color: #9CA3AF;
}
.lg-input:focus {
    border-color: #DD7A28;
    box-shadow: 0 0 0 3px rgba(221, 122, 40, 0.15);
}

/* ── Options row ── */
.lg-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}
.lg-check {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.lg-check input[type="checkbox"] {
    width: 15px;
    height: 15px;
    accent-color: #DD7A28;
    cursor: pointer;
    margin: 0;
}
.lg-check-label {
    font-size: 0.75rem;
    color: #4B5563;
    cursor: pointer;
}
.lg-forgot {
    font-size: 0.75rem;
    font-weight: 600;
    color: #DD7A28;
    text-decoration: none;
    transition: color 0.15s ease;
}
.lg-forgot:hover {
    color: #c56820;
    text-decoration: underline;
}

/* ── Buttons ── */
.lg-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    font-size: 0.875rem;
    font-weight: 700;
    font-family: inherit;
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    box-sizing: border-box;
}
.lg-btn-primary {
    background: #DD7A28;
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(221, 122, 40, 0.3);
}
.lg-btn-primary:hover {
    background: #c56820;
    box-shadow: 0 6px 20px rgba(221, 122, 40, 0.4);
    transform: translateY(-1px);
    color: #FFFFFF;
}
.lg-btn-primary:active {
    transform: translateY(0);
}
.lg-btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ── Spinner ── */
.lg-spinner {
    display: inline-block;
    width: 15px;
    height: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #FFFFFF;
    border-radius: 50%;
    animation: lg-spin 0.6s linear infinite;
}
@keyframes lg-spin {
    to { transform: rotate(360deg); }
}

/* ── Divider ── */
.lg-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.25rem 0;
}
.lg-divider::before,
.lg-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #E5E7EB;
}
.lg-divider-text {
    font-size: 0.6875rem;
    color: #9CA3AF;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ── Social ── */
.lg-socials {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}
.lg-btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.6rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: inherit;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    background: #FAFAFA;
    color: #4B5563;
    cursor: pointer;
    transition: all 0.15s ease;
}
.lg-btn-social:hover {
    background: #FFFFFF;
    border-color: #DD7A28;
    color: #111827;
}
.lg-btn-social i {
    font-size: 0.85rem;
}

/* ── Footer link ── */
.lg-footer {
    text-align: center;
    font-size: 0.8125rem;
    color: #6B7280;
}
.lg-footer a {
    color: #DD7A28;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.15s ease;
}
.lg-footer a:hover {
    color: #c56820;
    text-decoration: underline;
}

/* ── Responsive ── */
@media (max-width: 480px) {
    .lg-page { padding: 1rem; }
    .lg-card { border-radius: 16px; }
    .lg-header { padding: 1.75rem 1.25rem 1rem; }
    .lg-body { padding: 1.25rem; }
}
