/* MOU Eligibility Form Styles */
.mou-eligibility-container {
    max-width: 500px;
    margin: 20px auto;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Important Note Styles */
.mou-important-note {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    border-left: 4px solid #f39c12;
}

.mou-note-title {
    color: #856404;
    margin: 0 0 15px 0;
    font-size: 16px;
    font-weight: 600;
}

.mou-note-content h5 {
    color: #6c5700;
    margin: 15px 0 8px 0;
    font-size: 14px;
    font-weight: 600;
}

.mou-note-content h5:first-child {
    margin-top: 0;
}

.mou-note-content ul {
    margin: 0 0 10px 20px;
    padding: 0;
}

.mou-note-content li {
    color: #6c5700;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 5px;
}

.mou-form-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #e1e5e9;
}

.mou-form-header {
    background: #f8f9fa;
    padding: 20px 24px;
    border-bottom: 1px solid #e1e5e9;
}

.mou-form-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    text-align: center;
}

.mou-form-body {
    padding: 24px;
}

.mou-form-group {
    margin-bottom: 20px;
}

.mou-form-group:last-of-type {
    margin-bottom: 24px;
}

.mou-form-label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

.mou-form-select,
.mou-form-input {
    width: 100%;
    padding: 16px 20px; /* Increased size as requested */
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 16px; /* Increased font size */
    color: #374151;
    background-color: #ffffff;
    transition: all 0.2s ease-in-out;
    box-sizing: border-box;
}

.mou-form-select:focus,
.mou-form-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.mou-form-select {
    background-image: url("data:image/svg+xml;charset=US-ASCII,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'><path fill='%23666' d='m0 1 2 2 2-2z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* RED BUTTON as requested */
.mou-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mou-submit-btn:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.mou-submit-btn:active {
    transform: translateY(0);
}

.mou-submit-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.mou-result-container {
    margin-top: 20px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #3b82f6;
    display: none;
}

.mou-result-container.show {
    display: block;
    animation: slideIn 0.3s ease-out;
}

.mou-result.success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    padding: 15px;
    border-radius: 6px;
}

.mou-result.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
    padding: 15px;
    border-radius: 6px;
}

.mou-loading {
    display: none;
    text-align: center;
    padding: 20px;
}

.mou-spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #dc2626;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 600px) {
    .mou-eligibility-container {
        margin: 7px;
        max-width: none;
    }
    
    .mou-form-body {
        padding: 20px;
    }
    
    .mou-form-header {
        padding: 16px 20px;
    }
}