/**
 * Scholarship Page Styles
 */

/* Main scholarship container */
.scholarship-page {
    margin-bottom: 3rem;
    font-family: 'Inter', sans-serif;
    color: #333;
}

/* Two column layout */
.scholarship-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin-top: 20px;
    align-items: stretch;
}

.scholarship-info-column {
    flex: 1 1 calc(50% - 1.25rem);
    min-width: 300px;
    display: flex;
    flex-direction: column;
}

.scholarship-form-column {
    flex: 1 1 calc(50% - 1.25rem);
    min-width: 300px;
    display: flex;
    flex-direction: column;
}

/* Style scholarship details section to match form wrapper */
.scholarship-details {
    margin-top: 0 !important;
    height: 100%;
}

/* Make form wrapper match the scholarship details section */
.scholarship-form-wrapper {
    background-color: #fff;
    border: 1px solid #000;
    border-radius: 0;
    box-shadow: none;
    padding: 2rem;
    position: sticky;
    top: 100px;
    margin-top: 0;
    height: 100%;
}

/* Style the form heading to match the left column heading */
.scholarship-form-wrapper h2 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: #000;
    font-size: 2.2rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #000;
}

.scholarship-form-wrapper h2:after {
    display: none;
}

/* Admin notice for form ID */
.admin-notice {
    color: #333;
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    padding: 0.75rem 1.25rem;
    border-radius: 0;
}

/* Section styling */
.scholarship-page section {
    margin: 2.5rem 0;
    padding: 2rem;
    background-color: #fff;
    border: 1px solid #000;
    border-radius: 0;
    box-shadow: none;
}

.scholarship-page section:first-child {
    margin-top: 0;
}

.scholarship-page section h2 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: #000;
    font-size: 1.8rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #000;
}

.scholarship-page section h2:after {
    display: none;
}

/* H1 heading styling */
.scholarship-page .entry-title {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: #000;
    font-size: 2.2rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #000;
}

.scholarship-page .entry-title:after {
    display: none;
}

/* Scholarship details styling */
.scholarship-details > div {
    margin-bottom: 1.5rem;
}

.scholarship-details h3 {
    font-size: 1.3rem;
    margin-bottom: 0.7rem;
    color: #000;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.scholarship-amount, .scholarship-deadline {
    display: inline-block;
    margin-right: 2rem;
    background: #fff;
    padding: 1rem;
    border: 1px solid #000;
    border-radius: 0;
    box-shadow: none;
}

.scholarship-amount p, .scholarship-deadline p {
    font-weight: bold;
    color: #000;
    margin: 0;
}

/* Application button */
.application-button {
    margin-top: 1.5rem;
}

.application-button .button {
    display: inline-block;
    background-color: #000;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 0;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.application-button .button:hover {
    background-color: #333;
}

/* FAQ styling */
.faq-item {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #000;
    padding-bottom: 1.5rem;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-question {
    font-size: 1.2rem;
    margin-bottom: 0.7rem;
    color: #000;
    cursor: pointer;
    position: relative;
    font-weight: 600;
}

.faq-answer {
    color: #333;
    line-height: 1.6;
}

/* WPForms styling */
.wpforms-container-full-width {
    width: 100% !important;
    max-width: 100% !important;
}

.scholarship-form-wrapper .wpforms-form input:not([type=submit]):not([type=checkbox]):not([type=radio]),
.scholarship-form-wrapper .wpforms-form textarea,
.scholarship-form-wrapper .wpforms-form select {
    border: 1px solid #000;
    border-radius: 0;
    padding: 10px;
    width: 100%;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
}

.scholarship-form-wrapper .wpforms-form .wpforms-submit-container {
    text-align: center;
}

.scholarship-form-wrapper .wpforms-form .wpforms-submit {
    background-color: #000;
    color: white;
    border: none;
    border-radius: 0;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.scholarship-form-wrapper .wpforms-form .wpforms-submit:hover {
    background-color: #333;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .scholarship-columns {
        flex-direction: column;
    }
    
    .scholarship-info-column,
    .scholarship-form-column {
        flex: 1 1 100%;
    }
    
    .scholarship-form-wrapper {
        position: relative;
        top: 0;
        margin-top: 2rem;
    }
    
    .scholarship-page section {
        padding: 1.5rem;
    }
    
    .scholarship-amount, .scholarship-deadline {
        display: block;
        margin-right: 0;
        margin-bottom: 1rem;
    }
} 