/* style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

/* Login Page */
.login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.login-container {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
}

.login-container h1 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #333;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s;
}

.btn:hover {
    background: #5a6fd8;
}

.error {
    background: #fee;
    color: #c33;
    padding: 0.75rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    border: 1px solid #fcc;
}

/* Layout */
.container {
    display: flex;
    min-height: 100vh;
}

/* Navbar */
.navbar {
    background: #2c3e50;
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
}

.navbar-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Sidebar */
.sidebar {
    width: 250px;
    background: #34495e;
    color: white;
    padding: 1rem 0;
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li {
    margin-bottom: 0.5rem;
}

.sidebar-menu a {
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    display: block;
    transition: background 0.3s;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background: #3c5a78;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 2rem;
    background: white;
    margin: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Dashboard Cards */
.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    border-left: 4px solid #667eea;
}

.card h3 {
    margin-bottom: 1rem;
    color: #555;
}

.card .count {
    font-size: 2rem;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 1rem;
}

/* Tables */
.table-container {
    margin-top: 1.5rem;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

th, td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

th {
    background: #f8f9fa;
    font-weight: 600;
}

tr:hover {
    background: #f8f9fa;
}

.status-pending { color: #f39c12; }
.status-accepted { color: #27ae60; }
.status-needs_correction { color: #e74c3c; }
.status-corrected { color: #3498db; }

/* Forms */
.form-container {
    max-width: 600px;
    margin: 0 auto;
}

.form-actions {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
}

.btn-secondary {
    background: #6c757d;
}

.btn-secondary:hover {
    background: #5a6268;
}

.btn-success {
    background: #28a745;
}

.btn-success:hover {
    background: #218838;
}

.btn-danger {
    background: #dc3545;
}

.btn-danger:hover {
    background: #c82333;
}
/* Add this to your existing style.css */
.login-info {
    margin-top: 1rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 5px;
    border-left: 4px solid #667eea;
    font-size: 0.9rem;
}

.login-info p {
    margin: 0;
    line-height: 1.4;
}

.success {
    background: #efe;
    color: #363;
    padding: 0.75rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    border: 1px solid #cec;
}
/* Additional styles for the new pages */

/* Filters */
.filters {
    margin: 1rem 0;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-group label {
    margin-bottom: 0;
    font-weight: 500;
}

/* Table header with filters */
.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Form rows for side-by-side fields */
.form-row {
    display: flex;
    gap: 1rem;
}

.form-row .form-group {
    flex: 1;
}

/* Modal styles */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    position: relative;
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Priority colors */
.priority-low { color: #27ae60; }
.priority-medium { color: #f39c12; }
.priority-high { color: #e74c3c; }

/* Status colors */
.status-active { color: #27ae60; }
.status-inactive { color: #95a5a6; }
.status-responded { color: #27ae60; }

/* Small buttons */
.btn-small {
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
}

/* Active filter button */
.filters .btn.active {
    background: #34495e;
}

/* Responsive design */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .table-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .filters {
        width: 100%;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
        padding: 1rem;
    }
}
/* View Page Styles */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.page-header h1 {
    margin: 0;
}

.detail-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.detail-header {
    padding: 1.5rem;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
}

.detail-header h2 {
    margin: 0;
    color: #2c3e50;
    flex: 1;
}

.status-group {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.priority-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-public {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.badge-private {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.detail-item label {
    font-weight: 600;
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0;
}

.detail-item span {
    color: #2c3e50;
}

.detail-section {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
}

.detail-section:last-child {
    border-bottom: none;
}

.detail-section h3 {
    margin: 0 0 1rem 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.detail-content {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 5px;
    border-left: 4px solid #667eea;
    line-height: 1.6;
}

.correction-notes {
    border-left-color: #e74c3c;
    background: #fee;
}

.response-content {
    border-left-color: #27ae60;
    background: #efe;
}

.detail-actions {
    padding: 1.5rem;
    background: #f8f9fa;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.rating-stars {
    color: #f39c12;
    font-size: 1.1rem;
}

/* Status badge colors */
.status-pending { background: #fff3cd; color: #856404; }
.status-accepted { background: #d4edda; color: #155724; }
.status-needs_correction { background: #f8d7da; color: #721c24; }
.status-corrected { background: #cce7ff; color: #004085; }
.status-rejected { background: #f8d7da; color: #721c24; }
.status-in_progress { background: #fff3cd; color: #856404; }
.status-resolved { background: #d4edda; color: #155724; }
.status-closed { background: #e2e3e5; color: #383d41; }
.status-responded { background: #d4edda; color: #155724; }

/* Priority badge colors */
.priority-low { background: #d4edda; color: #155724; }
.priority-medium { background: #fff3cd; color: #856404; }
.priority-high { background: #f8d7da; color: #721c24; }

/* Responsive design */
@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .detail-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .detail-grid {
        grid-template-columns: 1fr;
    }
    
    .detail-actions {
        flex-direction: column;
    }
    
    .detail-actions .btn {
        width: 100%;
        text-align: center;
    }
}
/* Review Page Styles */
.review-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.review-form-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 2rem;
}

.review-form-card h2 {
    margin-top: 0;
    color: #2c3e50;
    border-bottom: 2px solid #667eea;
    padding-bottom: 0.5rem;
}

/* Radio Group Styles */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.radio-option {
    display: flex;
    align-items: flex-start;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.radio-option:hover {
    border-color: #667eea;
    background: #f8f9fa;
}

.radio-option input[type="radio"] {
    margin-right: 1rem;
    margin-top: 0.25rem;
}

.radio-label {
    flex: 1;
}

.radio-label strong {
    display: block;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.radio-label small {
    color: #6c757d;
    font-size: 0.85rem;
}

.radio-option input[type="radio"]:checked + .radio-label {
    color: #667eea;
}

.radio-option input[type="radio"]:checked ~ .radio-label strong {
    color: #667eea;
}

.radio-option input[type="radio"]:checked {
    border-color: #667eea;
    background-color: #667eea;
}

/* Checklist Styles */
.review-checklist {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.review-checklist h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.checklist-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.checkbox-option {
    display: flex;
    align-items: flex-start;
    padding: 0.5rem;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.checkbox-option:hover {
    background: #e9ecef;
}

.checkbox-option input[type="checkbox"] {
    margin-right: 0.75rem;
    margin-top: 0.125rem;
}

.checkbox-option span {
    color: #495057;
}

/* Form Help Text */
.form-help {
    display: block;
    margin-top: 0.25rem;
    color: #6c757d;
    font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .review-container {
        gap: 1rem;
    }
    
    .review-form-card {
        padding: 1rem;
    }
    
    .radio-option {
        padding: 0.75rem;
    }
    
    .review-checklist {
        padding: 1rem;
    }
}
/* Notification Styles */
.notification-dropdown {
    position: relative;
    display: inline-block;
}

.notification-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    position: relative;
    font-size: 1.2rem;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.notification-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: white;
    min-width: 350px;
    max-width: 400px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-radius: 8px;
    z-index: 1000;
    border: 1px solid #e1e5e9;
}

.notification-dropdown-content.show {
    display: block;
}

.notification-header {
    padding: 1rem;
    border-bottom: 1px solid #e1e5e9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notification-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #2c3e50;
}

.mark-all-read {
    background: none;
    border: none;
    color: #667eea;
    cursor: pointer;
    font-size: 0.85rem;
    text-decoration: underline;
}

.notification-list {
    max-height: 400px;
    overflow-y: auto;
}

.notification-item {
    display: flex;
    padding: 1rem;
    border-bottom: 1px solid #f8f9fa;
    transition: background 0.2s ease;
    align-items: flex-start;
}

.notification-item.unread {
    background: #f8f9fa;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-item:hover {
    background: #f1f3f4;
}

.notification-item .notification-icon {
    margin-right: 0.75rem;
    font-size: 1.1rem;
    margin-top: 0.125rem;
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.notification-message {
    color: #6c757d;
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 0.25rem;
}

.notification-time {
    color: #95a5a6;
    font-size: 0.75rem;
}

.mark-read-btn {
    background: none;
    border: none;
    color: #27ae60;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 0.25rem;
    margin-left: 0.5rem;
}

.notification-footer {
    padding: 1rem;
    border-top: 1px solid #e1e5e9;
    text-align: center;
}

.notification-footer a {
    color: #667eea;
    text-decoration: none;
    font-size: 0.9rem;
}

.no-notifications {
    text-align: center;
    padding: 2rem;
    color: #6c757d;
}

/* Notification type colors */
.type-success .notification-icon { color: #27ae60; }
.type-warning .notification-icon { color: #f39c12; }
.type-error .notification-icon { color: #e74c3c; }
.type-info .notification-icon { color: #3498db; }

/* Notifications Page Styles */
.notifications-container {
    margin-top: 1rem;
}

.notification-card {
    display: flex;
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-left: 4px solid #e9ecef;
    align-items: flex-start;
}

.notification-card.unread {
    border-left-color: #667eea;
    background: #f8f9fa;
}

.notification-card .notification-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    margin-top: 0.25rem;
}

.notification-content {
    flex: 1;
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    padding: 0;
    border: none;
}

.notification-header h3 {
    margin: 0;
    color: #2c3e50;
}

.notification-time {
    color: #6c757d;
    font-size: 0.85rem;
}

.notification-message {
    color: #495057;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.notification-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.read-badge {
    color: #27ae60;
    font-size: 0.8rem;
    font-weight: 600;
}

.empty-state {
    text-align: center;
    padding: 3rem;
    color: #6c757d;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .notification-dropdown-content {
        min-width: 300px;
        right: -50px;
    }
    
    .notification-card {
        flex-direction: column;
    }
    
    .notification-actions {
        margin-top: 1rem;
        justify-content: flex-end;
    }
    
    .header-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* Notifications Page Specific Styles */
.notification-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-tabs {
    display: flex;
    gap: 0;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 4px;
}

.filter-tab {
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    color: #6c757d;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-tab:hover {
    color: #495057;
    background: #e9ecef;
}

.filter-tab.active {
    background: #667eea;
    color: white;
}

.filter-count {
    font-size: 0.8rem;
    opacity: 0.8;
}

.search-form {
    flex: 1;
    max-width: 400px;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    width: 100%;
    padding: 0.75rem 3rem 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-size: 0.9rem;
}

.search-btn {
    position: absolute;
    right: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    color: #6c757d;
}

.clear-search {
    position: absolute;
    right: 2.5rem;
    color: #6c757d;
    text-decoration: none;
    font-size: 0.8rem;
}

.bulk-actions {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.notification-card {
    display: flex;
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-left: 4px solid #e9ecef;
    align-items: flex-start;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.notification-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.notification-card.unread {
    border-left-color: #667eea;
    background: #f8f9fa;
}

.notification-card .notification-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
    min-width: 0; /* Prevent flex item from overflowing */
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.notification-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.notification-time {
    color: #6c757d;
    font-size: 0.85rem;
    white-space: nowrap;
}

.notification-message {
    color: #495057;
    line-height: 1.5;
    margin-bottom: 0.75rem;
    word-wrap: break-word;
}

.notification-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-shrink: 0;
    margin-left: 1rem;
}

.read-badge {
    color: #27ae60;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    background: #d4edda;
    border-radius: 4px;
}

.empty-state {
    text-align: center;
    padding: 3rem;
    color: #6c757d;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state h3 {
    margin-bottom: 0.5rem;
    color: #495057;
}

.empty-state p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

/* Notification type colors */
.type-success { color: #27ae60; }
.type-warning { color: #f39c12; }
.type-error { color: #e74c3c; }
.type-info { color: #3498db; }

/* Responsive Design */
@media (max-width: 768px) {
    .notification-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-tabs {
        justify-content: center;
    }
    
    .search-form {
        max-width: none;
    }
    
    .notification-card {
        flex-direction: column;
    }
    
    .notification-actions {
        margin-left: 0;
        margin-top: 1rem;
        justify-content: flex-end;
        width: 100%;
    }
    
    .notification-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .header-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .bulk-actions {
        flex-direction: column;
    }
    
    .bulk-actions .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .filter-tabs {
        flex-direction: column;
    }
    
    .filter-tab {
        justify-content: center;
    }
}

.status-responded { color: #27ae60; }
.status-pending { color: #f39c12; }

/* Edit Feedback Styles */
.form-info {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-left: 4px solid #667eea;
}

.form-info h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #2c3e50;
    font-size: 1.1rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-item label {
    font-weight: 600;
    color: #6c757d;
    font-size: 0.9rem;
}

.info-item span {
    color: #2c3e50;
}

.current-target {
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: #e9ecef;
    border-radius: 4px;
    border-left: 3px solid #667eea;
}

.current-target small {
    color: #495057;
    font-weight: 500;
}

/* Delete Modal Styles */
#deleteModal .modal-content {
    max-width: 500px;
}

#deleteModal h2 {
    color: #e74c3c;
    margin-top: 0;
}

#deleteModal p {
    margin-bottom: 1.5rem;
    line-height: 1.5;
    color: #495057;
}

/* Responsive Design */
@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
        text-align: center;
        margin-bottom: 0.5rem;
    }
}

/* Ethiopian Date Styles */
.ethiopian-date {
    font-family: 'Nyala', 'Abyssinica SIL', 'Kefa', sans-serif;
    direction: ltr;
}

.ethiopian-date-input {
    display: grid;
    grid-template-columns: auto 1fr auto 1fr auto 1fr;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 1rem;
}

.ethiopian-date-input label {
    font-weight: 600;
    color: #495057;
    font-size: 0.9rem;
}

.ethiopian-date-input input,
.ethiopian-date-input select {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
}

.ethiopian-date-input input:focus,
.ethiopian-date-input select:focus {
    border-color: #667eea;
    outline: none;
}

.date-display {
    background: #f8f9fa;
    padding: 0.5rem;
    border-radius: 4px;
    border-left: 3px solid #667eea;
    margin: 0.5rem 0;
}

.ethiopian-date-display {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
}

.gregorian-date-display {
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 0.25rem;
}
/* Direct Feedback Styles */
.feedback-guidelines {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem 0;
    border-left: 4px solid #667eea;
}

.feedback-guidelines h3 {
    margin-top: 0;
    color: #2c3e50;
}

.feedback-guidelines ul {
    margin: 0;
    padding-left: 1.5rem;
}

.feedback-guidelines li {
    margin-bottom: 0.5rem;
    color: #495057;
}

.direct-feedback-indicator {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-left: 0.5rem;
    font-weight: 600;
}

/* Department Info Styles */
.department-info {
    background: #e8f4fd;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid #3498db;
}

.department-info h3 {
    margin-top: 0;
    color: #2c3e50;
}

.department-info p {
    margin: 0.5rem 0;
    color: #495057;
}

.warning {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    padding: 1rem;
    margin: 1rem 0;
}

.warning p {
    margin: 0.5rem 0;
    color: #856404;
}

.warning ul {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
    color: #856404;
}

.warning li {
    margin-bottom: 0.25rem;
}

.user-info {
    margin-bottom: 0.5rem;
}

.user-info small {
    color: #6c757d;
    font-style: italic;
}

.btn-warning {
    background: #f39c12;
    color: white;
}

.btn-warning:hover {
    background: #e67e22;
}

/* Form disabled state */
.form-group input:disabled,
.form-group select:disabled,
.form-group textarea:disabled {
    background-color: #e9ecef;
    opacity: 0.6;
    cursor: not-allowed;
}

.btn:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
}

/* Access Info Styles */
.access-info {
    background: #e8f5e8;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid #27ae60;
}

.access-info h3 {
    margin-top: 0;
    color: #2c3e50;
}

.access-info p {
    margin: 0.5rem 0;
    color: #495057;
}

.access-info strong {
    color: #27ae60;
}

/* Stats Container */
.stats-container {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.stat-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    border-left: 4px solid #667eea;
}

.stat-card h3 {
    margin: 0 0 0.5rem 0;
    color: #6c757d;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #667eea;
    margin: 0.5rem 0;
}

.stat-card small {
    color: #6c757d;
    font-size: 0.8rem;
}

/* Character counters */
.char-counter {
    display: block;
    text-align: right;
    color: #6c757d;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 2rem;
    color: #6c757d;
    background: #f8f9fa;
    border-radius: 8px;
}

.empty-state p {
    margin: 0;
    font-size: 1.1rem;
}

/* Form improvements */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}