﻿@import url('main_style.css');
body {
    font-family: "Roboto+Condensed", sans-serif;
    background-color: #f3f4f6;
    margin: 0;
}

/* Main container for centering the form */
.main-container {

    display: flex;
    align-items: start;
    justify-content: center;
    padding: 1rem 1rem;
    min-height: 100vh;
    box-sizing: border-box;
    background-image: linear-gradient(to bottom, #fff 0%, #1A3E91 100%);
}
.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;    
 
}
/* Form wrapper/card */
.form-wrapper {
    width: 100%;
    max-width: 45rem; /* max-w-2xl */
    border-radius: 0.5rem; /* rounded-lg */
    background-color: white;
    padding: 2.0rem; /* p-10 */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

/* Top image styling */
.form-image {
    margin-bottom: -1rem;
    margin-top: -1.1rem;
    width: 35%;
    border-radius: 0rem;  
}

/* Header section for title and description */
.form-header {
    margin-bottom: 1.5rem; /* mb-8 */
    text-align: center;

}

.form-title {
    font-size: 1.875rem; /* text-2xl */
    font-weight: 600; /* font-semibold */    
    letter-spacing: 2px;
    color: #1A3E91;
}
.form-name {
    font-size: 1rem; /* text-2xl */
    font-weight: lighter; /* font-semibold */    
    letter-spacing: 1.1px;
    color: #1A3E91;
}
.form-description {
    margin-top: 0.5rem; /* mt-2 */
    font-size: 1.2rem; /* text-sm */
    color: #1A3E91; /* text-gray-600 */
    line-height: 1.0;
    font-weight:normal;
}

/* Container for each form field group */
.form-group {
    margin-bottom: 1.5rem; /* mb-6 */
}
.dv_center {
    text-align: center;
}
.dv_text {
    color: #15609d; text-align:justify;
}
/* Form labels */
.form-label {
    display: block;
    margin-bottom: 0.15rem; /* mb-2 */
    font-size: 0.875rem; /* text-sm */
    font-weight: 100; /* font-medium */
    color: gray; /* text-gray-600 */
}
.form-label_red {   
    margin-bottom: 0.15rem; /* mb-2 */
    font-size: 0.875rem; /* text-sm */
    font-weight: 100; /* font-medium */
    color: red; /* text-gray-600 */
}

/* Common styles for input, select, and textarea */
.form-input,
.form-select,
.form-textarea {
    width: 100%;
    border-radius: 0.375rem; /* rounded-md */
    border: 1px solid #d1d5db; /* border-gray-300 */
    padding: 0.5rem; /* p-3 */
    font-size: 1.0rem; /* text-sm */
    color: #0e3080; /* text-gray-800 */
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-weight: normal;
    font-family: "Roboto+Condensed";
    

}

    .form-input:focus,
    .form-select:focus,
    .form-textarea:focus {
        border-color: #6366f1; /* focus:border-indigo-500 */
        box-shadow: 0 0 0 1px #6366f1; /* focus:ring-1 focus:ring-indigo-500 */
        outline: none;
    }

/* Checkbox and Radio button groups */
.options-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: #1A3E91;
}

.option-item {
    display: flex;
    align-items: center;
    color: #1A3E91;
}

.form-checkbox,
.form-radio {
    height: 1rem;
    width: 1rem;
    color: #4f46e5;
    margin-right: 0.5rem;
    color: #1A3E91;    
}

.radio-group {
    display: flex;
    gap: 1.5rem;
    color: #1A3E91;
}

/* Consent Checkbox Group */
.consent-group {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    z-index: 9999;
}

.consent-label {
    margin-left: 0.5rem;
    font-size: 0.875rem;
     color: #1A3E91;
   
}

/* Submit Button */
.submit-btn {
    width: 100%;
    border-radius: 0.375rem;
    background-color: #1A3E91;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
    font-family: "Roboto+Condensed";
    font-size: 1.0rem;
    margin-bottom:20px;
}

    .submit-btn:hover {
        background-color: #15609d;
    }

    .submit-btn:focus {
        outline: none;
        box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.5);
    }

.img_cap {
    width: 120px;
    height: 40px;
    margin: 0px 20px 0px 0px;   
    /*background-color:transparent;*/
    position: relative;
    top: 3px;
}
.sp_link {
    display: inline-block;
    border-bottom: 1px solid #d1d5db;
    padding-bottom: 1px;
    position: relative;
    top: -4px;
}



.span_wsh {
    font-size: 12px;
    color: #15609d;
    transform: translateZ(0);
    -webkit-animation-name: animate_top;
    -webkit-animation-duration: 2s;
    animation-name: animate_top;
    animation-duration: 2s;
}
    .span_wsh a {
        letter-spacing:1.2px;
        font-size:12px; font-weight:bold; line-height:25px; 
    }

    .span_wsh .span_lmt {
        font-size: 15px;
        color: #328d0d;
    }

    .span_wsh .span_qyd {
        font-size: 12px;
        color: red;
    }

    .span_wsh .span_bsh {
        font-size: 12px;
        color: #1A3E91;
    }

.span_wsh_d {
    font-size: 14px;
    color: #15609d;
    transform: translateZ(0);
    -webkit-animation-name: animate_top;
    -webkit-animation-duration: 2s;
    animation-name: animate_top;
    animation-duration: 2s;
    margin-left: 10px;
}

@-webkit-keyframes animate_top {
    from {
        height: 0px;
        opacity: 0
    }

    to {
        height: 300px;
        opacity: 1
    }
}

@keyframes animate_top {
    from {
        top: -30px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}


.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    padding: 1px;
    /*border:1px solid red;*/
    margin-bottom:10px;
}

.grid-item {
    background: rgb(204, 230, 251, 0.20);
    padding: 10px;
    text-align: center;
    border-radius: 10px;
    color: #1A3E91;
    cursor: pointer;
    transition: background-color 0.5s ease, transform 0.5s ease;    
    height: 90px;
}

    .grid-item:hover {
        transform: scale(1.05);
    }

.grid-item-rg {
    background: none;
    padding: 5px;
    text-align: left;
    border-radius: 10px;
    color: #1A3E91;     
}
/*.dv_username {
    float: right;    
    margin-top: 0px;
    width: auto;
}*/
.dropdown {
    position: relative;
    float: right;
    margin-top: 0px;
    width: auto;
}

/* Style the dropdown button */
.dropbtn {
    background-color: none;
    color: #1A3E91;
    padding: 8px;
    border-bottom:1px solid navy;
    cursor: pointer;
}

/* Dropdown content */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgb(192, 226, 255, 0.99);
    width: 115px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index:9999;
}

    /* Links inside dropdown content */
    .dropdown-content a {        
        padding:7px 0px 7px 7px;
        text-decoration: none;
        display: block;
        font-size:14px;
    }

        /* Change color of dropdown links on hover */
        .dropdown-content a:hover {
            background-color: rgb(93, 183, 255, 0.20);
            text-decoration: underline;
        }

/* Show the dropdown content on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Change background color of dropdown button on hover */
.dropdown:hover .dropbtn {
    background-color: rgb(91, 181, 252, 0.20);
}
/* Modal */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 200px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    position: relative;
    background-color: #FFF;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 50%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
    font-weight: 100;        
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}
.blinking-text {   
    animation: blink 1s infinite;
    /* Optional styles */
    font-size: 14px;
    color: red;
    text-align: left;
}

/* Define the keyframes for the animation */
@keyframes blink {
    0% {
        opacity: 1; /* Fully visible at the start */
    }

    50% {
        opacity: 0.1; /* Invisible halfway through the cycle */
    }

    100% {
        opacity: 1; /* Fully visible again at the end */
    }
}




/* The Close Button */
.close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
    margin-top:-9px;
}

    .close:hover,
    .close:focus {
        color: #000;
        text-decoration: none;
        cursor: pointer;
    }

.modal-header {
    padding: 9px 5px;
    /*background-color: #1A3E91;*/
    background-image: linear-gradient(to bottom, #fff 0%, #1A3E91 100%);
    color: white;
    font-weight:100;
}

.modal-body {
    padding: 2px 16px;
}

.modal-footer {
    padding: 3px 5px;
    background-color: #1A3E91;
    color: white;
}
.header_txt {
    border-color: transparent;
    width: 70px;
    background-color: #73b9f1;
    border-width: 0px;
    outline: none;
    font-family: "Roboto+Condensed";
}
    .header_txt:focus {
        border-color: transparent;
        width: 70px;
        background-color: #73b9f1;
        border-width: 0px;
        outline: none;
    } 
/* Mobile Responsive Styles */
@media (max-width: 640px) {
    .main-container {
        padding: 0.8rem;
    }

    .form-wrapper {
        padding: 0.8rem;
    }

    .form-title {
        font-size: 1.47rem;
    }
    .form-name {
        font-size: 0.8rem;
    }

    .form-label, .form-label_red {
        font-size: 0.75rem;
    }
    .options-group {
        gap: 0.75rem;
    }

    .form-description {
        font-size: 0.95rem;
    }

    .dv_text {
        font-size: 0.8rem;
    }

    .grid-item {
        font-size: 0.85rem;
        height: 30px;
        padding: 5px;
    }
    .grid-item-rg {
        padding: 2px;
    }
    .form-input,
    .form-select,
    .form-textarea {      
        padding: 0.35rem; /* p-3 */
        font-size: 0.9rem; /* text-sm */               
    }
    .submit-btn {
        padding: 0.43rem 1.2rem;
        font-size: 0.8rem;
    }
    .span_wsh_d {
        font-size: 0.75rem;
    }

    .dropdown-content {
        width: 85px;
    }
    .dropbtn, .dropdown-content a {
        font-size:11px;
        padding:5px 0px 5px 5px;
    }

}
@media (max-width: 720px) {
    .grid-item {
        height: 60px;
        font-size: 0.85rem;
        
    }
}
@media (max-width: 850px) {
    .grid-item {
        height: 70px;
        font-size: 0.85rem;
    }
}

