/* Premium Auth Modal Styles */
.auth-modal-content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    background: #fff;
}

.auth-header {
    background: linear-gradient(135deg, #e91e63 0%, #ad1457 100%);
    padding: 30px 25px;
    position: relative;
    color: white;
    text-align: center;
}

.auth-title {
    font-weight: 800;
    margin: 0;
    font-size: 1.8rem;
    letter-spacing: -0.5px;
}

.auth-subtitle {
    margin-top: 5px;
    margin-bottom: 0;
    opacity: 0.9;
    font-weight: 400;
    font-size: 0.95rem;
}

.btn-close-white {
    position: absolute;
    right: 20px;
    top: 20px;
    filter: invert(1) grayscale(100%) brightness(200%);
    opacity: 0.8;
}

.auth-body {
    padding: 30px;
}

.auth-tabs-container {
    background: #f1f3f5;
    padding: 5px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.auth-tabs .nav-link {
    border-radius: 8px;
    padding: 10px 15px;
    color: #6c757d;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.auth-tabs .nav-link.active {
    background: white;
    color: #e91e63;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.auth-input {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding-left: 15px;
    font-size: 1rem;
    transition: all 0.3s;
}

.auth-input:focus {
    border-color: #e91e63;
    box-shadow: 0 0 0 4px rgba(233, 30, 99, 0.1);
}

.form-floating>label {
    padding-left: 15px;
    color: #adb5bd;
}

.btn-primary-premium {
    background: linear-gradient(135deg, #e91e63 0%, #ad1457 100%);
    border: none;
    border-radius: 12px;
    padding: 14px;
    font-weight: 700;
    font-size: 1rem;
    color: white;
    transition: transform 0.2s, box-shadow 0.2s;
    letter-spacing: 0.5px;
}

.btn-primary-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(233, 30, 99, 0.3);
    color: white;
}

.btn-success-premium {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border: none;
    border-radius: 12px;
    padding: 14px;
    font-weight: 700;
    font-size: 1rem;
    color: white;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-success-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 172, 254, 0.4);
    color: white;
}

.btn-google-premium {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 12px;
    font-weight: 600;
    color: #343a40;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
}

.btn-google-premium:hover {
    border-color: #e9e9e9;
    background: #f8f9fa;
    transform: translateY(-1px);
}

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
    padding-left: 15px;
    font-weight: 500;
}

.auth-input.is-invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5zM6 8.2af.75.75 0 000 1.5.75.75 0 000-1.5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.auth-input.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

.btn-google-premium img {
    height: 20px;
}

.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e9ecef;
}

.auth-divider span {
    padding: 0 10px;
    color: #adb5bd;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
}

.otp-field {
    letter-spacing: 0.5em;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-pane.active {
    animation: slideInUp 0.3s ease-out forwards;
}

.password-toggle-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #adb5bd;
    z-index: 5;
    padding: 0;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.password-toggle-btn:hover {
    color: #e91e63;
}

/* Ensure text doesn't overlap with the eye icon */
.auth-input[type="password"],
.auth-input[type="text"] {
    padding-right: 45px;
}