/* Forms Page Styles */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern.png') repeat;
    opacity: 0.1;
}

.header-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.header-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.header-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.breadcrumb a:hover {
    opacity: 1;
}

.breadcrumb i {
    font-size: 0.7rem;
}

/* Main Content */
.main-content {
    padding: 60px 0;
    background: #f8f9fa;
}

/* Forms Section */
.forms-section {
    margin-bottom: 60px;
}

.forms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.form-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #0056b3);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.form-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.15);
}

.form-card:hover::before {
    transform: scaleX(1);
}

.form-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.form-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.75rem;
}

.form-content p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.form-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-type {
    background: #e3f2fd;
    color: #1976d2;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.form-status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.form-status.available {
    background: #e8f5e8;
    color: #2e7d32;
}

.form-status.restricted {
    background: #ffebee;
    color: #c62828;
}

.form-btn {
    width: 100%;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-btn:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.form-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Submissions Section */
.submissions-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: #6c757d;
    font-size: 1.1rem;
}

/* Submissions Table */
.submissions-table {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.table-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.header-cell {
    padding: 1rem;
    font-weight: 600;
    color: #495057;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.3s ease;
}

.table-row:hover {
    background: #f8f9fa;
}

.table-row:last-child {
    border-bottom: none;
}

.table-cell {
    padding: 1rem;
    display: flex;
    align-items: center;
    color: #495057;
}

.submission-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.submission-info i {
    color: #007bff;
    font-size: 1.1rem;
}

.submission-info span {
    font-weight: 500;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.pending {
    background: #fff3cd;
    color: #856404;
}

.status-badge.processing {
    background: #cce5ff;
    color: #004085;
}

.status-badge.completed {
    background: #d4edda;
    color: #155724;
}

.status-badge.rejected {
    background: #f8d7da;
    color: #721c24;
}

.action-btn {
    background: none;
    border: none;
    padding: 0.5rem;
    margin: 0 0.25rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #6c757d;
}

.action-btn:hover {
    background: #e9ecef;
    color: #495057;
}

.view-btn:hover {
    background: #e3f2fd;
    color: #1976d2;
}

.download-btn:hover {
    background: #e8f5e8;
    color: #2e7d32;
}

.edit-btn:hover {
    background: #fff3cd;
    color: #856404;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem;
    color: #6c757d;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #495057;
}

/* Form Modal */
.form-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.form-modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    justify-content: between;
    background: #f8f9fa;
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    flex: 1;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6c757d;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #e9ecef;
    color: #495057;
}

.modal-body {
    padding: 2rem;
    max-height: calc(90vh - 100px);
    overflow-y: auto;
}

/* Leave Application Form Styles */
.leave-application-form {
    width: 100%;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 2rem;
}

.form-options {
    background: #f8f9fa;
    padding: 2rem 0;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Option Button Styles */
.option-btn {
    padding: 0.75rem 2rem;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    background: white;
    color: #6c757d;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.option-btn:hover {
    background: #f8f9fa;
    color: #007bff;
    border-color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

.option-btn.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.option-btn .option-icon {
    font-size: 1.2rem;
}

.option-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.option-buttons .btn {
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.option-buttons .btn.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.option-buttons .btn:not(.active) {
    background: white;
    color: #6c757d;
    border-color: #dee2e6;
}

.option-buttons .btn:not(.active):hover {
    background: #f8f9fa;
    color: #007bff;
    border-color: #007bff;
}

/* Download Section Styles */
.download-info {
    padding: 3rem 2rem;
    text-align: center;
}

.download-info h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.download-info > p {
    color: #6c757d;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.download-options {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.download-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 2rem;
    max-width: 400px;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.download-card:hover {
    border-color: #007bff;
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.15);
    transform: translateY(-2px);
}

.download-icon {
    font-size: 3rem;
    color: #dc3545;
    margin-bottom: 1rem;
}

.download-content h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.download-content p {
    color: #6c757d;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.download-instructions {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 2rem;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.download-instructions h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.download-instructions ol {
    color: #495057;
    line-height: 1.8;
    padding-left: 1.5rem;
}

.download-instructions li {
    margin-bottom: 0.5rem;
}

/* Leave Form Section Styles */
.leave-application-form .form-section {
    padding: 2rem;
    border-bottom: 1px solid #f1f3f4;
}

.leave-application-form .form-section:last-child {
    border-bottom: none;
}

.leave-application-form .form-section h2 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.leave-application-form .form-section h2 i {
    color: #007bff;
    font-size: 1.2rem;
}

/* Leave Form Field Styles */
.leave-application-form .form-group {
    margin-bottom: 1.5rem;
}

.leave-application-form .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 600;
    font-size: 0.95rem;
}

.leave-application-form .form-group input,
.leave-application-form .form-group select,
.leave-application-form .form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #ffffff;
}

.leave-application-form .form-group input:focus,
.leave-application-form .form-group select:focus,
.leave-application-form .form-group textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.leave-application-form .form-group input[readonly] {
    background: #f8f9fa;
    color: #6c757d;
    cursor: not-allowed;
}

.leave-application-form .form-group small {
    display: block;
    margin-top: 0.25rem;
    color: #6c757d;
    font-size: 0.875rem;
}

.leave-application-form .form-group.error input,
.leave-application-form .form-group.error select,
.leave-application-form .form-group.error textarea {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.leave-application-form .field-error {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.leave-application-form .field-error::before {
    content: "⚠";
    font-size: 0.75rem;
}

/* Checkbox Styles */
.leave-application-form .checkbox-group {
    margin-top: 1rem;
}

.leave-application-form .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    line-height: 1.6;
    color: #495057;
}

.leave-application-form .checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    transform: scale(1.2);
    accent-color: #007bff;
}

/* File Upload Styles */
.leave-application-form input[type="file"] {
    padding: 0.5rem;
    border: 2px dashed #dee2e6;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s ease;
}

.leave-application-form input[type="file"]:hover {
    border-color: #007bff;
    background: #e3f2fd;
}

.leave-application-form input[type="file"]:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

/* Form Actions */
.leave-application-form .form-actions {
    padding: 2rem;
    background: #f8f9fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.leave-application-form .form-actions .btn {
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 140px;
    justify-content: center;
}

.leave-application-form .form-actions .btn-primary {
    background: #007bff;
    color: white;
    border: 2px solid #007bff;
}

.leave-application-form .form-actions .btn-primary:hover {
    background: #0056b3;
    border-color: #0056b3;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.leave-application-form .form-actions .btn-secondary {
    background: white;
    color: #6c757d;
    border: 2px solid #dee2e6;
}

.leave-application-form .form-actions .btn-secondary:hover {
    background: #f8f9fa;
    color: #495057;
    border-color: #adb5bd;
}

/* Responsive Design */
@media (max-width: 768px) {
    .leave-application-form .form-section {
        padding: 1.5rem 1rem;
    }
    
    .leave-application-form .form-section h2 {
        font-size: 1.2rem;
    }
    
    .leave-application-form .form-actions {
        padding: 1.5rem 1rem;
        flex-direction: column;
    }
    
    .leave-application-form .form-actions .btn {
        width: 100%;
        min-width: auto;
    }
    
    .option-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .option-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .download-card {
        margin: 0 1rem;
    }
    
    .download-instructions {
        margin: 0 1rem;
    }
}

@media (max-width: 480px) {
    .leave-application-form .form-section h2 {
        font-size: 1.1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .leave-application-form .checkbox-label {
        font-size: 0.9rem;
    }
    
    .download-info h2 {
        font-size: 1.5rem;
    }
    
    .download-info > p {
        font-size: 1rem;
    }
}

/* Job Application Form Styles */

.form-header {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    padding: 2rem;
    text-align: center;
    margin-bottom: 0;
}

.form-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

.form-section {
    padding: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h2 {
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #007bff;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group small {
    display: block;
    color: #6c757d;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

/* Checkbox Styling */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: 500;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    transform: scale(1.2);
}

/* Error Styling */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #dc3545;
    background-color: #fff5f5;
}

.field-error {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.field-error::before {
    content: '⚠';
    font-size: 0.9rem;
}

/* Form Actions */
.form-actions {
    padding: 2rem;
    background: #f8f9fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #545b62;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* File Upload Styling */
input[type="file"] {
    padding: 0.5rem !important;
    border: 2px dashed #007bff !important;
    background: #f8f9ff !important;
    cursor: pointer;
}

input[type="file"]:hover {
    border-color: #0056b3 !important;
    background: #e7f3ff !important;
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 1000;
    min-width: 300px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: slideIn 0.3s ease;
}

.notification-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.notification-error {
    background: linear-gradient(135deg, #dc3545 0%, #e74c3c 100%);
}

.notification-info {
    background: linear-gradient(135deg, #17a2b8 0%, #007bff 100%);
}

.notification-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.25rem;
    margin-left: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.notification-close:hover {
    opacity: 1;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header {
        padding: 60px 0 40px;
    }
    
    .header-content h1 {
        font-size: 2rem;
    }
    
    .header-content p {
        font-size: 1rem;
    }
    
    .forms-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .form-card {
        padding: 1.5rem;
    }
    
    .table-header,
    .table-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .header-cell,
    .table-cell {
        padding: 0.75rem;
        border-bottom: 1px solid #e9ecef;
    }
    
    .header-cell:last-child,
    .table-cell:last-child {
        border-bottom: none;
    }
    
    .table-header {
        display: none;
    }
    
    .table-cell::before {
        content: attr(data-label);
        font-weight: 600;
        color: #495057;
        margin-right: 1rem;
        min-width: 100px;
    }
    
    .modal-content {
        margin: 1rem;
        max-height: calc(100vh - 2rem);
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .job-application-form,
    .leave-application-form {
        margin: 1rem;
        border-radius: 8px;
    }
    
    .form-header {
        padding: 1.5rem;
    }
    
    .form-header h1 {
        font-size: 2rem;
    }
    
    .form-section {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .notification {
        right: 10px;
        left: 10px;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 40px 0;
    }
    
    .submissions-section {
        padding: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .form-card {
        padding: 1rem;
    }
    
    .form-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .form-header h1 {
        font-size: 1.75rem;
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .form-section h2 {
        font-size: 1.25rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
}

/* Resignation Form Styles */
.resignation-form-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.resignation-form-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid #2c5aa0;
}

.resignation-form-header h1 {
    color: #2c5aa0;
    font-size: 2.2em;
    margin-bottom: 10px;
    font-weight: 600;
}

.resignation-form-header p {
    color: #666;
    font-size: 1.1em;
    margin: 0;
}

.resignation-form-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.resignation-option-btn {
    padding: 12px 24px;
    border: 2px solid #2c5aa0;
    background: white;
    color: #2c5aa0;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 1em;
}

.resignation-option-btn:hover {
    background: #2c5aa0;
    color: white;
    transform: translateY(-2px);
}

.resignation-option-btn.active {
    background: #2c5aa0;
    color: white;
    box-shadow: 0 4px 12px rgba(44, 90, 160, 0.3);
}

.resignation-download-section {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    margin-bottom: 20px;
}

.resignation-download-section h3 {
    color: #2c5aa0;
    margin-bottom: 15px;
    font-size: 1.4em;
}

.resignation-download-section p {
    color: #666;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.resignation-form-section {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    transition: box-shadow 0.3s ease;
}

.resignation-form-section:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.resignation-form-section h3 {
    color: #2c5aa0;
    margin-bottom: 20px;
    font-size: 1.3em;
    font-weight: 600;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.resignation-form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.resignation-form-group {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
}

.resignation-form-group.full-width {
    flex: 1 1 100%;
}

.resignation-form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    font-size: 0.95em;
}

.resignation-form-group label.required::after {
    content: " *";
    color: #e74c3c;
    font-weight: bold;
}

.resignation-form-group input,
.resignation-form-group select,
.resignation-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1em;
    transition: all 0.3s ease;
    background: #ffffff;
    box-sizing: border-box;
}

.resignation-form-group input:focus,
.resignation-form-group select:focus,
.resignation-form-group textarea:focus {
    outline: none;
    border-color: #2c5aa0;
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
    background: #fafbfc;
}

.resignation-form-group textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

.resignation-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #2c5aa0;
}

.resignation-checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
    transform: scale(1.2);
}

.resignation-checkbox-group label {
    margin: 0;
    color: #555;
    line-height: 1.4;
    cursor: pointer;
}

.resignation-file-upload {
    position: relative;
    display: inline-block;
    width: 100%;
}

.resignation-file-upload input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.resignation-file-upload-label {
    display: block;
    padding: 15px;
    border: 2px dashed #2c5aa0;
    border-radius: 6px;
    text-align: center;
    background: #f8f9fa;
    color: #2c5aa0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.resignation-file-upload-label:hover {
    background: #e3f2fd;
    border-color: #1976d2;
}

.resignation-file-upload-label i {
    font-size: 1.5em;
    margin-bottom: 10px;
    display: block;
}

.resignation-form-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
}

.resignation-form-actions button {
    padding: 15px 30px;
    border: none;
    border-radius: 6px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
}

.resignation-btn-primary {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3a8a 100%);
    color: white;
}

.resignation-btn-primary:hover {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 90, 160, 0.3);
}

.resignation-btn-secondary {
    background: #6c757d;
    color: white;
}

.resignation-btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.3);
}

.resignation-btn-download {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.resignation-btn-download:hover {
    background: linear-gradient(135deg, #20c997 0%, #17a2b8 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
}

.resignation-error-message {
    color: #e74c3c;
    font-size: 0.9em;
    margin-top: 5px;
    display: none;
}

.resignation-form-group.error input,
.resignation-form-group.error select,
.resignation-form-group.error textarea {
    border-color: #e74c3c;
    background: #fdf2f2;
}

.resignation-form-group.error .resignation-error-message {
    display: block;
}

.resignation-success-message {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    border-left: 4px solid #28a745;
    display: none;
}

.resignation-loading {
    display: none;
    text-align: center;
    padding: 20px;
}

.resignation-loading .spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #2c5aa0;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design for Resignation Form */
@media (max-width: 768px) {
    .resignation-form-container {
        margin: 10px;
        padding: 15px;
    }
    
    .resignation-form-section {
        padding: 15px;
    }
    
    .resignation-form-row {
        flex-direction: column;
    }
    
    .resignation-form-group {
        margin-bottom: 15px;
        min-width: auto;
    }
    
    .resignation-form-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .resignation-form-actions button {
        width: 100%;
        min-width: auto;
    }
    
    .resignation-form-options {
        flex-direction: column;
        gap: 10px;
    }
    
    .resignation-option-btn {
        width: 100%;
    }
    
    .resignation-form-header h1 {
        font-size: 1.8em;
    }
}

@media (max-width: 480px) {
    .resignation-form-container {
        margin: 5px;
        padding: 10px;
    }
    
    .resignation-form-section {
        padding: 10px;
    }
    
    .resignation-form-header h1 {
        font-size: 1.5em;
    }
    
    .resignation-form-header p {
        font-size: 1em;
    }
}

/* Complaint/Suggestion Form Styles */
.complaint-form-container {
    max-width: 1200px; /* match header/container width */
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.complaint-form-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid #2c5aa0;
}

.complaint-form-header h1 {
    color: #2c5aa0;
    font-size: 2.2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.complaint-form-header p {
    color: #666;
    font-size: 1.1rem;
    margin: 0;
}

/* Option Buttons */
.complaint-option-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    justify-content: center;
}

.complaint-option-btn {
    flex: 1;
    max-width: 250px;
    padding: 15px 25px;
    border: 2px solid #2c5aa0;
    background: #ffffff;
    color: #2c5aa0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.complaint-option-btn:hover {
    background: #f0f4ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 90, 160, 0.2);
}

.complaint-option-btn.active {
    background: #2c5aa0;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
}

/* Download Section */
.complaint-download-section {
    background: #f8f9ff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    border-left: 4px solid #2c5aa0;
    display: none;
}

.complaint-download-section h3 {
    color: #2c5aa0;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.complaint-download-section p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* Form Sections */
.complaint-form-section {
    background: #fafbff;
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 10px;
    border: 1px solid #e1e8f0;
}

.complaint-form-section h3 {
    color: #2c5aa0;
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e1e8f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.complaint-form-section h3::before {
    content: '';
    width: 4px;
    height: 20px;
    background: #2c5aa0;
    border-radius: 2px;
}

/* Form Groups */
.complaint-form-group {
    margin-bottom: 20px;
    position: relative;
}

.complaint-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.complaint-form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
}

.complaint-form-group label .required {
    color: #e74c3c;
    margin-left: 3px;
}

/* Input Styles */
.complaint-form-group input,
.complaint-form-group select,
.complaint-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e8f0;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #ffffff;
    box-sizing: border-box;
}

.complaint-form-group input:focus,
.complaint-form-group select:focus,
.complaint-form-group textarea:focus {
    outline: none;
    border-color: #2c5aa0;
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
    background: #fafbff;
}

.complaint-form-group textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

.complaint-form-group textarea.large {
    min-height: 120px;
}

/* Error States */
.complaint-form-group.error input,
.complaint-form-group.error select,
.complaint-form-group.error textarea {
    border-color: #e74c3c;
    background: #fdf2f2;
}

.complaint-error-message {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
    min-height: 20px;
}

/* Checkbox Styles */
.complaint-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.complaint-checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
    transform: scale(1.2);
    accent-color: #2c5aa0;
}

.complaint-checkbox-group label {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    cursor: pointer;
}

/* File Upload Styles */
.complaint-file-upload {
    position: relative;
    display: block;
    width: 100%;
}

.complaint-file-upload input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.complaint-file-upload-label {
    display: block;
    padding: 20px;
    border: 2px dashed #2c5aa0;
    border-radius: 8px;
    text-align: center;
    background: #f8f9ff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.complaint-file-upload-label:hover {
    background: #f0f4ff;
    border-color: #1e3d6f;
}

.complaint-file-upload-label span {
    color: #2c5aa0;
    font-weight: 500;
}

.complaint-file-upload-label .file-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

/* Form Actions */
.complaint-form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 2px solid #e1e8f0;
}

.complaint-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
}

.complaint-btn-primary {
    background: #2c5aa0;
    color: #ffffff;
}

.complaint-btn-primary:hover:not(:disabled) {
    background: #1e3d6f;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
}

.complaint-btn-secondary {
    background: #6c757d;
    color: #ffffff;
}

.complaint-btn-secondary:hover {
    background: #545b62;
    transform: translateY(-2px);
}

.complaint-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Success Message */
.complaint-success-message {
    background: #d4edda;
    color: #155724;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #28a745;
    margin-bottom: 25px;
    display: none;
}

.complaint-success-message h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #155724;
}

.complaint-success-message p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.complaint-success-message p:last-child {
    margin-bottom: 0;
}

/* Loading Indicator */
.complaint-loading {
    display: none;
    text-align: center;
    padding: 20px;
}

.complaint-spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #2c5aa0;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: complaint-spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes complaint-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .complaint-form-container {
        margin: 10px;
        padding: 15px;
    }
    
    .complaint-form-header h1 {
        font-size: 1.8rem;
    }
    
    .complaint-option-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .complaint-option-btn {
        max-width: none;
    }
    
    .complaint-form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .complaint-form-section {
        padding: 20px 15px;
    }
    
    .complaint-form-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .complaint-btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .complaint-form-container {
        margin: 5px;
        padding: 10px;
    }
    
    .complaint-form-header h1 {
        font-size: 1.5rem;
    }
    
    .complaint-form-section {
        padding: 15px 10px;
    }
    
    .complaint-form-group input,
    .complaint-form-group select,
    .complaint-form-group textarea {
        padding: 10px 12px;
    }
    
    .complaint-btn {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
}

/* Print Styles */
@media print {
    .complaint-option-buttons,
    .complaint-download-section,
    .complaint-form-actions {
        display: none !important;
    }
    
    .complaint-form-container {
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .complaint-form-section {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}