.auth-form {
    height: 100%;
    transition: all 0.3s ease;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 2rem;
}

.auth-form:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.title-form {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.title-form::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 25%;
    width: 50%;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

.form-label {
    font-weight: 500;
    color: #555;
    margin-bottom: 0.5rem;
}

.form-control {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(var(--primary-color-rgb), 0.1);
}

.btn-submit {
    width: 100%;
    padding: 0.875rem;
    font-weight: 600;
    border-radius: 8px;
    background-color: var(--primary-color);
    border: none;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-submit:hover {
    background-color: var(--primary-color-dark);
    transform: translateY(-2px);
}

.social-login {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.social-login p {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-align: center;
}

.btn-outline-primary,
.btn-outline-info {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: #4267B2;
    color: white;
}

.btn-outline-info:hover {
    background-color: #1DA1F2;
    color: white;
}

.form-check-label,
.text-decoration-none {
    color: #666;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.text-decoration-none:hover {
    color: var(--primary-color);
}

.was-validated .form-control:invalid {
    border-color: #dc3545;
}

.was-validated .form-control:invalid:focus {
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.1);
}

/* 新增按钮对齐样式 */
.auth-form .card-body {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.auth-form form {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.auth-form .btn-submit-container {
    margin-top: auto;
    padding-top: 1.5rem;
}

.btn-submit {
    width: 100%;
    padding: 0.875rem;
    font-weight: 600;
    border-radius: 8px;
    background-color: var(--primary-color);
    border: none;
    transition: all 0.3s ease;
}
@media (max-width: 768px) {
    .mobile-cart-icon {
        display: none !important;
    }
}
