/* css/style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
   /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
   background: rgba(242, 242, 242);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(242, 242, 242);
    overflow: hidden;
}

.header {
    /*background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
    background: rgba(255, 130, 33);
    color: white;
    padding: 30px;
    text-align: center;
}

.header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.header p {
    font-size: 1.1em;
    opacity: 0.9;
}

.form-section {
    padding: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.form-section:last-child {
    border-bottom: none;
}

.section-title {
    color: #333;
    font-size: 1.5em;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #667eea;
    display: inline-block;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group.full-width {
    grid-column: span 2;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="url"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 10px;
}

.checkbox-item {
    display: flex;
    align-items: center;
}

.checkbox-item input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
}

.table-input {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.table-input th {
    background: #f5f5f5;
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: #555;
}

.table-input td {
    padding: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.table-input input {
    width: 100%;
    padding: 8px;
}

.btn-add-row {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 15px;
    transition: background 0.3s ease;
}

.btn-add-row:hover {
    background: #45a049;
}

.btn-submit {
    /*background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
    background: rgba(24, 0, 172);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
    display: block;
    margin: 30px auto 0;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.file-upload {
    border: 2px dashed #e0e0e0;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload:hover {
    border-color: #667eea;
    background: #f8f9ff;
}

.file-upload input[type="file"] {
    display: none;
}

.file-upload label {
    cursor: pointer;
    color: #667eea;
    font-weight: 600;
}

.error-message {
    color: #f44336;
    font-size: 13px;
    margin-top: 5px;
}

.success-message {
    background: #4CAF50;
    color: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.nav-menu {
    background: white;
    padding: 15px 30px;
    border-bottom: 1px solid #e0e0e0;
}

.nav-menu a {
    color: blue;
    text-decoration: none;
    margin-right: 20px;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.nav-menu a:hover {
    background: #f0f0f0;
}

.nav-menu a.active {
    background: blue;
    color: white;
}

/* Applications List Styles */
.applications-list {
    padding: 30px;
}

.applications-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.applications-table th {
    background: #f5f5f5;
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: #555;
}

.applications-table td {
    padding: 12px;
    border-bottom: 1px solid #e0e0e0;
}

.applications-table tr:hover {
    background: #f8f9ff;
}

.status-badge {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-approved {
    background: #d4edda;
    color: #155724;
}

.status-rejected {
    background: #f8d7da;
    color: #721c24;
}

.view-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.view-link:hover {
    text-decoration: underline;
}

/* Add these styles to your existing CSS file */

/* Form Status Banner */
.form-status-banner {
    padding: 12px 20px;
    margin: 10px 0 20px 0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.status-open {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-left: 4px solid #28a745;
    color: #155724;
}

.status-closed {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border-left: 4px solid #dc3545;
    color: #721c24;
}

.status-scheduled {
    background: linear-gradient(135deg, #cce5ff 0%, #b8daff 100%);
    border-left: 4px solid #004085;
    color: #004085;
}

.status-icon {
    font-size: 24px;
    margin-right: 15px;
}

.status-message {
    flex: 1;
    font-weight: 500;
}

.status-message strong {
    font-size: 16px;
    display: block;
    margin-bottom: 5px;
}

.status-timer {
    background: rgba(255,255,255,0.3);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(5px);
}

.countdown-timer {
    font-family: monospace;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
}

.status-badge-small {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 10px;
}

.badge-open {
    background: #28a745;
    color: white;
}

.badge-closed {
    background: #dc3545;
    color: white;
}

.badge-scheduled {
    background: #ffc107;
    color: #333;
}

@media (max-width: 768px) {
    .form-status-banner {
        flex-direction: column;
        text-align: center;
    }
    .status-timer {
        width: 100%;
        justify-content: center;
    }
}