﻿/* --------------------------
   Overall Container
--------------------------- */
.login-container {
    display: flex;
    /*min-height: 100vh;*/
    /* A gradient background (adjust the colors as needed) */
    /*background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);*/
    align-items: center;
    justify-content: center;
    font-family: sans-serif;
    padding: 1rem;
}

/* --------------------------
   Left Panel: Login Form
--------------------------- */
.login-form-panel {
    background-color: #fff;
    /*width: 420px;*/ /* adjust as needed */
    margin: 2rem;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.login-form-content {
    width: 100%;
}

.icon-placeholder i {
    font-size: 64px;
    color: #8e44ad; /* or your desired color */
}

.login-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #333;
}

.login-subtitle {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 1.5rem;
}

/* Input groups / form styling */
.input-group {
    margin-bottom: 1rem;
    text-align: left;
}

    .input-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 500;
        color: #333;
    }

.form-control {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Remember Me checkbox styling (optional) */
.remember-me {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.form-check-input {
    margin-right: 0.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.65rem 1.2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: #8e44ad;
    color: #fff;
    transition: background-color 0.2s ease;
}

    .btn-primary:hover {
        background-color: #7a3795;
    }

.btn-secondary {
    background-color: #f4f4f4;
    color: #444;
    margin: 0.25rem;
    transition: background-color 0.2s ease;
}

    .btn-secondary:hover {
        background-color: #e0e0e0;
    }

.w-100 {
    width: 100%;
}

/* Forgot password link */
.forgot-password a {
    color: #8e44ad;
    text-decoration: none;
}

    .forgot-password a:hover {
        text-decoration: underline;
    }

/* External logins */
.external-logins {
    margin-top: 1.5rem;
}

/* --------------------------
   Right Panel: Illustration
--------------------------- */
.illustration-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem;
}

    .illustration-panel img,
    .illustration-panel svg {
        max-width: 50%;
        height: auto;
    }

/* --------------------------
   Responsive Adjustments
--------------------------- */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
    }

    .login-form-panel,
    .illustration-panel {
        margin: 1rem auto;
    }

        .illustration-panel img,
        .illustration-panel svg {
            max-width: 80%;
        }
}

@media (max-width: 480px) {
    .login-form-panel {
        padding: 1.5rem;
        margin: 1rem;
    }

    .login-title {
        font-size: 1.5rem;
    }

    .login-subtitle {
        font-size: 0.85rem;
    }
}

@keyframes fadeInBounce {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(-20px);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.05) translateY(10px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.illustration-panel img,
.illustration-panel svg {
    max-width: 50%;
    height: auto;
    animation: fadeInBounce 1s ease-in-out forwards;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

 