/* Styles pour la page de raccourcis admin */

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

.shortcut-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.shortcut-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.shortcut-card-header {
    padding: 1.5rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.shortcut-card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    pointer-events: none;
}

.shortcut-card-header.blue {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.shortcut-card-header.green {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
}

.shortcut-card-header.purple {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.shortcut-card-header.orange {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.shortcut-card-header.gray {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
}

.shortcut-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
    border: 1px solid #e2e8f0;
    margin-bottom: 0.75rem;
}

.shortcut-item:hover {
    background: #f8fafc;
    border-color: #3b82f6;
    transform: translateX(4px);
    text-decoration: none;
    color: inherit;
}

.shortcut-item:last-child {
    margin-bottom: 0;
}

.shortcut-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    transition: all 0.2s ease;
}

.shortcut-item:hover .shortcut-icon {
    background: rgba(59, 130, 246, 0.2);
    transform: scale(1.05);
}

.shortcut-content {
    flex: 1;
    min-width: 0;
}

.shortcut-title {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
    transition: color 0.2s ease;
}

.shortcut-item:hover .shortcut-title {
    color: #3b82f6;
}

.shortcut-description {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.4;
}

.shortcut-arrow {
    color: #9ca3af;
    transition: all 0.2s ease;
    margin-left: 0.5rem;
}

.shortcut-item:hover .shortcut-arrow {
    color: #3b82f6;
    transform: translateX(4px);
}

/* Statistiques rapides */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

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

.quick-action {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.quick-action:hover {
    transform: translateY(-2px);
    text-decoration: none;
    color: inherit;
}

.quick-action.blue {
    background: #dbeafe;
    color: #1e40af;
    border-color: #bfdbfe;
}

.quick-action.blue:hover {
    background: #bfdbfe;
}

.quick-action.green {
    background: #dcfce7;
    color: #166534;
    border-color: #bbf7d0;
}

.quick-action.green:hover {
    background: #bbf7d0;
}

.quick-action.orange {
    background: #fed7aa;
    color: #9a3412;
    border-color: #fdba74;
}

.quick-action.orange:hover {
    background: #fdba74;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
    .shortcuts-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .quick-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .shortcut-item {
        padding: 0.75rem;
    }
    
    .shortcut-icon {
        width: 40px;
        height: 40px;
    }
}
