/* Dashboard Specific Styles */
.dashboard-container {
    display: flex;
    min-height: calc(100vh - 120px);
}

.dashboard-sidebar {
    width: 250px;
    background-color: #2c3e50;
    color: white;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.dashboard-sidebar-header {
    padding: 0 20px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-sidebar-header h3 {
    color: white;
    font-size: 1.2rem;
}

.dashboard-menu {
    list-style: none;
    padding: 0;
}

.dashboard-menu li {
    margin: 0;
}

.dashboard-menu a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #b8c7ce;
    transition: all 0.3s ease;
}

.dashboard-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
}

.dashboard-menu a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.dashboard-menu li.active a {
    background-color: #3498db;
    color: white;
}

.dashboard-content {
    flex: 1;
    padding: 30px;
    background-color: #ecf0f5;
    transition: all 0.3s ease;
}

.dashboard-header {
    margin-bottom: 30px;
}

.dashboard-header h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.stats-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background-color: white;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-value {
    font-size: 2rem;
    font-weight: 600;
    color: #3498db;
    margin-bottom: 5px;
}

.stat-label {
    color: #777;
    font-size: 0.9rem;
}

.dashboard-section {
    background-color: white;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.dashboard-section h3 {
    margin-bottom: 20px;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    font-size: 1.3rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .dashboard-container {
        flex-direction: column;
    }
    
    .dashboard-sidebar {
        width: 100%;
    }
    
    .dashboard-content {
        padding: 15px;
    }
    
    .stats-summary {
        grid-template-columns: 1fr;
    }
}

/* Animation for dashboard elements */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.dashboard-section {
    animation: fadeIn 0.5s ease-out;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }

/* Application View Styles */
.application-details-container {
    background-color: white;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

.application-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.section-title {
    color: #3498db;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.summary-item {
    display: flex;
    flex-direction: column;
}

.summary-label {
    font-weight: 600;
    color: #555;
    font-size: 0.9rem;
}

.summary-value {
    color: #333;
    font-size: 1rem;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.detail-item {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-weight: 600;
    color: #555;
    font-size: 0.9rem;
}

.detail-value {
    color: #333;
    font-size: 1rem;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.document-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.document-item:hover {
    border-color: #3498db;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.document-icon {
    font-size: 2rem;
    color: #e74c3c;
    margin-bottom: 10px;
}

.document-name {
    font-weight: 500;
    margin-bottom: 10px;
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #3498db;
}

.timeline-item {
    position: relative;
    margin-bottom: 20px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #3498db;
    border: 2px solid white;
}

.timeline-date {
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 5px;
}

.timeline-content {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 4px;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.timeline-actor {
    font-weight: 600;
    color: #3498db;
}

.timeline-action {
    font-weight: 500;
    color: #555;
}

.timeline-details {
    color: #333;
}

.desk-reviews {
    display: grid;
    gap: 15px;
}

.desk-review-item {
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.desk-review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background-color: #f5f5f5;
    border-bottom: 1px solid #ddd;
}

.desk-type {
    font-weight: 600;
    color: #333;
}

.review-status {
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: 500;
}

.review-status.pending {
    background-color: #fff3cd;
    color: #856404;
}

.review-status.reviewed {
    background-color: #d4edda;
    color: #155724;
}

.review-status.overdue {
    background-color: #f8d7da;
    color: #721c24;
}

.desk-review-details {
    padding: 15px;
}

.reviewer-info {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 10px;
}

.reviewer-name {
    font-weight: 500;
}

.review-date {
    color: #777;
    font-size: 0.9rem;
}

.review-notes h4 {
    margin-bottom: 5px;
    font-size: 1rem;
}

.review-notes p {
    color: #333;
    white-space: pre-line;
}

.application-actions {
    display: flex;
    gap: 10px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid #ddd;
    color: #333;
}

.btn-outline:hover {
    background-color: #f5f5f5;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .summary-grid,
    .details-grid,
    .documents-grid {
        grid-template-columns: 1fr;
    }
    
    .application-actions {
        flex-direction: column;
    }
    
    .timeline-header {
        flex-direction: column;
        gap: 5px;
    }
}

/* Review Application Specific Styles */
.review-application-container {
    background-color: white;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

.application-meta {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 10px;
    font-size: 0.9rem;
}

.application-meta .application-number {
    font-weight: 600;
    color: #333;
}

.application-meta .due-date {
    color: #666;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 4px;
}

.detail-label {
    font-weight: 600;
    color: #555;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.detail-value {
    color: #333;
    font-size: 1rem;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.document-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.document-item:hover {
    border-color: #3498db;
}

.document-icon {
    font-size: 2rem;
    color: #e74c3c;
    margin-bottom: 10px;
}

.document-name {
    font-weight: 500;
    margin-bottom: 10px;
}

/* Review Form Styles */
.review-form {
    margin-top: 30px;
}

.review-form .form-group {
    margin-bottom: 20px;
}

.review-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.review-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    min-height: 150px;
}

.review-form .form-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .details-grid,
    .documents-grid {
        grid-template-columns: 1fr;
    }
    
    .application-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}