﻿.auth-page {
    min-height: calc(100vh - 140px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(2rem, 6vw, 4rem) 1rem;
}

.auth-card {
    width: min(420px, 100%);
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
    padding: 2rem;
}

.auth-card .card-title {
    margin-bottom: 1.5rem;
    text-align: center;
}

.auth-card .form-control {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.auth-card .form-control:focus {
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.15);
}

.profile-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 1.5rem;
}

.profile-sidebar,
.profile-content .content-card,
.table-card {
    backdrop-filter: blur(6px);
}

.profile-sidebar {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 1.5rem;
}

.profile-content .content-card {
    background: rgba(10, 15, 26, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.4);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-badge.available {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
}

.status-badge.待装机 {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.status-badge.租赁中 {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
}

.expiration-date {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
}

.expiration-date.expired {
    background: rgba(239, 68, 68, 0.18);
    color: #f87171;
}

.expiration-date.warning {
    background: rgba(251, 191, 36, 0.18);
    color: #fbbf24;
}

.expiration-date.normal {
    background: rgba(16, 185, 129, 0.18);
    color: #34d399;
}

.empty-state .btn-primary {
    padding-inline: 1.75rem;
}

.validation-summary-errors {
    display: none;
    background: rgba(248, 113, 113, 0.15);
    border: 1px solid rgba(248, 113, 113, 0.3);
    border-radius: 8px;
    padding: 0.85rem;
    margin-bottom: 1rem;
    color: #f87171;
}

.validation-summary-errors.show {
    display: block;
}

@media (max-width: 992px) {
    .profile-layout {
        grid-template-columns: 1fr;
    }

    .profile-sidebar {
        position: static;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .auth-card {
        padding: 1.5rem;
    }
}
