/* Executive Dashboard CSS */

/* Executive Metrics Cards */
.executive-metric {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 2px solid #d4a853;
    box-shadow: 0 4px 15px rgba(212, 168, 83, 0.3);
    transition: all 0.3s ease;
}

.executive-metric:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(212, 168, 83, 0.5);
}

.executive-metric .metric-icon {
    color: #d4a853;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.executive-metric .metric-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #d4a853;
    margin-bottom: 0.5rem;
}

.executive-metric .metric-label {
    color: #cccccc;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.executive-metric .metric-change {
    font-size: 0.8rem;
    color: #888;
}

/* Executive Insights Panel */
.insight-card {
    background: rgba(212, 168, 83, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(212, 168, 83, 0.3);
}

.insight-metric {
    text-align: center;
    margin-bottom: 1rem;
}

.insight-value {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.insight-label {
    color: #cccccc;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.insight-trend {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.insight-trend i {
    margin-right: 0.5rem;
}

/* Portal Cards by Category */
.operations-card {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border: 2px solid #3b82f6;
    color: white;
    transition: all 0.3s ease;
}

.operations-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.finance-card {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    border: 2px solid #10b981;
    color: white;
    transition: all 0.3s ease;
}

.finance-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.management-card {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    border: 2px solid #a855f7;
    color: white;
    transition: all 0.3s ease;
}

.management-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.4);
}

.tools-card {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    border: 2px solid #ef4444;
    color: white;
    transition: all 0.3s ease;
}

.tools-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
}

.executive-priority {
    background: linear-gradient(135deg, #d4a853 0%, #f59e0b 100%);
    border: 2px solid #d4a853;
    color: #1a1a1a;
    transition: all 0.3s ease;
}

.executive-priority:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 168, 83, 0.6);
}

/* Portal Section Headers */
.portal-section h6 {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(212, 168, 83, 0.3);
}

/* Portal Cards General */
.portal-card {
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 10px;
    padding: 1rem;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.portal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.portal-card:hover::before {
    left: 100%;
}

.portal-card .portal-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.portal-card .portal-title {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.portal-card .portal-subtitle {
    font-size: 0.8rem;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .executive-metric .metric-value {
        font-size: 1.5rem;
    }
    
    .insight-value {
        font-size: 1.5rem;
    }
    
    .portal-card {
        height: 100px;
    }
    
    .portal-card .portal-icon {
        font-size: 1.5rem;
    }
    
    .portal-card .portal-title {
        font-size: 0.8rem;
    }
    
    .portal-card .portal-subtitle {
        font-size: 0.7rem;
    }
}