﻿/* =====================================
   EXAM QUESTIONS UPLOAD FORM
   STYLE SHEET
===================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{

    font-family:Arial, Helvetica, sans-serif;

    background:#ffffff;

    color:#333;

    line-height:1.6;
}


/* ===========================
   CONTAINER
=========================== */

.container{

    width:95%;
    max-width:1000px;

    margin:40px auto;
}


/* ===========================
   HEADER
=========================== */

.header{

    background:#ffffff;

    padding:40px;

    text-align:center;

    border-radius:15px;

    box-shadow:
    0 10px 30px rgba(0,0,0,.08);

    margin-bottom:30px;
}

.header h1{

    color:#006400;

    font-size:34px;

    margin-bottom:10px;
}

.header p{

    color:#666;

    font-size:16px;
}


/* ===========================
   CARD SECTION
=========================== */

.card{

    background:#fff;

    padding:35px;

    margin-bottom:30px;

    border-radius:15px;

    border-top:6px solid #008751;

    box-shadow:
    0 10px 30px rgba(0,0,0,.08);
}

.card h2{

    color:#008751;

    margin-bottom:25px;

    font-size:24px;

    text-transform:uppercase;
}


/* ===========================
   LABELS
=========================== */

label{

    display:block;

    font-weight:bold;

    margin-top:18px;

    margin-bottom:8px;

    color:#333;
}


/* ===========================
   INPUTS
=========================== */

input[type=text],
input[type=email],
input[type=tel],
input[type=date],
select,
textarea{

    width:100%;

    padding:14px;

    border:1px solid #ccc;

    border-radius:8px;

    font-size:15px;

    transition:.3s;
}

input:focus,
select:focus,
textarea:focus{

    outline:none;

    border-color:#008751;

    box-shadow:
    0 0 10px rgba(0,135,81,.2);
}


/* ===========================
   COUNTRY LIST
=========================== */

select[size]{

    height:250px;

    overflow-y:auto;

    cursor:pointer;
}


/* ===========================
   TEXTAREA
=========================== */

textarea{

    min-height:120px;

    resize:vertical;
}


/* ===========================
   FILE INPUT
=========================== */

input[type=file]{

    width:100%;

    padding:12px;

    background:#f8f8f8;

    border:1px solid #ddd;

    border-radius:8px;

    cursor:pointer;
}


/* ===========================
   EXAM DATE MESSAGE
=========================== */

#dateMessage{

    display:none;

    margin-top:10px;

    background:#ffe5e5;

    color:#c00000;

    padding:12px;

    border-radius:8px;

    font-weight:bold;

    border-left:5px solid red;
}


/* ===========================
   BUTTON
=========================== */

.submit-btn{

    width:100%;

    background:#008751;

    color:#fff;

    border:none;

    padding:18px;

    font-size:20px;

    font-weight:bold;

    border-radius:12px;

    cursor:pointer;

    transition:.4s;

    box-shadow:
    0 10px 25px rgba(0,135,81,.3);

    margin-bottom:40px;
}

.submit-btn:hover{

    background:#006b3f;

    transform:translateY(-3px);
}


/* ===========================
   SUCCESS MESSAGE
=========================== */

.success{

    background:#e8fff0;

    color:#006400;

    border-left:5px solid #006400;

    padding:15px;

    border-radius:8px;

    margin-bottom:20px;
}


/* ===========================
   ERROR MESSAGE
=========================== */

.error{

    background:#fff0f0;

    color:#cc0000;

    border-left:5px solid red;

    padding:15px;

    border-radius:8px;

    margin-bottom:20px;
}


/* ===========================
   SCROLLBAR
=========================== */

::-webkit-scrollbar{

    width:10px;
}

::-webkit-scrollbar-track{

    background:#f1f1f1;
}

::-webkit-scrollbar-thumb{

    background:#008751;

    border-radius:10px;
}

::-webkit-scrollbar-thumb:hover{

    background:#006400;
}


/* ===========================
   RESPONSIVE
=========================== */

@media(max-width:768px){

    .container{

        width:98%;
    }

    .header{

        padding:25px;
    }

    .header h1{

        font-size:26px;
    }

    .card{

        padding:20px;
    }

    .card h2{

        font-size:20px;
    }

    .submit-btn{

        font-size:18px;
    }
}


/* ===========================
   NIGERIAN THEME ACCENTS
=========================== */

.card:hover{

    transform:translateY(-2px);

    transition:.3s;

    box-shadow:
    0 15px 35px rgba(0,0,0,.12);
}

input:hover,
textarea:hover,
select:hover{

    border-color:#008751;
}