/* Page Layout */
body {
    font-family: Arial, sans-serif;
    background: #f3f6fb;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

/* Main Container */
.container {
    width: 900px;
    display: flex;
    flex-direction: row;
    gap: 0;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* Left Panel */
.left-side {
    flex: 1;
    background: linear-gradient(180deg, #2b2e83, #233066);
    color: white;
    padding: 40px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.left-side img {
    width: 130px;
    margin-bottom: 18px;
}

.left-side h2 {
    margin: 0;
    font-size: 1.8rem;
}

/* Right Panel Form */
.right-side {
    flex: 1;
    padding: 40px 35px;
}

.form-box h2 {
    margin-top: 0;
    font-size: 1.6rem;
    color: #111827;
}

.form-message {
    padding: 12px;
    background: #fff3cd;
    border: 1px solid #ffe8a1;
    color: #665b00;
    border-radius: 6px;
    margin-bottom: 12px;
}

/* ALL INPUTS */
form input,
form select {
    width: 100%;
    padding: 12px 14px;
    margin-top: 6px;
    margin-bottom: 18px;  /* MORE spacing -> no overlap */
    border-radius: 8px;
    border: 1px solid #cfd8e3;
    font-size: 15px;
    box-sizing: border-box;
}

/* Row Group (Contact + ID Number) */
.form-row {
    display: flex;
    gap: 20px;
    width: 100%;
}

.form-row > div {
    flex: 1;
}

/* Button */
button {
    width: 100%;
    padding: 14px;
    background: #2b2e83;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 5px;
    transition: 0.2s;
}

button:hover {
    background: #1d2166;
}

/* Login Link */
.login-link {
    margin-top: 12px;
    color: #6b7280;
}

/* RESPONSIVE FIX — prevents overlap on smaller screens */
@media (max-width: 820px) {
    .container {
        width: 92%;
        flex-direction: column;
    }
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}
