* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    height: 100vh;
    overflow: hidden;
}

.login-container {
    display: flex;
    height: 100vh;
    width: 100%;
}

/* ── Left Panel ── */
.login-left {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.bg-image {
    width: 130%;
    height: 100%;
    object-fit: cover;
}

.quote-overlay {
    position: absolute;
    bottom: 60px;
    left: 40px;
    right: 40px;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .5);
}

.quote-overlay blockquote {
    font-size: 1.35rem;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 8px;
}

.quote-overlay cite {
    font-size: .85rem;
    font-style: normal;
    opacity: .85;
}

/* ── Right Panel ── */
.login-right {
    width: 516px;
    min-width: 380px;
    display: flex;
    flex-direction: column;
    background: #fff;
    padding: 24px 40px 20px;
    position: relative;
    box-shadow: -4px 0 20px rgba(0, 0, 0, .08);
}

/* Language selector */
.language-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    align-self: flex-end;
    margin-bottom: 20px;
}

.flag-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e0e0e0;
    padding: 2px;
    background: #fff;
}

.language-selector select {
    font-family: 'Poppins', sans-serif;
    /* font-size: .88rem; */
    color: #555;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 6px 71px 6px 12px;
    background: #f7f7f7;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23999' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

/* Form wrapper */
.login-form-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
}

.logo-img {
    max-width: 400px;
    height: auto;
}

h1 {
    font-size: 20px;
    font-weight: 400;
    color: #333;
    margin-bottom: 28px;
}

/* Form */
.login-form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 18px;
    border: 1px solid #eee;
    border-radius: 22px;
    padding: 8px 16px 10px;
    background: #fff;
}

.form-group label {
    display: block;
    font-size: .6rem;
    font-weight: 600;
    color: #b3b3b3;
    letter-spacing: .5px;
    margin-bottom: 2px;
}

.form-group input {
    width: 100%;
    border: none;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    font-size: .85rem;
    color: #333;
    background: transparent;
}

.form-group input::placeholder {
    color: #c7c7c7;
}

.form-group input:focus {
    outline: none;
}

.form-group:focus-within {
    background: #f5f5f5;
    border-color: #ddd;
}

.forgot-password {
    text-align: right;
    margin-bottom: 20px;
}

.forgot-password a {
    font-size: .8rem;
    color: #3F51B5;
    text-decoration: none;
}

.forgot-password a:hover {
    text-decoration: underline;
}

/* Button */
.btn-login {
    background: #4CAF50;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: .9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background .2s, box-shadow .2s;
    width: fit-content;
    padding: 8px 24px;
}

.btn-login:hover {
    background: #43A047;
    box-shadow: 0 4px 12px rgba(76, 175, 80, .3);
}

/* Contact section */
.contact-section {
    margin-top: 28px;
}

.contact-section p {
    font-size: .78rem;
    color: #888;
    margin-bottom: 10px;
}

.contact-links {
    display: flex;
    gap: 16px;
    align-items: center;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    font-size: .82rem;
    font-weight: 500;
    color: #555;
}

.contact-link:hover {
    color: #333;
}

.contact-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Footer */
.footer-link {
    text-align: right;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.footer-link a {
    font-size: .78rem;
    color: #888;
    text-decoration: none;
}

.footer-link a:hover {
    color: #555;
    text-decoration: underline;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .login-container {
        flex-direction: column;
    }

    .login-left {
        height: 35vh;
    }

    .login-right {
        width: 100%;
        min-width: unset;
        flex: 1;
        padding: 20px 24px;
    }

    .quote-overlay blockquote {
        font-size: 1.05rem;
    }
}

@media (max-width: 480px) {
    .login-left {
        height: 25vh;
    }

    .quote-overlay {
        bottom: 20px;
        left: 20px;
        right: 20px;
    }

    .quote-overlay blockquote {
        font-size: .9rem;
    }

    .login-right {
        padding: 16px 20px;
    }

    .logo-img {
        max-width: 160px;
    }
}
