:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #dbeafe;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #06b6d4;
}

* { box-sizing: border-box; }

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

main { flex: 1; }

.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #dbeafe 100%);
    padding: 6rem 0;
}

.hero-title {
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #475569;
}

.hero-card {
    background: white;
    border-radius: 1.5rem;
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.5);
}

.login-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.card {
    border-radius: 0.75rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.table th {
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
}

.table td {
    vertical-align: middle;
    font-size: 0.9rem;
}

.ticket-id {
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
}

.ticket-description {
    font-size: 0.95rem;
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-word;
}

.comment-item {
    transition: background-color 0.2s ease;
}

.comment-item:hover {
    background-color: #f8fafc;
}

.avatar-circle {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-initials {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.avatar-circle-sm {
    width: 36px;
    height: 36px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.avatar-initials-sm {
    font-size: 0.9rem;
    font-weight: 700;
    color: white;
}

.notif-item {
    transition: background-color 0.2s ease;
}

.notif-item:hover {
    background-color: #f1f5f9 !important;
}

.notif-dropdown {
    max-height: 400px;
    overflow-y: auto;
}

.notif-dropdown .notif-item {
    white-space: normal;
    padding: 0.75rem 1rem;
}

.breadcrumb {
    background: transparent;
    padding: 0;
}

.pagination .page-link {
    border-radius: 0.5rem;
    margin: 0 2px;
    border: none;
    color: var(--primary);
}

.pagination .page-item.active .page-link {
    background: var(--primary);
    color: white;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.alert {
    border-radius: 0.75rem;
    border: none;
}

.footer-landing {
    background: #1e293b;
    color: #94a3b8;
    padding: 2rem 0;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0;
        min-height: auto;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-card {
        margin-top: 2rem;
    }

    .table-responsive {
        font-size: 0.8rem;
    }

    .table td, .table th {
        padding: 0.5rem;
    }

    .d-flex.flex-wrap.gap-2 .btn {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }

    .container-fluid {
        padding: 1rem !important;
    }
}

@media (max-width: 576px) {
    .card-body {
        padding: 1rem !important;
    }

    .navbar-brand {
        font-size: 1rem;
    }

    .avatar-circle {
        width: 40px;
        height: 40px;
    }

    .avatar-initials {
        font-size: 1rem;
    }
}

img.img-fluid {
    cursor: pointer;
    transition: opacity 0.2s ease;
}

img.img-fluid:hover {
    opacity: 0.9;
}

.navbar {
    padding: 0.6rem 0;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255,255,255,0.85);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.navbar-dark .navbar-nav .nav-link:hover {
    background: rgba(255,255,255,0.1);
    color: white;
}

.dropdown-menu {
    border-radius: 0.75rem;
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.dropdown-item {
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
}

.dropdown-item:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.form-label {
    font-size: 0.875rem;
    color: #374151;
}

.table-danger {
    background-color: #fef2f2 !important;
}

.badge {
    font-weight: 500;
    letter-spacing: 0.02em;
}
