﻿/* Transparent frosted glass card */
.card {
    background: rgba(255, 255, 255, 0.3); /* more transparent */
    backdrop-filter: blur(12px); /* stronger blur for glass effect */
    -webkit-backdrop-filter: blur(12px); /* Safari support */
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

    /* Slight glow and opacity change on hover */
    .card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
        background: rgba(255, 255, 255, 0.6); /* slightly less transparent on hover */
    }

/* Dark mode adjustments */
@media (prefers-color-scheme: dark) {
    .card {
        background: rgba(30, 41, 59, 0.3);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        color: #e2e8f0;
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    }

        .card:hover {
            background: rgba(30, 41, 59, 0.6);
        }

    .form-control {
        background-color: rgba(30, 41, 59, 0.4);
        border-color: #334155;
        color: #e2e8f0;
    }

        .form-control:focus {
            border-color: #3b82f6;
            box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25);
            background: rgba(30, 41, 59, 0.6);
        }
}

/* Inputs - slightly transparent */
.form-control {
    border-radius: 0.75rem;
    border: 1px solid rgba(209, 213, 219, 0.4);
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.2s ease-in-out;
}

    .form-control:focus {
        border-color: #3b82f6;
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
        background: rgba(255, 255, 255, 0.6);
    }

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #2563eb, #1e3a8a);
    border: none;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

    .btn-primary:hover {
        background: linear-gradient(135deg, #1e40af, #1d4ed8);
        transform: translateY(-2px);
    }

/* Optional subtle card decoration */
.card svg {
    position: absolute;
    top: -20px;
    right: -40px;
    opacity: 0.05;
    width: 300px;
    height: auto;
}

/* Make both light and dark logos larger */
.auth-brand .logo-dark img,
.auth-brand .logo-light img {
    width: 100%;
    max-width: 220px;
    height: auto;
    transition: all 0.3s ease-in-out;
}

/* Optional: subtle hover animation */
.auth-brand a:hover img {
    transform: scale(1.05);
}

/* Adjust description text */
.auth-brand p {
    max-width: 400px;
    margin: 1.5rem auto 0;
    font-size: 0.95rem;
    color: #6c757d;
}