﻿/* === General Styles === */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f7fbff;
    color: #1c2c50;
    margin: 0;
    padding: 0;
}

/*.wrapper {
    max-width: 100%;
    margin: 30px auto;
    padding: 20px;
    background: #eaf4fc;
    border-radius: 15px;*/
    /*box-shadow: 0 8px 25px #44647D;*/
/*}*/
td {
    border: 2.5px solid #44647D !important; /* increased from 1.5px */
}
/* === Header and Logos === */
.form_container {
    position: relative;
    overflow: hidden;
    padding: 20px 40px;
    max-width: 100%;
}

    .form_container > div[style*="float: left"] img {
        width: 320px;
        height: auto;
    }

    .form_container > div[style*="float: right"] img {
        height: 38px;
        width: auto;
        margin-top: 15px;
    }

/* === Titles === */
/*.head_bg {
    font-size: 2rem;
    font-weight: 700;
    color: #003fbb;
    text-align: center;
    margin: 25px 0 35px 0;
    letter-spacing: 0.04em;
    user-select: none;
    animation: fadeInDown 0.7s ease forwards;
    
}*/

/* === Instruction Container === */
#divinstruction {
    background-color: #eaf4fc;
    border: 1.5px solid #557bbb; /* Darker blue border */
    padding: 25px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 85, 255, 0.08);
    max-height: none; /* Allow full height */
    margin-bottom: 30px;
    animation: fadeInUp 0.5s ease-in-out;
}

    #divinstruction .h3 {
        font-size: 1.4rem;
        color: #003fbb;
        margin-bottom: 20px;
    }

    #divinstruction ul {
        padding-left: 20px;
        margin-bottom: 20px;
    }

    #divinstruction li {
        font-size: 1.05rem;
        line-height: 1.6;
        margin-bottom: 15px;
        color: #1c2c50;
        list-style-type: decimal;
    }

    #divinstruction b {
        display: inline-block;
        font-size: 1rem;
        background-color: #f4f7fb;
        padding: 10px 15px;
        border-radius: 8px;
        color: #1a2b4e;
        margin-bottom: 20px;
        user-select: none;
    }

/* === Buttons === */
/*.apply_btn {
    background-color: #88b6f9;
    color: #003fbb;
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 95, 220, 0.3);
    transition: background-color 0.35s ease, transform 0.25s ease;
    user-select: none;
}

    .apply_btn:hover {
        background-color: #3c71e5;
        color: white;
        transform: scale(1.07);
    }*/

/* === Other containers === */
/*.btn-col {
    text-align: center;
    margin-top: 25px;
}*/

/* === Simple pastel border and shading for <td> with custom border color #44647D === */
td {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f0f7ff; /* very light pastel blue */
    color: #1c2c50;
    padding: 10px 16px;
    border: 1.5px solid #44647D; /* custom darker blue border */
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.6); /* subtle inner highlight */
    border-radius: 6px;
    user-select: none;
    font-size: 1rem;
    vertical-align: middle;
}

/* === Animations === */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-15px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === Responsive tweaks === */
@media screen and (max-width: 768px) {
    .wrapper {
        margin: 15px;
        padding: 15px;
    }

    .head_bg {
        font-size: 1.6rem;
    }

    #divinstruction {
        padding: 20px 18px;
    }

    .apply_btn {
        width: 100%;
        padding: 14px 0;
    }
}
