/* Scholarship Application Form Styles */

.application-form {
    max-width: 100%;
    margin: 0;
    padding: 20px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    width: 100%;
}

@media (min-width: 1200px) {
    .application-form {
        padding: 30px;
    }
}

body {
    margin: 0;
    padding: 0;
}

.top-bar {
    background: #13386c;
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

.top-links {
    text-align: right;
    padding-right: 0;
    margin-right: 0;
}

@media (min-width: 769px) {
    .top-links {
        padding-right: 10px;
    }
}

.top-links a {
    color: white;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.top-links a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-links a.active {
    background-color: #f57c00;
    color: white;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 4px;
}

.top-links a {
    transition: all 0.3s ease;
    border-radius: 4px;
    padding: 5px 10px;
}

.top-links a:not(.active) {
    background-color: transparent;
    color: white;
}

.top-links a:not(.active):hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.container {
    max-width: 100%;
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Header Container Styles */
.header-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    gap: 20px;
}

.header-container img {
    height: 80px;
    width: auto;
}

.header-container h1 {
    color: #13386c;
    margin: 0;
    text-align: center;
}

@media (max-width: 768px) {
    .top-bar {
        padding: 6px 0;
    }
    
    .top-links {
        text-align: right;
        padding-right: 5px;
        margin-right: 0;
        margin-top: 0;
    }
    
    .top-links a {
        font-size: 0.7rem;
        margin-left: 8px;
        margin-right: 0;
        padding: 4px 6px;
        border-radius: 3px;
        line-height: 1.2;
        display: inline-block;
        vertical-align: middle;
    }
    
    .top-links a:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    .top-links a.active {
        background-color: #f57c00;
        color: white;
        font-weight: bold;
        padding: 4px 6px;
        border-radius: 3px;
    }
    
    .application-form {
        max-width: 100%;
        margin: 0;
        padding: 15px;
        border-radius: 0;
        width: 100%;
    }
    
    .application-form .header-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .application-form .header-container img {
        height: 60px;
        max-width: 150px;
    }
    
    .application-form .header-container h1 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 12.5px;
    }
    
    .top-bar {
        padding: 6px 0;
    }
    
    .top-links {
        text-align: right;
        padding-right: 5px;
        margin-right: 0;
        margin-top: 0;
    }
    
    .top-links a {
        font-size: 0.65rem;
        margin-left: 6px;
        margin-right: 0;
        padding: 3px 5px;
        border-radius: 3px;
        line-height: 1.1;
        display: inline-block;
        vertical-align: middle;
    }
    
    .top-links a.active {
        background-color: #f57c00;
        color: white;
        font-weight: bold;
        padding: 3px 5px;
        border-radius: 3px;
    }
    
    .application-form {
        padding: 10px;
    }
    
    .application-form .header-container img {
        height: 50px;
    }
    
    .application-form .header-container h1 {
        font-size: 18px;
    }
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.step-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
    font-weight: bold;
    color: #666;
}

.step.active {
    background: #13386c;
    color: white;
}

.step.completed {
    background: #f57c00;
    color: white;
}

.form-step h2 {
    color: #13386c;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
    text-align: center;
}

.form-step h2 i {
    margin-right: 10px;
    color: #f57c00;
}

.step-labels {
    display: none;
}

@media (min-width: 769px) {
    .step-labels {
        display: flex;
        justify-content: center;
        margin-bottom: 30px;
        gap: 15px;
        flex-wrap: wrap;
    }
    
    .step-label {
        font-size: 12px;
        font-weight: 500;
        color: #666;
        text-align: center;
        padding: 6px 12px;
        border-radius: 15px;
        background: #f8f9fa;
        transition: all 0.3s ease;
        white-space: nowrap;
    }
}

.step-label.active {
    color: #13386c;
    background: #e3f2fd;
    font-weight: 600;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

@media (max-width: 768px) {
    .form-row {
        gap: 10px;
    }
    
    .form-row .form-group {
        min-width: 0;
    }
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

@media (max-width: 768px) {
    label {
        font-size: 13px;
        margin-bottom: 3px;
    }
}

input, select, textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

@media (max-width: 768px) {
    input, select, textarea {
        padding: 10px;
        font-size: 14px;
    }
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #13386c;
}

.btn {
    background: #13386c;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.btn:hover {
    background: #1e4a7a;
}

.btn-secondary {
    background: #6c757d;
}

.btn-secondary:hover {
    background: #5a6268;
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.required {
    color: red;
}

.verification-notice {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
}

.verification-notice h4 {
    color: #856404;
    margin-bottom: 10px;
}

.verification-notice p {
    color: #856404;
    margin: 5px 0;
}

.help-text {
    font-size: 0.85em;
    color: #6c757d;
    margin-top: 5px;
    display: block;
}

.document-upload-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.upload-instructions {
    color: #495057;
    margin-bottom: 20px;
    font-style: italic;
}

.form-group input[type="file"] {
    padding: 8px;
    border: 2px dashed #dee2e6;
    border-radius: 5px;
    background: #fff;
    width: 100%;
}

.form-group input[type="file"]:focus {
    border-color: #007bff;
    outline: none;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 0;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    background: #13386c;
    color: white;
    padding: 20px;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 20px;
}

.close {
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover {
    opacity: 0.7;
}

.modal-body {
    padding: 20px;
}

.help-content {
    line-height: 1.6;
}

.help-section {
    margin-bottom: 25px;
}

.help-section h4 {
    color: #13386c;
    margin-bottom: 10px;
    font-size: 18px;
}

.help-section ul {
    margin: 10px 0;
    padding-left: 20px;
}

.help-section li {
    margin-bottom: 5px;
}

/* Support Line Styles */
.support-line {
    background: #dc3545;
    color: white;
    padding: 8px 0;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    border-top: 2px solid #c82333;
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3);
    overflow: hidden;
    white-space: nowrap;
}

.support-line span {
    display: inline-block;
    animation: marquee 25s linear infinite;
    padding-left: 100%;
    white-space: nowrap;
}

@keyframes marquee {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.support-line a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    border-bottom: 1px dotted white;
}

.support-line a:hover {
    color: #ffc107;
    text-decoration: underline;
    border-bottom: 1px dotted #ffc107;
}

.support-line i {
    margin-right: 5px;
    font-size: 16px;
}

@media (max-width: 768px) {
    .support-line {
        font-size: 12px;
        padding: 6px 0;
    }
    
    .support-line i {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .support-line {
        font-size: 11px;
        padding: 5px 0;
        line-height: 1.3;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 0;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    background: #13386c;
    color: white;
    padding: 20px;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 20px;
}

.close {
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover {
    opacity: 0.7;
}

.modal-body {
    padding: 20px;
}

.help-content {
    line-height: 1.6;
}

.help-section {
    margin-bottom: 25px;
}

.help-section h4 {
    color: #13386c;
    margin-bottom: 10px;
    font-size: 18px;
}

.help-section ul {
    margin: 10px 0;
    padding-left: 20px;
}

.help-section li {
    margin-bottom: 5px;
}

/* Support Line Styles */
.support-line {
    background: #dc3545;
    color: white;
    padding: 8px 0;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    border-top: 2px solid #c82333;
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3);
    overflow: hidden;
    white-space: nowrap;
}

.support-line span {
    display: inline-block;
    animation: marquee 25s linear infinite;
    padding-left: 100%;
    white-space: nowrap;
}

@keyframes marquee {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.support-line a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    border-bottom: 1px dotted white;
}

.support-line a:hover {
    color: #ffc107;
    text-decoration: underline;
    border-bottom: 1px dotted #ffc107;
}

.support-line i {
    margin-right: 5px;
    font-size: 16px;
}

@media (max-width: 768px) {
    .support-line {
        font-size: 12px;
        padding: 6px 0;
    }
    
    .support-line i {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .support-line {
        font-size: 11px;
        padding: 5px 0;
        line-height: 1.3;
    }
}

