﻿.applications-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    margin: 2rem 0;
    border: 1px solid var(--border-color);
}

.applications-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    text-align: center;
}

.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.9) 100%);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

    .stat-card:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.search-filters {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.applications-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    min-height: 500px;
    transition: grid-template-columns 0.3s;
}

    .applications-grid.show-details {
        grid-template-columns: 1fr 1fr;
    }

.applications-list {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: var(--shadow-sm);
}

.application-details {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: var(--shadow-sm);
    display: none;
}

.application-item {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

    .application-item:hover {
        box-shadow: var(--shadow-md);
        transform: translateY(-1px);
    }

    .application-item.selected {
        border-color: var(--primary-color);
        background: rgba(255, 102, 0, 0.05);
    }

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}
.status-source {
    background: rgba(25, 56, 219, 0.1);
    color: #0b66f5;
    border: 1px solid #1d0bf5;
}
.status-pending {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border: 1px solid #f59e0b;
}

.status-approved {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid #10b981;
}

.status-rejected {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid #ef4444;
}

.status-verified {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border: 1px solid #3b82f6;
}

.status-underreview {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border: 1px solid #3b82f6;
}

.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.document-preview {
    max-width: 100%;
    max-height: 400px;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.empty-state {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
}

.loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

@media (max-width: 768px) {
    .applications-grid,
    .applications-grid.show-details {
        grid-template-columns: 1fr;
    }

    .application-details {
        margin-top: 2rem;
    }
}

/* Requested Documents Notification Styles */
.requested-documents-notifications {
    margin-bottom: 2rem;
}

.notification-card {
    background: linear-gradient(135deg, #fff5e6 0%, #fff9f0 100%);
    border-left: 4px solid #ff9800;
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.15);
    transition: all 0.3s ease;
}

.notification-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.25);
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.notification-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.notification-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.3);
}

.notification-text h5 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #e65100;
}

.notification-text small {
    color: #f57c00;
    font-size: 0.85rem;
}

.notification-badge {
    background: #ff9800;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(255, 152, 0, 0.3);
}

.notification-details {
    background: white;
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 0.75rem;
}

.notification-details p {
    margin: 0 0 0.5rem 0;
    color: #666;
}

.notification-details p:last-child {
    margin-bottom: 0;
}

.requested-docs-list {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 0 0;
}

.requested-docs-list li {
    background: #fff3e0;
    padding: 0.5rem 0.75rem;
    margin-bottom: 0.5rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #e65100;
    font-size: 0.9rem;
    border-left: 3px solid #ff9800;
}

.requested-docs-list li i {
    color: #ff9800;
}

.notification-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.btn-view-app {
    background: #ff9800;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(255, 152, 0, 0.2);
}

.btn-view-app:hover {
    background: #f57c00;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(255, 152, 0, 0.3);
}

.notification-empty {
    text-align: center;
    padding: 2rem;
    color: #666;
}

.notification-empty i {
    font-size: 3rem;
    color: #ddd;
    margin-bottom: 1rem;
}

/* Requested Documents in Details Panel */
.requested-documents-section {
    background: #fff9f0;
    border-left: 4px solid #ff9800;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.requested-documents-section h6 {
    color: #e65100;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.requested-documents-section h6 i {
    color: #ff9800;
}

.requested-doc-item {
    background: white;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #ffe0b2;
}

.requested-doc-info {
    flex: 1;
}

.requested-doc-info strong {
    color: #e65100;
    display: block;
    margin-bottom: 0.25rem;
}

.requested-doc-info small {
    color: #666;
    font-size: 0.85rem;
}

.requested-doc-status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-not-uploaded {
    background: #fff3e0;
    color: #f57c00;
    border: 1px solid #ff9800;
}

.status-uploaded {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #4caf50;
}

.requested-doc-comments {
    background: #fff3e0;
    padding: 0.75rem;
    border-radius: 6px;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #666;
    font-style: italic;
}
