* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f5f5f5;
}

.header {
    display: flex;
    flex-direction: column;
}

.header-top {
    background-color: #002d67;
    height: 50px;
    width: 100%;
}

.header-bottom {
    background-color: #ffffff;
    min-height: 70px;
    padding: 5px 20px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.logo-container {
    display: flex;
    align-items: center;
    margin-left: 45px;
}

.logo {
    height: 35px;
    width: auto;
    max-width: 200px;
}

main {
    padding: 5px 20px;
    background-color: #f5f5f5;
}

/* Login Page */
.container {
    display: flex;
    min-height: calc(100vh - 150px);
    background-color: #f5f5f5;
    gap: 40px;
}

.login-section {
    width: 100%;
    max-width: 620px;
    padding: 25px 20px;
    margin-left: 40px;
}

.image-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px 20px;
    padding-right: 40px;
}

.image-card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), -2px 0 4px rgba(0, 0, 0, 0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.side-image {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 350px;
}

.image-title {
    color: #000000;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

.image-description {
    color: #666666;
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
}

.image-link {
    color: #0066cc;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease;
    align-self: flex-end;
}

.image-link:hover {
    color: #002d67;
}

.image-section-mobile {
    display: none;
}


/* Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-box {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.modal-message {
    color: #d32f2f;
    font-size: 16px;
    text-align: center;
    margin: 0;
    line-height: 1.6;
}

.login-box {
    background-color: #ffffff;
    padding: 30px 50px 50px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), -2px 0 4px rgba(0, 0, 0, 0.05);
}

.login-box h1 {
    color: #002d67;
    font-size: 34px;
    margin-bottom: 15px;
    font-weight: 600;
}

.welcome-text {
    color: #000000;
    font-size: 14px;
    margin-bottom: 25px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.login-tabs {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 25px;
}

.tab-button {
    background: none;
    border: none;
    padding: 12px 0;
    margin-right: 20px;
    color: #666;
    font-size: 13px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.tab-button.active {
    color: #002d67;
    border-bottom-color: #002d67;
    font-weight: 500;
}

.tab-button:hover {
    color: #002d67;
}

.login-form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-input {
    width: 100%;
    padding: 18px 15px;
    border: 1px solid #000000;
    border-radius: 4px;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #002d67;
    box-shadow: 0 0 4px rgba(0, 45, 103, 0.2);
}

.password-group {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eye-icon {
    width: 20px;
    height: 20px;
    color: #666;
    transition: color 0.3s ease;
}

.password-toggle:hover .eye-icon {
    color: #002d67;
}

.forgot-pin {
    text-align: right;
    margin-bottom: 25px;
}

.forgot-pin a {
    color: #0066cc;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.forgot-pin a:hover {
    color: #002d67;
    text-decoration: underline;
}

.form-buttons {
    display: flex;
    gap: 15px;
    justify-content: space-between;
}

.btn {
    padding: 10px 38px;
    border: none;
    border-radius: 25px;
    font-size: 13px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 165px;
}

.btn-cancel {
    background-color: #ffffff;
    color: #002d67;
    border: 2px solid #002d67;
    font-weight: 400;
}

.btn-cancel:hover {
    background-color: #f0f0f0;
}

.btn-login {
    background-color: #0066cc;
    color: #ffffff;
    font-weight: 600;
    font-size: 13px;
}

.btn-login:hover {
    background-color: #002d67;
}

.btn-login:active {
    transform: scale(0.98);
}

/* Info Section */
.info-section {
    width: 100%;
    max-width: 620px;
    padding: 25px 20px;
    margin-left: 40px;
    background-color: #f5f5f5;
}

.info-box {
    background-color: #ffffff;
    padding: 30px 50px 30px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), -2px 0 4px rgba(0, 0, 0, 0.05);
}

.info-box h2 {
    color: #000000;
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 600;
}

.info-box ul {
    list-style: disc;
    margin-left: 20px;
}

.info-box li {
    color: #333333;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.info-box strong {
    color: #333333;
    font-weight: 600;
}

.info-box p {
    color: #333333;
    font-size: 14px;
    margin: 10px 0;
    line-height: 1.6;
}

.info-link {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-link:hover {
    color: #002d67;
    text-decoration: underline;
}

/* Loading Message */
.loading-message {
    display: none;
    margin-top: 25px;
    padding: 20px;
    background-color: #f0f4f8;
    border-left: 4px solid #0066cc;
    border-radius: 4px;
    text-align: center;
}

.loading-message.active {
    display: block;
}

.loading-message p {
    color: #333333;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}


/* Footer */
footer {
    background-color: #002d67;
    color: #ffffff;
    margin-top: 40px;
}

.footer-top {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    gap: 20px;
}

.footer-nav {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.footer-nav a:hover {
    opacity: 0.8;
}

.separator {
    color: rgba(255, 255, 255, 0.5);
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
}

.flag {
    font-size: 20px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    line-height: 1;
    clip-path: circle(50%);
}

.flag-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.language-selector a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.language-selector a:hover {
    opacity: 0.8;
}

.dropdown {
    font-size: 10px;
    margin-left: 5px;
}

.footer-middle {
    padding: 20px 40px;
    background-color: #ffffff;
}

.footer-text {
    color: #333333;
    font-size: 12px;
    text-align: center;
    line-height: 1.6;
    margin: 0;
}

.footer-bottom {
    padding: 30px 40px;
    background-color: #ffffff;
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 25px;
    align-items: center;
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.logo-item:nth-child(9) {
    grid-column: 4 / 5;
}

.logo-item:nth-child(10) {
    grid-column: 5 / 6;
}

.logo-item:hover {
    opacity: 0.7;
}

.logo-item img {
    max-height: 50px;
    max-width: 100px;
    width: auto;
    object-fit: contain;
}
