﻿<style >
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



body {
    font-family: 'Roboto', Arial, sans-serif;
    background-color: #f5f7fa;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    color: #333;
}

/* Header */
.header {
    background-color: #fff;
    border-bottom: 3px solid #2a6f97;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
    text-align: center;
    flex-shrink: 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.emblem {
    height: 70px;
    margin-right: 15px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #2a6f97;
    text-align: center;
}

.logo-subtext {
    font-size: 16px;
    color: #555;
    margin-top: 5px;
    text-align: center;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
    background-color: #f5f7fa;
    overflow-y: auto;
}

.center-container {
    display: flex;
    max-width: 1000px;
    width: 100%;
    height: auto;
    min-height: 400px;
    max-height: calc(100vh - 200px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #dee2e6;
    margin: 10px 0;
}

/* Left Side - Login */
.login-section {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-header {
    margin-bottom: 25px;
    text-align: center;
}

    .login-header h2 {
        font-size: 28px;
        font-weight: 700;
        color: #1a1a1a;
        margin-bottom: 10px;
        text-align: center;
        width: 100%;
    }

    .login-header p {
        color: #555;
        font-size: 15px;
        text-align: center;
    }

.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #444;
    font-size: 15px;
}

.form-control {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 15px;
    transition: all 0.3s;
}

    .form-control:focus {
        outline: none;
        border-color: #2a6f97;
        box-shadow: 0 0 0 3px rgba(42, 111, 151, 0.1);
    }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: #0d6efd;
    border: none;
    border-radius: 999px; /* pill */
    box-shadow: 0 6px 18px rgba(42,111,151,0.18);
    cursor: pointer;
    transition: transform .08s ease, box-shadow .12s ease, opacity .12s;
    text-align: center;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

    .btn:active {
        transform: translateY(1px);
        box-shadow: 0 4px 12px rgba(42,111,151,0.14);
    }

    /* hover */
    .btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 10px 26px rgba(42,111,151,0.2);
    }

    /* focus for keyboard users */
    .btn:focus {
        outline: 3px solid rgba(42,111,151,0.18);
        outline-offset: 2px;
    }

    /* disabled state */
    .btn:disabled {
        opacity: .7;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }

    /* small inline spinner */
    .btn .spinner {
        width: 16px;
        height: 16px;
        border: 2px solid rgba(255,255,255,0.55);
        border-top-color: #ffffff;
        border-radius: 50%;
        animation: spin .8s linear infinite;
        visibility: hidden;
        margin-left: 6px;
    }

        /* show when loading */
        .btn .spinner.visible {
            visibility: visible;
        }

    /* accessible text chunk */
    .btn .btn-text {
        display: inline-block;
    }

/* spinner keyframes */
@@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

}

.error {
    color: #d62828;
    font-size: 14px;
    margin-top: 15px;
    text-align: center;
}

/* Right Side - ECI Image */
.image-section {
    flex: 1;
    background: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-left: 1px solid #dee2e6;
}

.eci-image {
    width: 300px;
    height: 300px;
    object-fit: contain;
    background-color: transparent;
}

/* Footer */
.footer {
    background: #2a6f97;
    color: white;
    padding: 12px 0;
    text-align: center;
    font-size: 14px;
    flex-shrink: 0;
}

/* CAPTCHA */
.captcha-container {
    margin: 20px 0;
    padding: 15px;
    background: #f0f7ff;
    border-radius: 4px;
    border: 1px solid #dee2e6;
    text-align: center;
}

    .captcha-container input {
        margin-top: 12px;
        text-align: center;
    }

.field-validation-error {
    color: #d62828;
    font-size: 13px;
    display: block;
    margin-top: 6px;
    text-align: center;
}

</style >
