* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #667eea;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-links a:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

.nav-links a.active {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #667eea;
}

/* Main Container */
.container {
    flex: 1;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
    width: 100%;
}

/* Welcome Page */
.welcome {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.welcome h1 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.welcome p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.welcome-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Authentication Pages */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
}

.auth-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
}

.auth-card h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #555;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.show-password {
    position: absolute;
    right: 10px;
    top: 35px;
    background: none;
    border: none;
    color: #667eea;
    cursor: pointer;
    padding: 0.5rem;
}

.hint {
    display: block;
    margin-top: 0.3rem;
    color: #666;
    font-size: 0.85rem;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox input {
    cursor: pointer;
}

.forgot-password {
    color: #667eea;
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-password:hover {
    text-decoration: underline;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e1e5e9;
}

.auth-footer a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Buttons */
.btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
}

.btn-danger {
    background: #f44336;
    color: white;
    border: 2px solid #f44336;
}

.btn-danger:hover {
    background: #d32f2f;
    border-color: #d32f2f;
}

.btn-outline {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
}

.btn-block {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Dashboard */
.dashboard-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.dashboard-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e1e5e9;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.dashboard-header h1 {
    color: #333;
    font-size: 2rem;
}

.subtitle {
    color: #666;
    margin-top: 0.5rem;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.dashboard-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #e1e5e9;
    transition: transform 0.3s;
    text-align: center;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.dashboard-card h3 {
    margin-bottom: 0.5rem;
    color: #333;
    font-size: 1.1rem;
}

.dashboard-card p {
    color: #333;
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: bold;
}

.dashboard-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.content-section {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.content-section h2 {
    color: #333;
    font-size: 1.3rem;
}

.task-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.task-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #667eea;
    cursor: pointer;
    transition: transform 0.2s;
}

.task-item:hover {
    transform: translateX(5px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.task-item.completed {
    opacity: 0.7;
    border-left-color: #4caf50;
}

.task-item.overdue {
    border-left-color: #f44336;
}

.task-item.high {
    border-left-color: #ff9800;
}

.task-icon {
    font-size: 1.2rem;
    color: #667eea;
}

.task-details {
    flex: 1;
}

.task-details h4 {
    margin-bottom: 0.3rem;
    font-weight: 500;
}

.task-details p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.task-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: #888;
}

.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    background: white;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    text-align: left;
}

.action-btn:hover {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.05);
}

.logout-btn {
    color: #f44336;
    border-color: #f44336;
}

.logout-btn:hover {
    background: rgba(244, 67, 54, 0.1);
}

/* Tasks Page */
.tasks-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.tasks-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.tasks-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: 2px solid #e1e5e9;
    background: white;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover {
    border-color: #667eea;
    color: #667eea;
}

.filter-btn.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.search-box {
    position: relative;
    flex: 1;
    max-width: 300px;
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.search-box input {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 3rem;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
}

.search-box input:focus {
    outline: none;
    border-color: #667eea;
}

.tasks-list-container {
    margin-top: 2rem;
}

.tasks-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e1e5e9;
}

.tasks-stats select {
    padding: 0.5rem;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    background: white;
}

.tasks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.task-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid #e1e5e9;
    transition: transform 0.3s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.task-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.task-card.completed {
    background: #f0fff4;
    border-color: #4caf50;
}

.task-card.overdue {
    background: #fff5f5;
    border-color: #f44336;
}

.task-card.high {
    border-left: 4px solid #f44336;
}

.task-card.medium {
    border-left: 4px solid #ff9800;
}

.task-card.low {
    border-left: 4px solid #4caf50;
}

.task-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.task-card-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.task-card-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.task-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.task-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.task-priority {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.priority-high {
    background: #ffebee;
    color: #f44336;
}

.priority-medium {
    background: #fff3e0;
    color: #ff9800;
}

.priority-low {
    background: #e8f5e9;
    color: #4caf50;
}

.task-category {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: #e3f2fd;
    color: #1976d2;
    border-radius: 20px;
    font-size: 0.8rem;
}

.task-due-date {
    font-size: 0.9rem;
    color: #666;
}

.task-status {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-completed {
    background: #e8f5e9;
    color: #4caf50;
}

.status-pending {
    background: #fff3e0;
    color: #ff9800;
}

.status-overdue {
    background: #ffebee;
    color: #f44336;
}

.task-actions {
    display: flex;
    gap: 0.5rem;
}

.task-actions button {
    padding: 0.5rem;
    border: none;
    background: none;
    cursor: pointer;
    border-radius: 4px;
    color: #666;
}

.task-actions button:hover {
    background: rgba(0, 0, 0, 0.05);
}

.no-tasks {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.no-tasks i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #ddd;
}

.no-tasks h3 {
    margin-bottom: 0.5rem;
    color: #666;
}

/* Task Form */
.task-form-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.task-form-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e1e5e9;
}

.task-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.form-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

/* Profile Page */
.profile-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.profile-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e1e5e9;
}

.profile-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
}

.profile-sidebar {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 2rem;
}

.profile-avatar {
    text-align: center;
    margin-bottom: 2rem;
}

.avatar-circle {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 2rem;
    font-weight: bold;
}

.profile-menu {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.menu-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    background: white;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: left;
    font-size: 0.95rem;
}

.menu-btn:hover {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.05);
}

.menu-btn.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.profile-main {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 2rem;
}

.profile-section {
    display: none;
}

.profile-section.active {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

.profile-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 600px;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlide 0.3s ease-out;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e1e5e9;
}

.modal-header h2 {
    color: #333;
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
    line-height: 1;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-top: 1px solid #e1e5e9;
    justify-content: flex-end;
}

/* Notification */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    background: #333;
    color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s;
    z-index: 1001;
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

/* Footer */
.footer {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    margin-top: auto;
}

.footer p {
    color: #666;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes modalSlide {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#page-content > * {
    animation: fadeIn 0.3s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .welcome-buttons {
        flex-direction: column;
    }

    .form-options {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-content {
        grid-template-columns: 1fr;
    }

    .tasks-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-buttons {
        justify-content: center;
    }

    .search-box {
        max-width: 100%;
    }

    .tasks-grid {
        grid-template-columns: 1fr;
    }

    .profile-content {
        grid-template-columns: 1fr;
    }

    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* Add these styles to the existing CSS file */

/* User Dashboard Specific Styles */
.header-stats {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #667eea;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.3rem;
}

.dashboard-card.primary {
    border-left: 4px solid #667eea;
}

.dashboard-card.success {
    border-left: 4px solid #4caf50;
}

.dashboard-card.info {
    border-left: 4px solid #2196f3;
}

.dashboard-card.warning {
    border-left: 4px solid #ff9800;
}

/* Submit Work Page */
.submit-work-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.submit-work-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e1e5e9;
}

.task-details-section {
    margin-bottom: 2rem;
}

.task-details-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid #e1e5e9;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.detail-item {
    display: flex;
    flex-direction: column;
}

.detail-item strong {
    color: #555;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.task-instructions {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.form-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e1e5e9;
}

.form-section h3 {
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.2rem;
}

.file-upload {
    margin-top: 0.5rem;
}

.file-upload-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border: 2px dashed #e1e5e9;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    justify-content: center;
}

.file-upload-label:hover {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.05);
}

.file-preview {
    margin-top: 1rem;
    display: none;
}

.file-preview img {
    max-width: 200px;
    border-radius: 8px;
    border: 1px solid #e1e5e9;
}

/* Admin Dashboard Styles */
.admin-dashboard-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.admin-dashboard-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e1e5e9;
}

.admin-actions {
    display: flex;
    gap: 1rem;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.admin-stat-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid #e1e5e9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.3s;
}

.admin-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-content h3 {
    color: #555;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #667eea;
}

.stat-icon {
    font-size: 2.5rem;
    color: #667eea;
    opacity: 0.7;
}

.admin-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.admin-section {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
}

.submissions-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.submission-item {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e1e5e9;
    cursor: pointer;
    transition: all 0.3s;
}

.submission-item:hover {
    transform: translateX(5px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.submission-item.pending {
    border-left: 4px solid #ff9800;
}

.submission-item.approved {
    border-left: 4px solid #4caf50;
}

.submission-item.rejected {
    border-left: 4px solid #f44336;
}

.submission-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.submission-user {
    font-weight: 600;
    color: #333;
}

.submission-task {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.submission-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: #888;
}

.quick-admin-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.admin-action-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: left;
    width: 100%;
}

.admin-action-btn:hover {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.05);
}

.admin-action-btn i {
    font-size: 1.5rem;
    color: #667eea;
}

.admin-action-btn strong {
    display: block;
    color: #333;
    margin-bottom: 0.2rem;
}

.admin-action-btn small {
    color: #666;
    font-size: 0.85rem;
}

/* Admin Form Styles */
.admin-form-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.admin-form-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e1e5e9;
}

.admin-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.admin-form .form-section {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e1e5e9;
}

.admin-form h3 {
    margin-bottom: 1.5rem;
    color: #333;
    font-size: 1.3rem;
}

.users-checklist {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 1rem;
    background: white;
}

.user-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    cursor: pointer;
}

.user-checkbox:hover {
    background: rgba(102, 126, 234, 0.05);
    border-radius: 4px;
}

/* Manage Users Table */
.admin-manage-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.admin-manage-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e1e5e9;
}

.table-tools {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.users-table {
    overflow-x: auto;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1rem;
}

.users-table table {
    width: 100%;
    border-collapse: collapse;
}

.users-table th {
    background: #667eea;
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.users-table td {
    padding: 1rem;
    border-bottom: 1px solid #e1e5e9;
    background: white;
}

.users-table tr:hover td {
    background: #f8f9fa;
}

.user-cell {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.user-info h4 {
    margin-bottom: 0.2rem;
    color: #333;
}

.user-info p {
    color: #666;
    font-size: 0.85rem;
}

.status-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-active {
    background: #e8f5e9;
    color: #4caf50;
}

.status-inactive {
    background: #ffebee;
    color: #f44336;
}

.status-pending {
    background: #fff3e0;
    color: #ff9800;
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
}

.action-btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    border-radius: 6px;
}

/* Submissions Page */
.admin-submissions-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.submission-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid #e1e5e9;
    cursor: pointer;
    transition: all 0.3s;
}

.submission-card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.submission-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.submission-user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.submission-platform {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: #e3f2fd;
    color: #1976d2;
    border-radius: 20px;
    font-size: 0.85rem;
}

.submission-status {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.submission-preview {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.submission-link {
    color: #667eea;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.submission-link:hover {
    text-decoration: underline;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 15px;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlide 0.3s ease-out;
}

.modal-body {
    padding: 1.5rem;
}

.submission-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.detail-row strong {
    color: #555;
    font-size: 0.95rem;
}

.screenshot-preview {
    max-width: 100%;
    border-radius: 8px;
    border: 1px solid #e1e5e9;
}

.btn-success {
    background: #4caf50;
    color: white;
    border: 2px solid #4caf50;
}

.btn-success:hover {
    background: #388e3c;
    border-color: #388e3c;
}

.btn-warning {
    background: #ff9800;
    color: white;
    border: 2px solid #ff9800;
}

.btn-warning:hover {
    background: #f57c00;
    border-color: #f57c00;
}

.btn-danger {
    background: #f44336;
    color: white;
    border: 2px solid #f44336;
}

.btn-danger:hover {
    background: #d32f2f;
    border-color: #d32f2f;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-stats {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .stat-item {
        flex: 1;
        min-width: 100px;
    }
    
    .admin-content-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .admin-manage-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .table-tools {
        flex-direction: column;
        align-items: stretch;
    }
    
    .users-table {
        font-size: 0.9rem;
    }
    
    .action-buttons {
        flex-direction: column;
    }
}

/* Animations */
@keyframes modalSlide {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Add these styles to the existing CSS file */

/* Party Specific Colors */
:root {
    --party-primary: #FC2C2C;
    --party-secondary: #0033A0;
    --party-accent: #FFD700;
    --party-light: #FFEBEE;
    --party-dark: #B71C1C;
}

/* Welcome Page */
.welcome-header {
    text-align: center;
    margin-bottom: 2rem;
}

.welcome-header h1 {
    color: var(--party-primary);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.welcome-header h2 {
    color: var(--party-secondary);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.welcome-description {
    text-align: center;
    font-size: 1.1rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-left: 4px solid var(--party-primary);
}

.stat-card i {
    font-size: 2.5rem;
    color: var(--party-primary);
}

.stat-card h3 {
    font-size: 2rem;
    color: var(--party-secondary);
    margin-bottom: 0.3rem;
}

.stat-card p {
    color: #666;
    font-size: 0.9rem;
}

/* Registration Form */
.registration-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.registration-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--party-light);
}

.registration-header h1 {
    color: var(--party-primary);
    margin-bottom: 0.5rem;
}

.registration-form .form-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid var(--party-secondary);
}

.registration-form h3 {
    color: var(--party-secondary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.declaration {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e1e5e9;
}

.footer-links {
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.footer-links a {
    color: var(--party-primary);
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* User Dashboard */
.user-info-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.user-avatar-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--party-primary) 0%, var(--party-secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: bold;
}

.user-position {
    color: var(--party-secondary);
    font-weight: 500;
    margin: 0.3rem 0;
}

.user-location {
    color: #666;
    font-size: 0.9rem;
}

.hierarchy-info {
    display: flex;
    gap: 2rem;
    background: var(--party-light);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.hierarchy-item strong {
    color: var(--party-primary);
    margin-right: 0.5rem;
}

/* Dashboard Tabs */
.dashboard-tabs {
    display: flex;
    gap: 0.5rem;
    margin: 2rem 0;
    border-bottom: 2px solid #e1e5e9;
    padding-bottom: 0.5rem;
}

.tab-btn {
    padding: 0.8rem 1.5rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-weight: 500;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.tab-btn:hover {
    color: var(--party-primary);
}

.tab-btn.active {
    color: var(--party-primary);
    border-bottom-color: var(--party-primary);
    background: rgba(252, 44, 44, 0.05);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

/* Team Tasks */
.team-members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.team-member-card {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid #e1e5e9;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.team-member-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--party-primary) 0%, var(--party-secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.team-member-info h4 {
    margin-bottom: 0.2rem;
    color: #333;
}

.team-member-info p {
    color: #666;
    font-size: 0.85rem;
}

/* Admin Dashboard */
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.admin-welcome h1 {
    color: var(--party-primary);
    margin-bottom: 0.5rem;
}

.admin-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.admin-stat-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.admin-stat-card.total-users {
    border-left: 4px solid var(--party-primary);
}

.admin-stat-card.pending-approvals {
    border-left: 4px solid #ff9800;
}

.admin-stat-card.active-tasks {
    border-left: 4px solid #2196f3;
}

.admin-stat-card.submissions {
    border-left: 4px solid #4caf50;
}

.stat-content h3 {
    color: #555;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.3rem;
}

.total-users .stat-number {
    color: var(--party-primary);
}

.pending-approvals .stat-number {
    color: #ff9800;
}

.active-tasks .stat-number {
    color: #2196f3;
}

.submissions .stat-number {
    color: #4caf50;
}

.stat-change {
    color: #666;
    font-size: 0.85rem;
}

.stat-icon {
    font-size: 3rem;
    opacity: 0.3;
}

/* Admin Tabs */
.admin-tabs {
    display: flex;
    gap: 0.5rem;
    margin: 2rem 0;
    border-bottom: 2px solid #e1e5e9;
    padding-bottom: 0.5rem;
}

.admin-tab-btn {
    padding: 0.8rem 1.5rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-weight: 500;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.admin-tab-btn:hover {
    color: var(--party-primary);
}

.admin-tab-btn.active {
    color: var(--party-primary);
    border-bottom-color: var(--party-primary);
    background: rgba(252, 44, 44, 0.05);
}

.admin-tab-content {
    display: none;
}

.admin-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

/* Hierarchy Overview */
.hierarchy-levels {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hierarchy-level {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid #e1e5e9;
}

.level-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e1e5e9;
}

.level-header h3 {
    color: var(--party-secondary);
    margin: 0;
}

.level-count {
    background: var(--party-primary);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.level-members {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.level-member {
    background: white;
    padding: 0.8rem;
    border-radius: 6px;
    border: 1px solid #e1e5e9;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.level-member-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--party-primary) 0%, var(--party-secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
}

.level-member-info h4 {
    margin: 0 0 0.2rem 0;
    font-size: 0.9rem;
}

.level-member-info p {
    margin: 0;
    color: #666;
    font-size: 0.8rem;
}

/* Analytics */
.analytics-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.analytics-filters select {
    padding: 0.8rem;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    background: white;
    min-width: 200px;
}

.analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.analytics-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid #e1e5e9;
}

.analytics-card h3 {
    margin-bottom: 1rem;
    color: var(--party-secondary);
}

/* Districts Management */
.districts-tabs {
    display: flex;
    gap: 0.5rem;
    margin: 1.5rem 0;
    border-bottom: 2px solid #e1e5e9;
    padding-bottom: 0.5rem;
    flex-wrap: wrap;
}

.dist-tab-btn {
    padding: 0.6rem 1.2rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-weight: 500;
    color: #666;
    transition: all 0.3s;
}

.dist-tab-btn:hover {
    color: var(--party-primary);
}

.dist-tab-btn.active {
    color: var(--party-primary);
    border-bottom-color: var(--party-primary);
}

.dist-tab-content {
    display: none;
}

.dist-tab-content.active {
    display: block;
}

.management-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.districts-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.district-item {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e1e5e9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.district-info h4 {
    margin: 0 0 0.3rem 0;
    color: #333;
}

.district-info p {
    margin: 0;
    color: #666;
    font-size: 0.85rem;
}

.district-actions {
    display: flex;
    gap: 0.5rem;
}

/* Registration Review */
.registrations-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.registrations-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.registration-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid #e1e5e9;
    cursor: pointer;
    transition: all 0.3s;
}

.registration-card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.registration-card.pending {
    border-left: 4px solid #ff9800;
}

.registration-card.approved {
    border-left: 4px solid #4caf50;
}

.registration-card.rejected {
    border-left: 4px solid #f44336;
}

.registration-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.registration-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.registration-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--party-primary) 0%, var(--party-secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.registration-status {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-pending {
    background: #fff3e0;
    color: #ff9800;
}

.status-approved {
    background: #e8f5e9;
    color: #4caf50;
}

.status-rejected {
    background: #ffebee;
    color: #f44336;
}

.registration-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.registration-detail {
    font-size: 0.9rem;
}

.registration-detail strong {
    color: #555;
    display: block;
    margin-bottom: 0.2rem;
}

/* Broadcast Task */
.broadcast-form .assignment-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.radio {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: white;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.radio:hover {
    border-color: var(--party-primary);
    background: rgba(252, 44, 44, 0.05);
}

.radio input:checked + span {
    font-weight: bold;
    color: var(--party-primary);
}

.assignment-details {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

/* Modal Styles */
.modal-footer .password-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.modal-footer .password-section input {
    flex: 1;
    padding: 0.8rem;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
}

/* Task Cards */
.task-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid #e1e5e9;
    margin-bottom: 1rem;
    position: relative;
}

.task-card.priority-high {
    border-left: 4px solid #f44336;
}

.task-card.priority-medium {
    border-left: 4px solid #ff9800;
}

.task-card.priority-low {
    border-left: 4px solid #4caf50;
}

.task-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.task-card-title {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.task-card-platform {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: #e3f2fd;
    color: #1976d2;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-right: 0.5rem;
}

.task-card-status {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-pending {
    background: #fff3e0;
    color: #ff9800;
}

.status-submitted {
    background: #e3f2fd;
    color: #1976d2;
}

.status-approved {
    background: #e8f5e9;
    color: #4caf50;
}

.status-rejected {
    background: #ffebee;
    color: #f44336;
}

.task-card-meta {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    color: #666;
    font-size: 0.9rem;
}

.task-card-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .admin-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .admin-actions {
        width: 100%;
    }
    
    .admin-actions button {
        flex: 1;
        min-width: 200px;
    }
    
    .hierarchy-info {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .dashboard-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
    }
    
    .tab-btn {
        white-space: nowrap;
    }
    
    .registration-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .modal-footer {
        flex-direction: column;
        gap: 1rem;
    }
    
    .modal-footer .password-section {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Print Styles */
@media print {
    .navbar, .footer, .dashboard-tabs, .admin-tabs, .districts-tabs, button {
        display: none !important;
    }
    
    .container {
        padding: 0;
        margin: 0;
    }
    
    .dashboard-container, .admin-dashboard-container {
        box-shadow: none;
        border: none;
        padding: 0;
    }
}

/* Add to CSS file */
.assembly-group {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e1e5e9;
}

.assembly-group h4 {
    color: var(--party-secondary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--party-primary);
}

.mandals-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.mandal-item {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e1e5e9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mandal-actions {
    display: flex;
    gap: 0.5rem;
}

.district-header {
    color: var(--party-primary);
    margin: 1.5rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e1e5e9;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links a:hover {
    background: rgba(255,255,255,0.1);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Main Container */
.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
    min-height: calc(100vh - 200px);
}

/* Welcome Page */
.welcome {
    text-align: center;
    padding: 3rem 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.welcome-header h1 {
    color: #2c3e50;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.welcome-header h2 {
    color: #7f8c8d;
    font-weight: normal;
    margin-bottom: 2rem;
}

.welcome-description {
    max-width: 800px;
    margin: 0 auto 3rem;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card i {
    font-size: 2.5rem;
}

.stat-card h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.stat-card p {
    opacity: 0.9;
    font-size: 0.9rem;
}

.welcome-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: #3498db;
    color: white;
}

.btn-secondary:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.btn-danger {
    background: #e74c3c;
    color: white;
}

.btn-danger:hover {
    background: #c0392b;
}

.btn-success {
    background: #2ecc71;
    color: white;
}

.btn-success:hover {
    background: #27ae60;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* Auth Pages */
.auth-container {
    max-width: 400px;
    margin: 2rem auto;
}

.auth-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h2 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Forms */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.show-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.forgot-password {
    color: #667eea;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.auth-footer {
    margin-top: 2rem;
    text-align: center;
    color: #666;
}

.auth-footer a {
    color: #667eea;
    text-decoration: none;
}

.note {
    margin-top: 1rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 5px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Registration Form */
.registration-container {
    max-width: 800px;
    margin: 0 auto;
}

.registration-header {
    text-align: center;
    margin-bottom: 2rem;
}

.registration-header h1 {
    color: #2c3e50;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.registration-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.form-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.form-section h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-row .form-group {
    flex: 1;
}

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox input {
    margin-top: 0.25rem;
}

.checkbox.declaration span {
    font-size: 0.9rem;
    color: #666;
}

.form-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

/* Dashboard */
.dashboard-container {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    overflow: hidden;
}

.dashboard-header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 2rem;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.user-info-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.user-avatar-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: white;
}

.header-stats {
    display: flex;
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.hierarchy-info {
    display: flex;
    gap: 2rem;
    background: rgba(255,255,255,0.1);
    padding: 1rem;
    border-radius: 5px;
}

.hierarchy-item {
    display: flex;
    gap: 0.5rem;
}

/* Tabs */
.dashboard-tabs {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #ddd;
}

.tab-btn {
    padding: 1rem 2rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.tab-btn.active {
    background: white;
    color: #2c3e50;
    border-bottom: 3px solid #667eea;
}

.tab-content {
    display: none;
    padding: 2rem;
}

.tab-content.active {
    display: block;
}

/* Tasks */
.tasks-container {
    padding: 2rem;
}

.tasks-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.tasks-header h2 {
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tasks-filters {
    display: flex;
    gap: 0.5rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
}

.filter-btn.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.tasks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.task-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s;
}

.task-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.task-card.priority-high {
    border-left: 4px solid #e74c3c;
}

.task-card.priority-medium {
    border-left: 4px solid #f39c12;
}

.task-card.priority-low {
    border-left: 4px solid #2ecc71;
}

.task-card.priority-urgent {
    border-left: 4px solid #9b59b6;
}

.task-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.task-card-title {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.task-card-platform {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background: #f8f9fa;
    border-radius: 3px;
    font-size: 0.8rem;
    color: #666;
}

.task-card-status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.task-card-status.status-pending {
    background: #f39c12;
    color: white;
}

.task-card-status.status-submitted {
    background: #3498db;
    color: white;
}

.task-card-status.status-approved {
    background: #2ecc71;
    color: white;
}

.task-card-status.status-rejected {
    background: #e74c3c;
    color: white;
}

.task-card-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.task-card-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.task-guidelines {
    margin: 1rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 5px;
    border-left: 3px solid #3498db;
}

.task-card-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.no-tasks {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.no-tasks i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ddd;
}

/* Team Tasks */
.team-tasks-container {
    padding: 2rem;
}

.team-header {
    margin-bottom: 2rem;
}

.team-header h2 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.team-members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.team-member-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: all 0.3s;
}

.team-member-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.team-member-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
}

.team-tasks-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.submission-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 5px;
    margin-top: 0.5rem;
}

/* Profile */
.profile-container {
    padding: 2rem;
}

.profile-container h2 {
    color: #2c3e50;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.profile-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.profile-section {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.profile-section h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-item {
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed #ddd;
    padding-bottom: 0.5rem;
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.social-handles {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.social-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
}

.profile-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    padding-top: 2rem;
    border-top: 1px solid #ddd;
}

/* Admin Dashboard */
.admin-dashboard-container {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    overflow: hidden;
}

.admin-header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-welcome h1 {
    color: white;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-actions {
    display: flex;
    gap: 1rem;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
    background: #f8f9fa;
}

.admin-stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.admin-stat-card:hover {
    transform: translateY(-5px);
}

.stat-content h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #2c3e50;
}

.stat-change {
    color: #666;
    font-size: 0.9rem;
}

.stat-icon {
    font-size: 2.5rem;
    color: #667eea;
    opacity: 0.7;
}

.admin-tabs {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #ddd;
}

.admin-tab-btn {
    padding: 1rem 2rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.admin-tab-btn.active {
    background: white;
    color: #2c3e50;
    border-bottom: 3px solid #667eea;
}

.admin-tab-content {
    display: none;
    padding: 2rem;
}

.admin-tab-content.active {
    display: block;
}

/* Hierarchy Overview */
.hierarchy-overview h2 {
    color: #2c3e50;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hierarchy-levels {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hierarchy-level {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.level-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.level-header h3 {
    color: #2c3e50;
}

.level-count {
    background: #667eea;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.level-members {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.level-member {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 6px;
    border: 1px solid #ddd;
}

.level-member-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 0.9rem;
}

/* Analytics */
.analytics-container h2 {
    color: #2c3e50;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.analytics-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.analytics-filters select {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.analytics-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.analytics-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.completion-rate {
    font-size: 2rem;
    font-weight: bold;
    color: #2ecc71;
    text-align: center;
    padding: 2rem;
}

/* District Management */
.districts-management h2 {
    color: #2c3e50;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.districts-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.dist-tab-btn {
    padding: 0.75rem 1.5rem;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
}

.dist-tab-btn.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.dist-tab-content {
    display: none;
}

.dist-tab-content.active {
    display: block;
}

.management-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.management-section h3 {
    color: #2c3e50;
}

.districts-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.district-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    transition: all 0.3s;
}

.district-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.district-info h4 {
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.district-info p {
    color: #666;
    font-size: 0.9rem;
}

.district-actions {
    display: flex;
    gap: 0.5rem;
}

.district-header {
    color: #2c3e50;
    margin: 1.5rem 0 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #667eea;
}

.assembly-group {
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.assembly-group h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #ddd;
}

.mandals-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.5rem;
}

.mandal-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Registration Review */
.admin-registrations-container {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 2rem;
}

.registrations-header {
    margin-bottom: 2rem;
}

.registrations-header h1 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.registrations-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-buttons {
    display: flex;
    gap: 0.5rem;
}

.search-box {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

.search-box input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.registrations-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.registration-card {
    padding: 1.5rem;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.registration-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.registration-card.pending {
    border-left: 4px solid #f39c12;
}

.registration-card.approved {
    border-left: 4px solid #2ecc71;
}

.registration-card.rejected {
    border-left: 4px solid #e74c3c;
}

.registration-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.registration-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.registration-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 1.2rem;
}

.registration-status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.registration-status.status-pending {
    background: #f39c12;
    color: white;
}

.registration-status.status-approved {
    background: #2ecc71;
    color: white;
}

.registration-status.status-rejected {
    background: #e74c3c;
    color: white;
}

.registration-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    font-size: 0.9rem;
}

.registration-detail {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed #ddd;
    padding-bottom: 0.5rem;
}

.no-requests {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.no-requests i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ddd;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1001;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 10px;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    width: 90%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    color: #2c3e50;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.password-section {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: auto;
}

.password-section input {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    min-width: 200px;
}

/* User Details in Modal */
.user-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.detail-section {
    border-bottom: 1px solid #eee;
    padding-bottom: 1.5rem;
}

.detail-section:last-child {
    border-bottom: none;
}

.detail-section h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #667eea;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px dashed #eee;
}

.detail-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* Notification Toast */
.notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    padding: 1rem 1.5rem;
    background: #4caf50;
    color: white;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s;
    z-index: 1002;
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    margin-top: 2rem;
}

.footer-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: #2c3e50;
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
        display: none;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .hamburger {
        display: block;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .welcome-header h1 {
        font-size: 1.5rem;
        flex-direction: column;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .header-stats {
        width: 100%;
        justify-content: space-between;
    }
    
    .dashboard-tabs {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        flex: 1;
        min-width: 120px;
        justify-content: center;
        padding: 1rem;
    }
    
    .tasks-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .form-row .form-group {
        width: 100%;
    }
    
    .admin-header {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }
    
    .admin-actions {
        width: 100%;
        flex-direction: column;
    }
    
    .admin-tabs {
        flex-wrap: wrap;
    }
    
    .admin-tab-btn {
        flex: 1;
        min-width: 150px;
        justify-content: center;
        padding: 1rem;
    }
    
    .registrations-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        max-width: 100%;
    }
    
    .modal-content {
        width: 95%;
        margin: 10px;
    }
    
    .detail-row {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .password-section {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    
    .password-section input {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0.5rem;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .welcome-header h1 {
        font-size: 1.3rem;
    }
    
    .welcome-header h2 {
        font-size: 1.1rem;
    }
    
    .stat-card {
        flex-direction: column;
        text-align: center;
    }
    
    .welcome-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .dashboard-tabs {
        flex-direction: column;
    }
    
    .tab-btn {
        width: 100%;
    }
    
    .admin-tabs {
        flex-direction: column;
    }
    
    .admin-tab-btn {
        width: 100%;
    }
    
    .modal-footer {
        flex-direction: column;
    }
    
    .modal-footer .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}


/* Add these to your existing style.css */

/* Fix for template display */
template {
    display: none;
}

/* Welcome page styles */
.welcome {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
}

.welcome-header h1 {
    color: #333;
    margin-bottom: 0.5rem;
}

.welcome-header h2 {
    color: #666;
    margin-bottom: 2rem;
}

.welcome-description {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-card i {
    font-size: 2.5rem;
    color: #f44336;
}

.stat-card h3 {
    font-size: 2rem;
    margin: 0;
    color: #333;
}

.stat-card p {
    margin: 0.25rem 0 0 0;
    color: #666;
    font-size: 0.9rem;
}

.welcome-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.welcome-buttons .btn {
    min-width: 180px;
    padding: 0.75rem 1.5rem;
}

/* Fix for forms */
.form-group {
    position: relative;
}

.show-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
}

/* Modal fixes */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    border-radius: 10px;
    max-width: 90%;
    max-height: 90%;
    overflow-y: auto;
}

/* Notification */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #4caf50;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    display: none;
}

.notification.show {
    display: block;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}



/* Admin Submissions Styles */
.admin-submissions-container {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.submissions-header {
    margin-bottom: 30px;
}

.submissions-header h1 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.submissions-header p {
    color: #7f8c8d;
    margin-bottom: 20px;
}

.submissions-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.filter-buttons {
    display: flex;
    gap: 10px;
}

.filter-btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    cursor: pointer;
}

.filter-btn.active {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

.search-box {
    position: relative;
    width: 300px;
}

.search-box i {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #95a5a6;
}

.search-box input {
    width: 100%;
    padding: 8px 8px 8px 35px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Submission Card */
.submission-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-left: 4px solid #3498db;
    cursor: pointer;
    transition: transform 0.2s;
}

.submission-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.submission-card.pending {
    border-left-color: #f39c12;
}

.submission-card.approved {
    border-left-color: #2ecc71;
}

.submission-card.rejected {
    border-left-color: #e74c3c;
}

.submission-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 20px;
}

.submission-user {
    display: flex;
    gap: 15px;
    align-items: center;
    flex: 1;
}

.submission-avatar {
    width: 50px;
    height: 50px;
    background: #3498db;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.submission-task {
    flex: 2;
}

.submission-task h4 {
    margin: 0 0 5px 0;
    color: #2c3e50;
}

.submission-meta {
    display: flex;
    gap: 15px;
    align-items: center;
}

.platform-badge {
    background: #ecf0f1;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.submission-date {
    color: #7f8c8d;
    font-size: 14px;
}

.submission-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-approved {
    background: #d4edda;
    color: #155724;
}

.status-rejected {
    background: #f8d7da;
    color: #721c24;
}

.submission-preview {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 15px;
}

.submission-link a {
    color: #3498db;
    text-decoration: none;
}

.submission-link a:hover {
    text-decoration: underline;
}

.submission-caption {
    margin-top: 10px;
}

.submission-caption p {
    margin: 5px 0 0 0;
    color: #2c3e50;
    line-height: 1.4;
}

.submission-actions {
    display: flex;
    gap: 10px;
}

/* Review Modal Styles */
.wide-modal {
    max-width: 800px;
    width: 90%;
}

.submission-details {
    max-height: 500px;
    overflow-y: auto;
}

.detail-section {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.detail-section h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-row {
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
}

.detail-row strong {
    width: 120px;
    color: #7f8c8d;
    font-weight: 600;
}

.detail-row span {
    flex: 1;
    color: #2c3e50;
}

.detail-row a {
    color: #3498db;
    text-decoration: none;
}

.detail-row a:hover {
    text-decoration: underline;
}

.caption-box, .notes-box, .comments-box {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #eee;
    margin-top: 5px;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.screenshot-box {
    margin-top: 10px;
}

.screenshot-box img {
    max-width: 100%;
    max-height: 300px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.no-submissions {
    text-align: center;
    padding: 60px 20px;
    color: #7f8c8d;
}

.no-submissions i {
    font-size: 60px;
    margin-bottom: 20px;
    color: #bdc3c7;
}

.no-submissions h3 {
    margin-bottom: 10px;
    color: #7f8c8d;
}



.admin-submissions-container {
    padding: 20px;
}

.submissions-header {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.submissions-header h1 {
    color: #333;
    margin: 0;
}

.submissions-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn.active {
    background: #3498db;
    color: white;
    border-color: #2980b9;
}

.search-box {
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 12px;
    min-width: 250px;
}

.search-box i {
    margin-right: 8px;
    color: #666;
}

.search-box input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 14px;
}

.submissions-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.submission-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    cursor: pointer;
    transition: box-shadow 0.3s;
}

.submission-card:hover {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.submission-card.pending {
    border-left: 4px solid #f39c12;
}

.submission-card.approved {
    border-left: 4px solid #27ae60;
}

.submission-card.rejected {
    border-left: 4px solid #e74c3c;
}

.submission-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 15px;
}

.submission-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.submission-avatar {
    width: 50px;
    height: 50px;
    background: #3498db;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.submission-task {
    flex: 1;
    min-width: 200px;
}

.submission-task h4 {
    margin: 0 0 5px 0;
    color: #333;
}

.submission-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.platform-badge {
    background: #e3f2fd;
    color: #1976d2;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.submission-date {
    color: #666;
    font-size: 12px;
}

.submission-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-approved {
    background: #d4edda;
    color: #155724;
}

.status-rejected {
    background: #f8d7da;
    color: #721c24;
}

.submission-preview {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 15px;
}

.submission-link a {
    color: #3498db;
    text-decoration: none;
    word-break: break-all;
}

.submission-link a:hover {
    text-decoration: underline;
}

.submission-caption p {
    margin: 5px 0 0 0;
    color: #555;
}

.submission-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.no-submissions {
    text-align: center;
    padding: 40px;
    color: #666;
}

.no-submissions i {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 15px;
}

.loading {
    text-align: center;
    padding: 40px;
    color: #666;
}

.loading i {
    font-size: 24px;
    margin-bottom: 10px;
}

/* Modal styles for submission review */
.wide-modal {
    max-width: 800px;
}

.detail-section {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.detail-section:last-child {
    border-bottom: none;
}

.detail-section h3 {
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-row {
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
}

.detail-row strong {
    min-width: 120px;
    color: #555;
}

.caption-box, .notes-box, .comments-box {
    background: #f9f9f9;
    padding: 10px;
    border-radius: 4px;
    margin-top: 5px;
    white-space: pre-wrap;
    word-break: break-word;
}

.screenshot-box {
    margin-top: 10px;
    text-align: center;
}

.screenshot-box img {
    border: 1px solid #ddd;
    border-radius: 4px;
    max-width: 100%;
}

/* Add responsive styles */
@media (max-width: 768px) {
    .submissions-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        width: 100%;
    }
    
    .submission-header {
        flex-direction: column;
    }
    
    .detail-row {
        flex-direction: column;
        gap: 5px;
    }
    
    .detail-row strong {
        min-width: auto;
    }
}



/* Admin Submissions Page */
.admin-submissions-container {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.submissions-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.submissions-header h1 {
    margin: 0 0 10px 0;
    font-size: 28px;
}

.submissions-header p {
    margin: 0 0 20px 0;
    opacity: 0.9;
    font-size: 16px;
}

.submissions-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    background: #f5f7fa;
    border: 2px solid #e4e7f0;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    color: #4a5568;
}

.filter-btn:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
}

.filter-btn.active {
    background: #4299e1;
    color: white;
    border-color: #3182ce;
}

.search-box {
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    padding: 10px 15px;
    min-width: 300px;
    transition: border-color 0.3s;
}

.search-box:focus-within {
    border-color: #4299e1;
}

.search-box i {
    margin-right: 10px;
    color: #718096;
}

.search-box input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 15px;
    color: #2d3748;
}

.search-box input::placeholder {
    color: #a0aec0;
}

.submissions-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.submission-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.submission-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: #cbd5e0;
}

.submission-card.pending {
    border-left: 5px solid #ecc94b;
}

.submission-card.approved {
    border-left: 5px solid #48bb78;
}

.submission-card.rejected {
    border-left: 5px solid #f56565;
}

.submission-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 20px;
}

.submission-user {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    min-width: 250px;
}

.submission-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
    flex-shrink: 0;
}

.submission-user h3 {
    margin: 0 0 5px 0;
    color: #2d3748;
    font-size: 18px;
}

.submission-user p {
    margin: 0;
    color: #718096;
    font-size: 14px;
}

.user-location {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
    color: #4a5568;
}

.submission-task {
    flex: 2;
    min-width: 300px;
}

.submission-task h4 {
    margin: 0 0 10px 0;
    color: #2d3748;
    font-size: 18px;
}

.submission-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.platform-badge {
    background: #ebf8ff;
    color: #2b6cb0;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.submission-date {
    color: #718096;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.submission-status {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.status-pending {
    background: #fefcbf;
    color: #744210;
}

.status-approved {
    background: #c6f6d5;
    color: #22543d;
}

.status-rejected {
    background: #fed7d7;
    color: #742a2a;
}

.submission-preview {
    background: #f7fafc;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
}

.submission-link {
    margin-bottom: 15px;
}

.submission-link strong {
    display: block;
    margin-bottom: 5px;
    color: #4a5568;
}

.submission-link a {
    color: #4299e1;
    text-decoration: none;
    word-break: break-all;
    font-weight: 500;
}

.submission-link a:hover {
    text-decoration: underline;
    color: #3182ce;
}

.submission-caption {
    margin-bottom: 15px;
}

.submission-caption strong {
    display: block;
    margin-bottom: 5px;
    color: #4a5568;
}

.submission-caption p {
    margin: 0;
    color: #4a5568;
    line-height: 1.5;
    padding: 10px;
    background: white;
    border-radius: 5px;
    border: 1px solid #e2e8f0;
}

.submission-screenshot {
    display: flex;
    align-items: center;
    gap: 10px;
}

.submission-screenshot strong {
    color: #4a5568;
}

.submission-screenshot span {
    color: #4299e1;
    font-weight: 500;
}

.submission-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.submission-actions .btn {
    padding: 8px 16px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.no-submissions {
    text-align: center;
    padding: 60px 20px;
    color: #718096;
}

.no-submissions i {
    font-size: 60px;
    color: #cbd5e0;
    margin-bottom: 20px;
    opacity: 0.5;
}

.no-submissions h3 {
    margin: 0 0 10px 0;
    color: #4a5568;
    font-size: 24px;
}

.no-submissions p {
    margin: 0;
    font-size: 16px;
}

.loading {
    text-align: center;
    padding: 60px 20px;
    color: #718096;
}

.loading i {
    font-size: 30px;
    margin-bottom: 15px;
    color: #4299e1;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading p {
    margin: 0;
    font-size: 16px;
}

/* Review Modal Styles */
.wide-modal {
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.review-submission-details {
    padding: 10px;
}

.detail-section {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e2e8f0;
}

.detail-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.detail-section h3 {
    color: #2d3748;
    margin-bottom: 15px;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-row {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
}

.detail-row:last-child {
    margin-bottom: 0;
}

.detail-row strong {
    min-width: 120px;
    color: #4a5568;
    font-weight: 600;
}

.detail-row span {
    flex: 1;
    color: #2d3748;
    line-height: 1.5;
}

.detail-row a {
    color: #4299e1;
    text-decoration: none;
    word-break: break-all;
}

.detail-row a:hover {
    text-decoration: underline;
}

.content-box {
    background: #f7fafc;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    white-space: pre-wrap;
    word-break: break-word;
    line-height: 1.6;
    margin-top: 5px;
    max-height: 200px;
    overflow-y: auto;
}

.previous-comments {
    background: #fffaf0;
    border-color: #feebc8;
    color: #744210;
}

.screenshot-preview {
    text-align: center;
    margin-top: 10px;
}

.screenshot-preview img {
    max-width: 100%;
    max-height: 300px;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.screenshot-preview img:hover {
    transform: scale(1.02);
}

.screenshot-hint {
    margin-top: 8px;
    color: #718096;
    font-size: 13px;
    font-style: italic;
}

/* Modal footer adjustments */
.modal-footer {
    padding: 20px;
    background: #f7fafc;
    border-top: 1px solid #e2e8f0;
}

.modal-footer .form-group {
    margin-bottom: 15px;
}

.modal-footer textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
    resize: vertical;
    min-height: 80px;
    transition: border-color 0.3s;
}

.modal-footer textarea:focus {
    outline: none;
    border-color: #4299e1;
}

.modal-footer .btn {
    padding: 10px 20px;
    margin-right: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .submissions-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        min-width: auto;
        width: 100%;
    }
    
    .submission-header {
        flex-direction: column;
    }
    
    .submission-user,
    .submission-task {
        min-width: auto;
        width: 100%;
    }
    
    .detail-row {
        flex-direction: column;
        gap: 5px;
    }
    
    .detail-row strong {
        min-width: auto;
    }
    
    .wide-modal {
        width: 95%;
        margin: 10px;
    }
}