.auth-container {
    max-width: 420px;
    margin: 3rem auto;
}

.auth-card {
    border-radius: 1rem;
    border: none;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.08);
}

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

.auth-tabs {
    display: flex;
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 1.5rem;
}

.auth-tab {
    flex: 1;
    text-align: center;
    padding: 0.75rem 0;
    cursor: pointer;
    font-weight: 600;
    color: #6c757d;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color 0.2s, border-color 0.2s;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    font-size: 1rem;
}

.auth-tab:hover {
    color: #1a73e8;
}

.auth-tab.active {
    color: #1a73e8;
    border-bottom-color: #1a73e8;
}

.auth-form .form-label {
    font-weight: 500;
    font-size: 0.875rem;
    color: #495057;
}

.auth-form .form-control {
    border-radius: 0.5rem;
    padding: 0.6rem 0.9rem;
}

.auth-form .form-control:focus {
    border-color: #1a73e8;
    box-shadow: 0 0 0 0.15rem rgba(26, 115, 232, 0.15);
}

.code-input-group {
    display: flex;
    gap: 0.5rem;
}

.code-input-group .form-control {
    flex: 1;
}

.code-input-group .btn {
    white-space: nowrap;
    min-width: 120px;
}

.btn-auth {
    width: 100%;
    padding: 0.65rem;
    font-weight: 600;
    border-radius: 0.5rem;
    background-color: #1a73e8;
    border-color: #1a73e8;
}

.btn-auth:hover {
    background-color: #1557b0;
    border-color: #1557b0;
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    color: #adb5bd;
    font-size: 0.8rem;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #dee2e6;
}

.auth-divider::before {
    margin-right: 0.75rem;
}

.auth-divider::after {
    margin-left: 0.75rem;
}

.auth-social {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn-wechat {
    background-color: #07c160;
    border-color: #07c160;
    color: #fff;
    width: 100%;
    padding: 0.55rem;
    border-radius: 0.5rem;
    font-weight: 500;
}

.btn-wechat:hover {
    background-color: #06ad56;
    color: #fff;
}

.btn-phone {
    background-color: #ff8c00;
    border-color: #ff8c00;
    color: #fff;
    width: 100%;
    padding: 0.55rem;
    border-radius: 0.5rem;
    font-weight: 500;
}

.btn-phone:hover {
    background-color: #e07b00;
    color: #fff;
}

.auth-social .disabled-overlay {
    position: relative;
    opacity: 0.6;
    cursor: not-allowed;
}

.auth-social .disabled-overlay .coming-soon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.7rem;
    background: rgba(0, 0, 0, 0.15);
    padding: 2px 6px;
    border-radius: 4px;
}

.auth-msg {
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: none;
}

.auth-msg.show {
    display: block;
}

.auth-msg.error {
    color: #dc3545;
}

.auth-msg.success {
    color: #28a745;
}

.nav-user-dropdown {
    cursor: pointer;
}

.nav-user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #dee2e6;
}

.nav-user-avatar-default {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #1a73e8;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.auth-bottom-link {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: #6c757d;
}

.auth-bottom-link a {
    color: #1a73e8;
    text-decoration: none;
    font-weight: 500;
}

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