* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: 'Source Sans Pro', sans-serif;
    background-color: #f3f4f6;
    height: 100vh !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    animation: fadeInBody 0.8s ease-in;
}
@keyframes fadeInBody {
    from { opacity: 0; }
    to { opacity: 1; }
}
.login-panel {
    background: #ffffff;
    border-radius: 12px;
    padding: 0;
    width: 95%;
    max-width: 850px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: slideIn 0.6s ease forwards;
    transform: translateY(20px);
    opacity: 0;
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: row;
    min-height: auto;
}

.login-panel:hover {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

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

.left-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    background-color: #e0f2fe;
    border-right: 1px solid #b0e0e6;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    height: auto;
    overflow: hidden;
    position: relative;
}

.login-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.left-section h2{
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.85rem;
    color: #003366;
    font-weight: 700;
    text-align: center;
    padding: 3rem;
    position: relative;
    z-index: 2;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.left-section p{
    color: #4a5568;
    font-size: 1.1rem;
    text-align: center;
    line-height: 1.7;
    margin-bottom: 0;
    padding: 0 3rem;
    position: relative;
    z-index: 2;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
}

.right-section {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

.login-panel h2 {
    margin: 0.5rem 0 1.25rem;
    text-align: center;
    font-size: 2.25rem;
    color: #003366;
    font-weight: 700;
}

.login-panel p {
    text-align: center;
    font-size: 1.1rem;
    color: #667080;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: #2d3748;
    font-weight: 600;
    transition: color 0.2s ease;
}

.form-group label:hover {
    color: #00509e;
}

.form-group input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    color: #2c3e50;
    font-size: 1.05rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus {
    border-color: #00509e;
    box-shadow: 0 0 0 3px rgba(0, 80, 158, 0.15);
}

.toggle-password {
    position: absolute;
    right: 18px;
    top: 52px;
    cursor: pointer;
    color: #9ca3af;
    font-size: 1.1rem;
    transition: color 0.2s ease;
}

.toggle-password:hover {
    color: #00509e;
}

.remember-me-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 2rem;
}

.remember-me-forgot label {
    color: #2d3748;
    font-weight: 500;
}

.remember-me-forgot a {
    color: #00509e;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.remember-me-forgot a:hover {
    text-decoration: underline;
    color: #003366;
}

.login-btn {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    background-color: #00509e;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
}

.login-btn:hover {
    background-color: #003366;
    transform: scale(1.02);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.login-btn:active {
    transform: scale(1);
    box-shadow: none;
}

.footer-links {
    text-align: center;
    font-size: 0.85rem;
    color: #a0aec0;
    margin-top: 2.5rem;
}

.left-section .footer-links{
    position: absolute;
    bottom: 0;
    left: 0;
    text-align: left;
    padding: 1.5rem 2rem;
    z-index: 2;
}

.left-section .footer-links p{
    font-size: 0.8rem;
    color: #fff;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 1rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    text-decoration: underline;
    color: #003366;
}

@media (max-width: 768px) {
    .login-panel {
        flex-direction: column;
    }

    .left-section {
        border-right: none;
        border-bottom-left-radius: 0;
        border-top-right-radius: 12px;
    }

    .right-section {
        border-top-left-radius: 0;
        border-bottom-right-radius: 12px;
    }
    .login-logo{
        height: 300px;
        object-fit: cover;
    }
}
@media (max-width: 480px){
    .left-section h2{
        font-size: 1.5rem;
        padding: 2rem;
    }
    .left-section p{
        font-size: 0.9rem;
        padding: 1.5rem;
    }
    .right-section{
        padding: 1.5rem;
    }
    .login-panel h2{
        font-size: 2rem;
    }
    .login-panel p{
        font-size: 1rem;
    }
    .form-group {
        margin-bottom: 1.75rem;
    }
    .remember-me-forgot{
        font-size: 0.85rem;
    }
}

/* Popup Styles */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.popup-content {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transform: translateY(-20px);
    opacity: 0;
    animation: fadeInPopup 0.3s ease forwards;
}

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

.popup-content h2 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: #003366;
}

.popup-content p {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #4a5568;
}

.popup-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.popup-btn {
    padding: 0.8rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    display: flex; /* Use flexbox for icon alignment */
    align-items: center; /* Vertically center icon and text */
    justify-content: center; /* horizontally center icon and text */
    gap: 0.5rem; /* Space between icon and text */
}

.popup-btn.email {
    background-color: #e0f7fa;
    color: #00897b;
}
.popup-btn.email:hover {
     background-color: #b2ebf2;
}

.popup-btn.call {
    background-color: #f0f4c3;
    color: #7cb342;
}

.popup-btn.call:hover {
    background-color: #d4e157;
}

.popup-btn.whatsapp {
    background-color: #e0f2fe;
    color: #00867d;
}

.popup-btn.whatsapp:hover {
    background-color: #b2dfdb;
}

.popup-close {
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    background-color: #e2e8f0;
    color: #2d3748;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.popup-close:hover {
    background-color: #cbd5e0;
    color: #2d3748;
}

/* Minimal Popup Styles */
.popup.minimal .popup-content {
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.popup.minimal .popup-content h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #003366;
}

.popup.minimal .popup-content p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    color: #4a5568;
}

.popup.minimal .popup-buttons {
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
    margin-top: 0;
}

.popup.minimal .popup-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    border-radius: 6px;
}

.popup.minimal .popup-btn.email {
    background-color: #e0f7fa;
    color: #00897b;
}
.popup.minimal .popup-btn.email:hover {
     background-color: #b2ebf2;
}

.popup.minimal .popup-btn.call {
    background-color: #f0f4c3;
    color: #7cb342;
}

.popup.minimal .popup-btn.call:hover {
    background-color: #d4e157;
}

.popup.minimal .popup-btn.whatsapp {
    background-color: #e0f2fe;
    color: #00867d;
}

.popup.minimal .popup-btn.whatsapp:hover {
    background-color: #b2dfdb;
}

.popup.minimal .popup-close {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border-radius: 6px;
}
.login_a a:hover{text-decoration: underline; color: #fff;}