/* home.php stat cards, welcome banner */
.soft-card {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04), 0 2px 6px rgba(0,0,0,0.02);
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}
.soft-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.08), 0 4px 10px rgba(0,0,0,0.04);
    transform: translateY(-2px);
}
.dark .soft-card {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border-color: rgba(255,255,255,0.05);
}
.stat-card-v1 {
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
}
.stat-card-v1::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(34,197,94,0.1) 0%, transparent 60%);
    border-radius: 0 20px 0 100%;
}
.stat-card-v1:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 20px 50px rgba(34,197,94,0.15);
}
.dark .stat-card-v1 {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}
.stat-icon-v1 {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    transition: all 0.3s ease;
}
.stat-card-v1:hover .stat-icon-v1 {
    transform: rotate(-10deg) scale(1.1);
}
.welcome-banner {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 50%, #15803d 100%);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(34,197,94,0.3);
    position: relative;
    overflow: hidden;
}
.welcome-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    border-radius: 50%;
}
.welcome-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

/* Category card animations */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.category-card { animation: fadeInUp 0.5s ease-out forwards; opacity: 0; }
.category-card:hover { transform: translateY(-6px); }
.category-card:hover .category-icon { transform: scale(1.15) rotate(8deg); }
.category-icon { transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); }

/* Category service modal */
.modal-v1 .modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}
.modal-v1 .modal-body-v1 {
    padding: 1.25rem 1.5rem;
    max-height: 400px;
    overflow-y: auto;
}
.modal-v1 .modal-body-v1::-webkit-scrollbar { width: 5px; }
.modal-v1 .modal-body-v1::-webkit-scrollbar-track { background: #f1f5f9; border-radius: 3px; }
.modal-v1 .modal-body-v1::-webkit-scrollbar-thumb { background: var(--dt-primary, #098dff); border-radius: 3px; }
.modal-v1 .modal-footer-v1 {
    padding: 1rem 1.5rem;
    background: #f8fafc;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 0 0 20px 20px;
}
.service-card-v1 {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 1.25rem 1rem;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}
.service-card-v1:hover {
    border-color: rgba(9, 141, 255, 0.3);
    box-shadow: 0 10px 25px -5px rgba(9, 141, 255, 0.15);
    transform: translateY(-4px);
}
.service-card-v1 .service-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 10px;
    background: rgba(9, 141, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--dt-primary, #098dff);
    transition: all 0.3s ease;
}
.service-card-v1:hover .service-icon {
    background: var(--dt-primary, #098dff);
    color: #fff;
    transform: scale(1.05);
}
.service-card-v1 .service-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: #334155;
    line-height: 1.4;
}
.service-card-v1:hover .service-name { color: var(--dt-primary, #098dff); }
.dark .modal-v1 .modal-content { background: #1e293b; }
.dark .modal-v1 .modal-footer-v1 { background: #0f172a; border-color: rgba(255, 255, 255, 0.05); }
.dark .service-card-v1 { background: #0f172a; border-color: rgba(255, 255, 255, 0.05); }
.dark .service-card-v1 .service-name { color: #e2e8f0; }

/* Home notification modal */
.notification-modal-v1 .modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}
.notification-modal-v1 .notif-body {
    padding: 1.5rem;
    max-height: 50vh;
    overflow-y: auto;
}
.notification-modal-v1 .notif-body::-webkit-scrollbar { width: 5px; }
.notification-modal-v1 .notif-body::-webkit-scrollbar-track { background: #f1f5f9; border-radius: 3px; }
.notification-modal-v1 .notif-body::-webkit-scrollbar-thumb { background: var(--dt-primary, #098dff); border-radius: 3px; }
.notification-modal-v1 .notif-footer {
    padding: 1rem 1.5rem;
    background: #f8fafc;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 0 0 20px 20px;
}
.dark .notification-modal-v1 .modal-content { background: #1e293b; }
.dark .notification-modal-v1 .notif-body { color: #e2e8f0; }
.dark .notification-modal-v1 .notif-footer { background: #0f172a; border-color: rgba(255, 255, 255, 0.05); }
