.dashboard-hero {
    background: linear-gradient(135deg, #1e426b 0%, #2a5a8a 60%, #eea22d 100%);
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    margin-bottom: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.dashboard-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.dashboard-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: 20%;
    width: 200px;
    height: 200px;
    background: rgba(238, 162, 45, 0.2);
    border-radius: 50%;
}

.dashboard-hero h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.dashboard-hero p {
    opacity: 0.9;
    font-size: 1.1rem;
    margin: 0;
    position: relative;
    z-index: 1;
}

.dashboard-hero .hero-date {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    backdrop-filter: blur(10px);
}

.quick-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.quick-stat-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

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

.quick-stat-icon {
    width: 64px;
    height: 64px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
}

.quick-stat-icon.blue { background: linear-gradient(135deg, #1e426b, #2a5a8a); color: white; }
.quick-stat-icon.orange { background: linear-gradient(135deg, #eea22d, #f5b84d); color: white; }
.quick-stat-icon.green { background: linear-gradient(135deg, #28a745, #34ce57); color: white; }
.quick-stat-icon.red { background: linear-gradient(135deg, #dc3545, #e4606d); color: white; }

.quick-stat-info { flex: 1; }

.quick-stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: #1e426b;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.quick-stat-label {
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 500;
}

.quick-stat-trend {
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.quick-stat-trend.up { color: #28a745; }
.quick-stat-trend.down { color: #dc3545; }

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.dashboard-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.dashboard-card.full-width {
    grid-column: 1 / -1;
}

.dashboard-card-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dashboard-card-header h2 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e426b;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dashboard-card-header h2 i {
    color: #eea22d;
    font-size: 1.25rem;
}

.dashboard-card-body {
    padding: 1.5rem;
}

.client-stats {
    display: flex;
    gap: 1rem;
}

.client-stat-item {
    flex: 1;
    text-align: center;
    padding: 1.5rem 1rem;
    border-radius: 0.75rem;
    transition: transform 0.2s ease;
}

.client-stat-item:hover {
    transform: scale(1.02);
}

.client-stat-item.active {
    background: linear-gradient(135deg, rgba(30, 66, 107, 0.1), rgba(42, 90, 138, 0.05));
    border: 1px solid rgba(30, 66, 107, 0.2);
}

.client-stat-item.inactive {
    background: linear-gradient(135deg, rgba(108, 117, 125, 0.1), rgba(108, 117, 125, 0.05));
    border: 1px solid rgba(108, 117, 125, 0.2);
}

.client-stat-number {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.client-stat-item.active .client-stat-number { color: #1e426b; }
.client-stat-item.inactive .client-stat-number { color: #6c757d; }

.client-stat-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.client-stat-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.client-stat-item.active .client-stat-icon { color: #1e426b; }
.client-stat-item.inactive .client-stat-icon { color: #6c757d; }

.app-section {
    margin-bottom: 1.5rem;
}

.app-section:last-child {
    margin-bottom: 0;
}

.app-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f0f0f0;
}

.app-icon {
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, #eea22d, #f5b84d);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}

.app-name {
    font-size: 1rem;
    font-weight: 600;
    color: #1e426b;
    margin: 0;
}

.license-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}

.license-type-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.license-type-card:hover {
    border-color: #1e426b;
    box-shadow: 0 8px 24px rgba(30, 66, 107, 0.15);
    transform: translateY(-2px);
}

.license-type-header {
    background: #1e426b;
    color: white;
    padding: 0.875rem 1rem;
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.license-type-header i { opacity: 0.8; }

.license-type-body {
    padding: 1.25rem 1rem;
}

.license-progress {
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.license-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #28a745, #34ce57);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.license-counts {
    display: flex;
    justify-content: space-between;
}

.license-count { text-align: center; }

.license-count-value {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.license-count-value.active { color: #28a745; }
.license-count-value.inactive { color: #dc3545; }

.license-count-label {
    font-size: 0.7rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.25rem;
}

.quick-actions {
    display: flex;
    gap: 0.75rem;
}

.quick-action-btn {
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

.quick-action-btn.primary {
    background: linear-gradient(135deg, #eea22d, #f5b84d);
    color: white;
    border: none;
}

.quick-action-btn.primary:hover {
    box-shadow: 0 4px 12px rgba(238, 162, 45, 0.4);
    transform: translateY(-1px);
}

.quick-action-btn.secondary {
    background: white;
    color: #1e426b;
    border: 1px solid #1e426b;
}

.quick-action-btn.secondary:hover {
    background: #1e426b;
    color: white;
}

@media (max-width: 1200px) {
    .quick-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .quick-stats {
        grid-template-columns: 1fr;
    }
}
