* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    padding: 1.5rem 0;
    text-align: center;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

nav {
    background-color: #fff;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    list-style: none;
}

.nav-links a {
    padding: 10px 20px;
    text-decoration: none;
    color: white;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-container {
    background-color: white;
    border-radius: 10px;
    padding: 2.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 3rem;
}

.form-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: #4a6fa5;
    outline: none;
    box-shadow: 0 0 0 3px rgba(74, 111, 165, 0.2);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.upload-area {
    border: 2px dashed #ccc;
    border-radius: 6px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #fafafa;
}

.upload-area:hover {
    border-color: #4a6fa5;
    background-color: #f0f9ff;
}

.upload-area i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.fee-options {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.fee-option {
    flex: 1;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.fee-option:hover {
    border-color: #4a6fa5;
}

.fee-option.selected {
    border-color: #4a6fa5;
    background-color: #f0f9ff;
}

.fee-option h4 {
    margin-bottom: 8px;
}

.fee-option .amount {
    font-size: 1.4rem;
    font-weight: 700;
    color: #27ae60;
}

.submit-btn {
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 20px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 15px rgba(0, 0, 0, 0.1);
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    border: 1px solid #f5c6cb;
}

.footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
    color: #666;
    border-top: 1px solid #eee;
}

/* Data View Page Styles */
.data-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 15px;
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 250px;
}

.search-box input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
}

.filter-select {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    min-width: 180px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.data-table th {
    background-color: #f1f5f9;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #ddd;
}

.data-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.data-table tr:hover {
    background-color: #f9f9f9;
}

.action-btns {
    display: flex;
    gap: 8px;
}

.action-btn {
    padding: 6px 12px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.view-btn {
    background-color: #e3f2fd;
    color: #1976d2;
}

.edit-btn {
    background-color: #fff3e0;
    color: #f57c00;
}

.delete-btn {
    background-color: #ffebee;
    color: #d32f2f;
}

.action-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #777;
}

/* Theme-specific colors */
.theme-marketing header {
    background: linear-gradient(135deg, #3a86ff, #8338ec);
}

.theme-marketing .nav-links a {
    background-color: #3a86ff;
}

.theme-marketing .submit-btn {
    background: linear-gradient(to right, #3a86ff, #8338ec);
}

.theme-guide header {
    background: linear-gradient(135deg, #2a9d8f, #e9c46a);
}

.theme-guide .nav-links a {
    background-color: #2a9d8f;
}

.theme-guide .submit-btn {
    background: linear-gradient(to right, #2a9d8f, #e9c46a);
}

.theme-senior header {
    background: linear-gradient(135deg, #e76f51, #f4a261);
}

.theme-senior .nav-links a {
    background-color: #e76f51;
}

.theme-senior .submit-btn {
    background: linear-gradient(to right, #e76f51, #f4a261);
}

.theme-specialist header {
    background: linear-gradient(135deg, #7209b7, #4361ee);
}

.theme-specialist .nav-links a {
    background-color: #7209b7;
}

.theme-specialist .submit-btn {
    background: linear-gradient(to right, #7209b7, #4361ee);
}

.theme-view header {
    background: linear-gradient(135deg, #4a6fa5, #166088);
}

.theme-view .nav-links a {
    background-color: #4a6fa5;
}