/* ============================================================== */
/* GLOBAL CARD BEAUTIFICATION STYLES */
/* Applied to all pages and components */
/* ============================================================== */

/* Enhanced Card Styles */
.card,
.uk-card {
    border-radius: 15px !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1) !important;
    transition: all 0.4s ease !important;
    border: none !important;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
    overflow: hidden;
    position: relative;
}

.card::before,
.uk-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #082844 0%, #0a3d5c 50%, #ffd700 100%);
    z-index: 1;
}

.card:hover,
.uk-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(8, 40, 68, 0.2) !important;
}

.card-body,
.uk-card-body {
    padding: 30px !important;
    position: relative;
    z-index: 2;
}

.card img,
.uk-card img {
    margin-bottom: 20px;
    filter: drop-shadow(3px 3px 6px rgba(0,0,0,0.1));
    transition: all 0.3s ease;
}

.card:hover img,
.uk-card:hover img {
    transform: scale(1.05);
}

.card-title,
.uk-card-title {
    color: #082844 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    margin-bottom: 15px !important;
    position: relative;
    padding-bottom: 12px;
}

.card-title::after,
.uk-card-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ffd700 0%, #082844 100%);
    border-radius: 2px;
}

.card-text,
.card p,
.uk-card p {
    color: #555 !important;
    font-size: 14px !important;
    line-height: 1.8 !important;
}

/* Card Headers */
.card-header {
    background: linear-gradient(135deg, #082844 0%, #0a3d5c 100%) !important;
    color: white !important;
    padding: 18px 25px !important;
    border: none !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px;
    border-radius: 15px 15px 0 0 !important;
}

.card-header i {
    margin-right: 8px;
    color: #ffd700;
}

/* Special Card Types */
.card.card-primary {
    border-left: 5px solid #007bff !important;
}

.card.card-success {
    border-left: 5px solid #28a745 !important;
}

.card.card-info {
    border-left: 5px solid #17a2b8 !important;
}

.card.card-warning {
    border-left: 5px solid #ffc107 !important;
    background: linear-gradient(135deg, #fff3cd 0%, #fff8e1 100%) !important;
}

.card.card-danger {
    border-left: 5px solid #dc3545 !important;
}

/* Stats/Metric Cards */
.card.stats-card,
.stats-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
    border-radius: 12px !important;
    padding: 20px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08) !important;
    border-left: 4px solid #082844 !important;
    transition: all 0.3s ease !important;
}

.card.stats-card:hover,
.stats-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
}

/* Chart Cards */
.chart-card,
.card.chart-card {
    background: #ffffff !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08) !important;
    margin-bottom: 25px !important;
}

/* Page Background */
body {
    background: #f4f6f9 !important;
}

.container-fluid {
    background: transparent !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card-body,
    .uk-card-body {
        padding: 20px !important;
    }
    
    .card-title,
    .uk-card-title {
        font-size: 18px !important;
    }
    
    .card-text,
    .card p,
    .uk-card p {
        font-size: 13px !important;
    }
}

