/* Dashboard Index - Modern Professional Design with Logo Colors */

.dashboard-container {
    background: linear-gradient(135deg, #f8f9fc 0%, #e8eaf6 100%);
    min-height: 100vh;
    padding: 1.5rem 0;
}

.dashboard-header {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dashboard-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a365d;
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dashboard-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.dashboard-date {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    color: #6c757d;
    font-size: 0.85rem;
    border: 1px solid #e9ecef;
}

.dashboard-welcome {
    color: #1a365d;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Quick Actions Section */
.quick-actions-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.quick-actions-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.quick-actions-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(135deg, #d69e2e 0%, #b7791f 100%);
    border-radius: 2px;
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.quick-action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.quick-action-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.quick-action-item:hover::before {
    left: 100%;
}

.quick-action-blue {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #1a365d;
}

.quick-action-blue:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 54, 93, 0.2);
    border-color: #1a365d;
}

.quick-action-green {
    background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
    color: #2e7d32;
}

.quick-action-green:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.2);
    border-color: #2e7d32;
}

.quick-action-yellow {
    background: linear-gradient(135deg, #fffbf0 0%, #fff3c4 100%);
    color: #d69e2e;
}

.quick-action-yellow:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(214, 158, 46, 0.2);
    border-color: #d69e2e;
}

.quick-action-purple {
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
    color: #7b1fa2;
}

.quick-action-purple:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(123, 31, 162, 0.2);
    border-color: #7b1fa2;
}

.quick-action-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.quick-action-blue .quick-action-icon {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    color: white;
}

.quick-action-green .quick-action-icon {
    background: linear-gradient(135deg, #2e7d32 0%, #4caf50 100%);
    color: white;
}

.quick-action-yellow .quick-action-icon {
    background: linear-gradient(135deg, #d69e2e 0%, #b7791f 100%);
    color: white;
}

.quick-action-purple .quick-action-icon {
    background: linear-gradient(135deg, #7b1fa2 0%, #9c27b0 100%);
    color: white;
}

.quick-action-text {
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
}

/* Statistics Cards */
.stats-section {
    margin-bottom: 1.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.stat-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--card-accent);
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.stat-card.blue { --card-accent: linear-gradient(135deg, #1a365d 0%, #2c5282 100%); }
.stat-card.green { --card-accent: linear-gradient(135deg, #2e7d32 0%, #4caf50 100%); }
.stat-card.purple { --card-accent: linear-gradient(135deg, #7b1fa2 0%, #9c27b0 100%); }
.stat-card.yellow { --card-accent: linear-gradient(135deg, #d69e2e 0%, #b7791f 100%); }

.stat-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stat-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 0.25rem;
}

.stat-info p {
    color: #6c757d;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.stat-meta {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: #28a745;
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
}

.stat-icon.blue { background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%); }
.stat-icon.green { background: linear-gradient(135deg, #2e7d32 0%, #4caf50 100%); }
.stat-icon.purple { background: linear-gradient(135deg, #7b1fa2 0%, #9c27b0 100%); }
.stat-icon.yellow { background: linear-gradient(135deg, #d69e2e 0%, #b7791f 100%); }

/* Section Cards */
.section-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a365d;
}

.section-link {
    color: #1a365d;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: all 0.3s ease;
}

.section-link:hover {
    color: #d69e2e;
    transform: translateX(-2px);
}

/* Table Styling */
.modern-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.modern-table thead th {
    background: #f8f9fa;
    color: #1a365d;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.75rem;
    text-align: right;
    border-bottom: 1px solid #e9ecef;
}

.modern-table tbody td {
    padding: 0.75rem;
    border-bottom: 1px solid #f1f3f4;
    font-size: 0.85rem;
}

.modern-table tbody tr:hover {
    background: #f8f9fc;
}

.modern-table tbody tr:last-child td {
    border-bottom: none;
}

/* List Items */
.list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.list-item:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-left-color: #1a365d;
    transform: translateX(3px);
}

.list-item-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.list-item-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    color: white;
    font-size: 1rem;
}

.list-item-info h4 {
    font-weight: 600;
    color: #1a365d;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.list-item-info p {
    color: #6c757d;
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
}

.list-item-info span {
    color: #adb5bd;
    font-size: 0.75rem;
}

.list-item-action {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: block;
}

.list-item-action:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26, 54, 93, 0.4);
}

/* Progress Cards */
.progress-card {
    background: var(--bg-color);
    border-radius: 12px;
    padding: 1.25rem;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.progress-card:hover {
    background: var(--hover-bg);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-color);
}

.progress-card.blue {
    --bg-color: #e3f2fd;
    --hover-bg: #bbdefb;
    --border-color: rgba(26, 54, 93, 0.1);
    --shadow-color: rgba(26, 54, 93, 0.15);
}

.progress-card.yellow {
    --bg-color: #fffbf0;
    --hover-bg: #fff3c4;
    --border-color: rgba(214, 158, 46, 0.1);
    --shadow-color: rgba(214, 158, 46, 0.15);
}

.progress-card.green {
    --bg-color: #e8f5e8;
    --hover-bg: #c8e6c9;
    --border-color: rgba(46, 125, 50, 0.1);
    --shadow-color: rgba(46, 125, 50, 0.15);
}

.progress-card.purple {
    --bg-color: #f3e5f5;
    --hover-bg: #e1bee7;
    --border-color: rgba(123, 31, 162, 0.1);
    --shadow-color: rgba(123, 31, 162, 0.15);
}

.progress-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.progress-title {
    font-weight: 600;
    font-size: 0.9rem;
}

.progress-value {
    font-size: 1.2rem;
    font-weight: 700;
}

.progress-bar {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.progress-card.blue .progress-title,
.progress-card.blue .progress-value {
    color: #1a365d;
}

.progress-card.blue .progress-bar {
    background: rgba(26, 54, 93, 0.1);
}

.progress-card.blue .progress-fill {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
}

.progress-card.yellow .progress-title,
.progress-card.yellow .progress-value {
    color: #d69e2e;
}

.progress-card.yellow .progress-bar {
    background: rgba(214, 158, 46, 0.1);
}

.progress-card.yellow .progress-fill {
    background: linear-gradient(135deg, #d69e2e 0%, #b7791f 100%);
}

.progress-card.green .progress-title,
.progress-card.green .progress-value {
    color: #2e7d32;
}

.progress-card.green .progress-bar {
    background: rgba(46, 125, 50, 0.1);
}

.progress-card.green .progress-fill {
    background: linear-gradient(135deg, #2e7d32 0%, #4caf50 100%);
}

.progress-card.purple .progress-title,
.progress-card.purple .progress-value {
    color: #7b1fa2;
}

.progress-card.purple .progress-bar {
    background: rgba(123, 31, 162, 0.1);
}

.progress-card.purple .progress-fill {
    background: linear-gradient(135deg, #7b1fa2 0%, #9c27b0 100%);
}

.progress-meta {
    font-size: 0.75rem;
    color: #6c757d;
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 2rem;
    color: #6c757d;
}

.empty-state-icon {
    width: 60px;
    height: 60px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    font-size: 1.5rem;
    color: #adb5bd;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dashboard-container {
        padding: 1rem 0;
    }
    
    .dashboard-header {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .dashboard-title {
        font-size: 1.5rem;
    }
    
    .dashboard-meta {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    .quick-actions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .section-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .section-header {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
} 