/* Glassmorphism & Layout */
@keyframes spFadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.superpet-auth-container {
    padding: 2.5rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    max-width: 480px;
    /* Reduced width for elegance */
    margin: 40px auto;
    font-family: 'Outfit', sans-serif;
    animation: spFadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.superpet-auth-container h2 {
    margin-bottom: 2rem;
    font-weight: 800;
    text-align: center;
    color: #2d3436;
    letter-spacing: -0.5px;
}

.superpet-form .form-group {
    margin-bottom: 1.25rem;
    position: relative;
}

.superpet-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #636e72;
    transition: color 0.3s;
}

.superpet-form input,
.superpet-form select,
.superpet-form textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 2px solid transparent;
    background: #f1f2f6;
    color: #2d3436;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.superpet-form input:focus,
.superpet-form select:focus,
.superpet-form textarea:focus {
    outline: none;
    background: #ffffff;
    border-color: #6c5ce7;
    /* Primary */
    box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.15);
    transform: translateY(-1px);
}

.superpet-form input::placeholder,
.superpet-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Form Row for 2 columns */
.form-row {
    display: flex;
    gap: 1rem;
}

.form-group.half {
    flex: 1;
}

.superpet-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 1.5rem;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
    position: relative;
    overflow: hidden;
}

.superpet-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(108, 92, 231, 0.4);
}

.superpet-btn:active {
    transform: translateY(-1px);
}

.form-message {
    margin-top: 1.5rem;
    padding: 10px;
    text-align: center;
    font-size: 0.95rem;
    min-height: 20px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s;
}

.form-message.success {
    background: rgba(0, 184, 148, 0.1);
    color: #00b894;
    border: 1px solid rgba(0, 184, 148, 0.2);
}

.form-message.error {
    background: rgba(214, 48, 49, 0.1);
    color: #d63031;
    border: 1px solid rgba(214, 48, 49, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}