/* ===============================
   GLOBAL RESET & BASE
================================ */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f4f4;
    color: #000;
}


/* ===============================
   HEADER (IMAGE ONLY)
================================ */
.header {
    background: url("https://i.ibb.co/YB4dhFnJ/SJCEM.jpg") center/contain no-repeat;
    background-color: #ffffff;
    height: 150px;
    border-bottom: 1px solid #ddd;
}

/* Header text block */
.header-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Keep text minimal so image stays dominant */
.header-content h1 {
    font-size: 0;   /* hides text but keeps semantics */
}

.header-content p {
    display: none;
}

/* ===============================
   LAYOUT
================================ */
.container {
    display: flex;
    justify-content: center;
    padding: 30px 10px;
}

/* ===============================
   RESULT SEARCH CARD
================================ */
.result-box {
    background: #ffffff;
    width: 420px;
    padding: 28px 30px;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.result-box h2 {
    margin: 0 0 18px 0;
    text-align: center;
    font-size: 20px;
}

/* Labels */
.result-box label {
    display: block;
    margin-top: 14px;
    font-size: 14px;
    font-weight: 600;
}

/* Inputs & Select */
.result-box input,
.result-box select {
    width: 100%;
    height: 38px;
    margin-top: 6px;
    padding: 6px 10px;
    font-size: 14px;
    border: 1px solid #bdbdbd;
    border-radius: 3px;
}

.result-box input:focus,
.result-box select:focus {
    outline: none;
    border-color: #0b5ed7;
}

/* ===============================
   CAPTCHA
================================ */
.captcha-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

#captchaText {
    min-width: 90px;
    text-align: center;
    background: #f2f2f2;
    padding: 8px 14px;
    font-weight: bold;
    letter-spacing: 2px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.captcha-row button {
    width: 42px;
    height: 38px;
    background: #f5b400;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 16px;
}

/* ===============================
   BUTTONS
================================ */
button {
    margin-top: 22px;
    width: 100%;
    height: 42px;
    background: #f5b400;
    border: none;
    border-radius: 3px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
}

button:hover {
    background: #e0a800;
}

/* ===============================
   ERROR MESSAGE
================================ */
.error {
    margin-top: 12px;
    font-size: 13px;
    color: #c0392b;
    text-align: center;
}

/* ===============================
   MARKSHEET (RESULT PAGE)
================================ */
.marksheet {
    background: #ffffff;
    padding: 20px;
    width: 95%;
    border: 1px solid #ccc;
}

/* Tables */
.info-table,
.marks-table,
.summary-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.info-table td,
.marks-table th,
.marks-table td,
.summary-table td {
    border: 1px solid #000;
    padding: 6px;
    text-align: center;
}

.marks-table th {
    background: #f0f0f0;
}

/* Result Status */
.result-status {
    text-align: center;
    font-weight: bold;
    padding: 10px;
}

.result-status.pass {
    color: green;
}

.result-status.fail {
    color: red;
}

/* ===============================
   INSTRUCTIONS
================================ */
.instructions {
    font-size: 13px;
    margin-top: 20px;
}
