/* assets/css/style.css */
:root {
    --primary-color: #0d6efd;
    --primary-dark: #0a58ca;
    --secondary-color: #6c757d;
    --dark-bg: #1e293b;
    --card-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.07);
    --hover-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.12);
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: #f8fafc;
    color: #334155;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Navbar */
.navbar-brand {
    font-weight: 700;
    letter-spacing: -0.5px;
}

.brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #0d6efd, #0dcaf0);
    color: #fff;
    margin-right: 8px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    padding: 70px 0 60px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.25) 0%, transparent 70%);
    border-radius: 50%;
}

.service-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 16px;
    background: #ffffff;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--hover-shadow);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
}

.bg-soft-primary { background-color: rgba(13, 110, 253, 0.12); color: #0d6efd; }
.bg-soft-success { background-color: rgba(25, 135, 84, 0.12); color: #198754; }
.bg-soft-warning { background-color: rgba(255, 193, 7, 0.18); color: #b78103; }
.bg-soft-info { background-color: rgba(13, 202, 240, 0.15); color: #0aa2c0; }

/* Custom Form Cards */
.form-card {
    border-radius: 20px;
    border: none;
    box-shadow: var(--card-shadow);
}

/* Service Tracking Timeline */
.timeline-steps {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    margin: 30px 0;
}

.timeline-step {
    align-items: center;
    display: flex;
    flex-direction: column;
    position: relative;
    margin: 10px 20px;
    min-width: 130px;
}

.timeline-step .timeline-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e2e8f0;
    color: #64748b;
    font-size: 1.25rem;
    font-weight: bold;
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-step.active .timeline-icon {
    background: #0d6efd;
    color: #ffffff;
    box-shadow: 0 0 0 6px rgba(13, 110, 253, 0.2);
}

.timeline-step.completed .timeline-icon {
    background: #198754;
    color: #ffffff;
}

.timeline-step .timeline-label {
    margin-top: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    color: #64748b;
}

.timeline-step.active .timeline-label,
.timeline-step.completed .timeline-label {
    color: #0f172a;
}

/* Admin Dashboard Specific */
.admin-sidebar {
    background: #0f172a;
    min-height: 100vh;
    color: #94a3b8;
}

.admin-sidebar .nav-link {
    color: #94a3b8;
    padding: 12px 18px;
    border-radius: 10px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    font-weight: 500;
    transition: all 0.2s ease;
}

.admin-sidebar .nav-link i {
    font-size: 1.2rem;
    margin-right: 12px;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.admin-sidebar .nav-link.active {
    background: #0d6efd;
    color: #ffffff;
}

.stat-card {
    border-radius: 16px;
    border: none;
    box-shadow: var(--card-shadow);
    transition: transform 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
}

.table-responsive {
    border-radius: 12px;
    background: #ffffff;
}

.badge-ticket {
    font-family: 'Consolas', monospace;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

/* Print Friendly Styles for Service Receipts */
@media print {
    body * {
        visibility: hidden;
    }
    #printableReceipt, #printableReceipt * {
        visibility: visible;
    }
    #printableReceipt {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
    }
}
