/* RESET */
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: #222;
}

/* HEADER */
.header {
    position: relative;
    height: 90px;
    background: #ffffff;
}

.logo {
    position: absolute;
    left: 20px;
    top: 10px;
    z-index: 2;
}

.logo img {
    height: 70px;
}

/* Slanted blue band */
.header-slope {
    position: absolute;
    top: 0;
    left: 120px;
    width: 60%;
    height: 90px;
    background: #4f57c2;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
}

/* MAIN LAYOUT */
.main {
    display: flex;
    min-height: calc(100vh - 90px);
}

/* LEFT PANEL */
.left-panel {
    width: 70%;
    padding: 30px 40px;
}

.left-panel h2 {
    color: #4f57c2;
    font-size: 22px;
    margin-bottom: 20px;
}

/* TABLE */
.event-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.event-table th {
    background: #e3edf5;
    padding: 10px;
    text-align: left;
    font-size: 14px;
}

.event-table td {
    padding: 10px;
    border-bottom: 1px solid #dcdcdc;
    font-size: 14px;
}

/* TEXT */
.disclaimer {
    font-size: 13px;
    line-height: 1.5;
}

.browser {
    margin-top: 10px;
    font-size: 12px;
    color: red;
}

/* RIGHT PANEL */
.right-panel {
    width: 30%;
    background: #4f57c2;
    padding: 30px;
}

/* LOGIN BOX */
.login-box {
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
}

.btn-register {
    width: 100%;
    background: #ffc107;
    border: none;
    padding: 12px;
    font-size: 15px;
    font-weight: bold;
    border-radius: 25px;
    cursor: pointer;
}

.btn-login {
    width: 100%;
    margin-top: 15px;
    background: #ffffff;
    border: 2px solid #4f57c2;
    color: #4f57c2;
    padding: 12px;
    font-size: 14px;
    border-radius: 25px;
    cursor: pointer;
}

/* REFERENCE */
.reference-box {
    margin-top: 30px;
    color: #ffffff;
}

.reference-box h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.reference-box ul {
    list-style: none;
    padding: 0;
}

.reference-box li {
    padding: 8px 0;
    font-size: 14px;
    cursor: pointer;
}


/* ================= MODAL OVERLAY ================= */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 9999;
}


.modal-box .small-input { 
	width: 70%; 
/* or 60%, depending on how compact you want */ 
}
/* ================= MODAL BOX ================= */
.modal-box {
    width: 700px;       /* wider */
    height: 550px;      /* fixed height */
    background: #fff;
    margin: 5% auto;
    border-radius: 6px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    padding: 30px;
}


/* Captcha row styling */
.captcha-row {
    display: flex;
    align-items: center;
    gap: 10px;          /* spacing between input, image, refresh */
    margin-top: 10px;
}

.captcha-row input {
    flex: 1;            /* input takes available space */
}

.captcha-row img {
    height: 40px;       /* fixed height for captcha image */
    border: 1px solid #ccc;
    border-radius: 4px;
}

.captcha-row .refresh {
    cursor: pointer;
    font-size: 20px;
    color: #007bff;
}


/* HEADER */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 18px;
}

.close-btn {
    font-size: 22px;
    cursor: pointer;
}

/* TEXT */
.modal-subtext {
    font-size: 12px;
    color: #555;
    margin-bottom: 15px;
}

/* FORM */
.modal-box label {
    font-size: 14px;
    margin-top: 10px;
    display: block;
}

.modal-box input {
    width: 90%;
    padding: 10px;
    border: 1px solid #cfd6e0;
    border-radius: 4px;
    margin-top: 5px;
    background: #eef4ff;
}

.forgot {
    display: block;
    text-align: right;
    font-size: 13px;
    margin: 5px 0 10px;
    color: #3f51b5;
}

/* CAPTCHA */
.captcha-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.captcha-row img {
    height: 38px;
    border: 1px solid #ccc;
}

.refresh {
    cursor: pointer;
    font-size: 18px;
}

/* FOOTER */
.modal-footer {
    text-align: right;
    margin-top: 20px;
}

.btn-close {
    background: #6c757d;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
}

.btn-submit {
    background: #3f51b5;
    color: #fff;
    border: none;
    padding: 8px 18px;
    border-radius: 4px;
    cursor: pointer;
}
