/* Custom Styles for PARL Oversight System */

/* Premium Dashboard Cards */
.stat-card {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 20px rgba(0, 0, 0, 0.1), 0 5px 10px rgba(0, 0, 0, 0.05);
}

/* Beautiful Gradients */
.bg-gradient-primary {
    background: linear-gradient(135deg, #4e73df 0%, #224abe 100%);
    color: white;
}

.bg-gradient-success {
    background: linear-gradient(135deg, #1cc88a 0%, #13855c 100%);
    color: white;
}

.bg-gradient-info {
    background: linear-gradient(135deg, #36b9cc 0%, #258391 100%);
    color: white;
}

.bg-gradient-warning {
    background: linear-gradient(135deg, #f6c23e 0%, #dda20a 100%);
    color: white;
}

.bg-gradient-danger {
    background: linear-gradient(135deg, #e74a3b 0%, #be2617 100%);
    color: white;
}

/* Secondary Gradients for subtler look */
.bg-gradient-light-primary {
    background: linear-gradient(135deg, #f8f9fc 0%, #e0e6f8 100%);
    border-left: 4px solid #4e73df !important;
}

.bg-gradient-light-success {
    background: linear-gradient(135deg, #f8f9fc 0%, #d8f5ea 100%);
    border-left: 4px solid #1cc88a !important;
}

/* Icon Containers */
.stat-card .icon-container {
    background: rgba(255, 255, 255, 0.2);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.stat-card:hover .icon-container {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 255, 255, 0.3);
}

.stat-card .icon-container i {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Typography Enhancements for Stats */
.stat-card h6 {
    font-weight: 600;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
    opacity: 0.85;
}

.stat-card h2 {
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Decorative background shapes */
.stat-card::after {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.stat-card::before {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    z-index: 0;
}

/* Ensure content stays above decorative shapes */
.stat-card .card-body {
    position: relative;
    z-index: 1;
}

/* Enhance existing Bootstrap cards */
.card {
    border-radius: 10px;
}

.card-header {
    background-color: transparent;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-weight: 600;
}

.table th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    color: #4a5568;
}
