/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f0f4f8;
    color: #333;
}

/* Header */
.header {
    background: linear-gradient(90deg, #004712, #00751d);
    color: #fff;
    padding: 10px;
    text-align: left;
}

.header h1 {
    font-size: 25px;
    margin-bottom: 5px;
    color: #fff;
    font-weight: 100px;
}

.header p {
    font-size: 13px;
    opacity: 0.9;
    color: #fff;
}

/* Footer */
footer {
    background: #004712;
    color: white;
    text-align: right;
    padding: 10px;
    font-size: 12px;
    position: relative;
    width: 100%;
}

body:not(.scrollable) footer {
    position: fixed;
    bottom: 0;
    left: 0;
}

/* Navbar index scholarship */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 10px 20px;
}

.navbar .welcome {
    font-size: 16px;
    color: #004712;
}


/* Content Section scholarship index */
.content-form {
    max-width: 450px;
    margin: 40px auto;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.content-form h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #004712;
    font-size: 22px;
}

/* Content Section acad announcement */
.label-top {
    text-align: left;
    margin-top: 30px;
    margin-left: 100px;
    margin-bottom: -30px;
}

.content-text {
    max-width: 1000px;
    margin: 50px auto;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

ol {
    margin-left: 30px;
}

.container-proceed {
    margin-left: 100px;
}

button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    color: #fff;
    transition: 0.3s ease;
}

.btn.yes {
    background: #004712;
}

.btn.yes:hover {
    background-color: #00751d;
}

.btn.yes:disabled {
    background: #b3e5c9; /* Light green */
    color: #666; /* Optional: Adjust text color for readability */
    cursor: not-allowed;
    opacity: 0.6; /* Optional: Add a dimmed effect */
}

.btn.no {
    background: #830000;
}

.btn.no:hover {
    background-color: #aa0000;
}

/* Responsive Design for Smaller Screens */
@media (max-width:600px){
    .label-top {
        margin-left: 20px; /* Reduce margin for smaller screens */
        margin-bottom: 5px;
        font-size: 14px; /* Smaller font size */
    }

    .content-text {
        max-width: 90%;
        margin: 20px auto;
        padding: 20px;
        font-size: 14px; /* Reduce text size */
    }

    ol {
        margin-left: 15px; /* Reduce left margin for ordered list */
    }

    .container-proceed p{
        margin-left: 20px; /* Further reduce margin */
        font-size: 8px; /* Smaller font size */
    }

    button {
        font-size: 10px; /* Reduce button text size */
        padding: 8px 15px; /* Adjust padding */
    }
}


@media(max-width: 480px) {
    .label-top {
        margin-left: 10px; /* Reduce margin even further */
        margin-bottom: 5px;
        font-size: 12px; /* Smaller font size for very small screens */
    }

    .content-text {
        padding: 15px;
        font-size: 12px; /* Smaller text for very small screens */
    }

    ol {
        margin-left: 10px; /* Minimize ordered list margin */
    }

    .container-proceed {
        font-size: 5px; /* Further reduce button text size */
        margin-left: 0;
    }

    button {
        font-size: 10px; /* Further reduce button text size */
        padding: 6px 12px; /* Smaller padding */
    }
    }









.tbl-form{
    margin-top: 20px;

}

.tbl-form {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 100%;
    max-width: 1100px;
    border-collapse: collapse;
}

.tbl-form label {
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
    font-size: 14px;
    color: #333;
}

.tbl-form input[type="text"],
.tbl-form input[type="email"],
.tbl-form input[type="file"],
.tbl-form select {
    width: 100%;
    padding: 10px;
    margin: 5px 0 15px;
    border: 1px solid #b4b4b4;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 14px;
    transition: border-color 0.3s;
}

.tbl-form input[type="text"]:focus, 
.tbl-form input[type="email"]:focus,
.tbl-form input[type="file"]:focus,
.tbl-form select:focus {
    border-color: #4caf50;
    outline: none;
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
}

.tbl-form input[type="file"] {
    padding: 5px;
}

.tbl-form td {
    vertical-align: top;
    border: 2px solid black;
}
.tbl-form .col-sm-2{
    width: 20%;
    padding-top: 10px;
}

.tbl-form button {
    background: #4caf50;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    width: 100%;
    max-width: 150px;
}

.tbl-form button:hover {
    background: #388e3c;
    transform: scale(1.05);
}

.tbl-form button:disabled {
    background: #b3e5c9;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Header Section */
.tbl-form thead {
    background: #4caf50;
    color: white;
    font-size: 18px;
    text-align: left;
    border-radius: 10px 10px 0 0;
}
.tbl-form {
    padding: 15px;
}

.tbl-form td {
    display: block;
    width: 100%;
    padding: 5px 0;
}


.form-horizontal{
    margin-left: 10%;
    margin-top: 3%;
    width: 80%;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
    color: #555;
}

.form-group select,
.form-group button {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.form-group button {
    background-color: #004712;
    color: #fff;
    border: none;
    cursor: pointer;
}

.form-group button:hover {
    background-color: #00751d;
}


/* Results Section */
.results {
    padding: 20px;
}

.results h3, .results h4 {
    margin: 10px 0;
}

.results table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.results table th, .results table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.results table th {
    background-color: #004712;
    color: white;
    font-weight: bold;
}

.note {
    margin-top: 20px;
    font-style: italic;
    color: #555;
}

.btn-print {
    display: block;
    margin-left: 93%;
    padding: 10px 15px;
    background-color: #004712;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

