/**
 * Mesa de Ayuda ITSM - Tema principal
 * Inspirado en Freshdesk/Zendesk
 */

:root {
    --hd-primary: #2563eb;
    --hd-primary-dark: #1d4ed8;
    --hd-primary-light: #3b82f6;
    --hd-secondary: #64748b;
    --hd-success: #10b981;
    --hd-warning: #f59e0b;
    --hd-danger: #ef4444;
    --hd-info: #06b6d4;

    --hd-sidebar-width: 260px;
    --hd-sidebar-collapsed: 72px;
    --hd-navbar-height: 64px;
    --hd-radius: 0.5rem;
    --hd-radius-lg: 0.75rem;
    --hd-shadow: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.06);
    --hd-shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.06);
    --hd-shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.06);
    --hd-transition: 0.2s ease;

    --hd-bg-body: #f1f5f9;
    --hd-bg-surface: #ffffff;
    --hd-bg-sidebar: #0f172a;
    --hd-bg-sidebar-hover: rgba(255, 255, 255, 0.08);
    --hd-bg-sidebar-active: rgba(37, 99, 235, 0.25);
    --hd-text-primary: #0f172a;
    --hd-text-secondary: #64748b;
    --hd-text-muted: #94a3b8;
    --hd-text-sidebar: #cbd5e1;
    --hd-text-sidebar-active: #ffffff;
    --hd-border: #e2e8f0;
    --hd-border-light: #f1f5f9;
    --hd-input-bg: #ffffff;
    --hd-card-header-bg: #f8fafc;
}

[data-theme="dark"] {
    --hd-bg-body: #0f172a;
    --hd-bg-surface: #1e293b;
    --hd-bg-sidebar: #020617;
    --hd-bg-sidebar-hover: rgba(255, 255, 255, 0.06);
    --hd-bg-sidebar-active: rgba(59, 130, 246, 0.3);
    --hd-text-primary: #f1f5f9;
    --hd-text-secondary: #94a3b8;
    --hd-text-muted: #64748b;
    --hd-text-sidebar: #94a3b8;
    --hd-text-sidebar-active: #ffffff;
    --hd-border: #334155;
    --hd-border-light: #1e293b;
    --hd-input-bg: #0f172a;
    --hd-card-header-bg: #0f172a;
    --hd-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    --hd-shadow-md: 0 4px 6px rgba(0, 0, 0, 0.35);
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--hd-bg-body);
    color: var(--hd-text-primary);
    font-size: 0.9375rem;
    line-height: 1.5;
    margin: 0;
    min-height: 100vh;
}

/* Layout */
.app-wrapper {
    display: flex;
    min-height: 100vh;
}

.app-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--hd-sidebar-width);
    height: 100vh;
    background: var(--hd-bg-sidebar);
    z-index: 1040;
    transition: width var(--hd-transition), transform var(--hd-transition);
    overflow-x: hidden;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.app-sidebar.collapsed {
    width: var(--hd-sidebar-collapsed);
}

.app-main {
    flex: 1;
    margin-left: var(--hd-sidebar-width);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: margin-left var(--hd-transition);
}

.app-sidebar.collapsed ~ .app-main,
body.sidebar-collapsed .app-main {
    margin-left: var(--hd-sidebar-collapsed);
}

.app-content {
    flex: 1;
    padding: 1.5rem;
    padding-top: calc(var(--hd-navbar-height) + 1.5rem);
}

/* Sidebar branding */
.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    min-height: var(--hd-navbar-height);
}

.sidebar-brand-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--hd-primary), var(--hd-primary-light));
    border-radius: var(--hd-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.sidebar-brand-text {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
}

.app-sidebar.collapsed .sidebar-brand-text,
.app-sidebar.collapsed .nav-label,
.app-sidebar.collapsed .nav-section-title {
    opacity: 0;
    width: 0;
    overflow: hidden;
}

.sidebar-nav {
    padding: 0.75rem 0.5rem;
    flex: 1;
}

.nav-section-title {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--hd-text-muted);
    padding: 0.75rem 0.75rem 0.375rem;
    white-space: nowrap;
    transition: opacity var(--hd-transition);
}

.sidebar-nav .nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    color: var(--hd-text-sidebar);
    border-radius: var(--hd-radius);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all var(--hd-transition);
    margin-bottom: 2px;
    white-space: nowrap;
}

.sidebar-nav .nav-link:hover {
    background: var(--hd-bg-sidebar-hover);
    color: var(--hd-text-sidebar-active);
}

.sidebar-nav .nav-link.active {
    background: var(--hd-bg-sidebar-active);
    color: var(--hd-text-sidebar-active);
}

.sidebar-nav .nav-link i {
    width: 20px;
    text-align: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.sidebar-nav .nav-link .badge {
    margin-left: auto;
    font-size: 0.6875rem;
}

/* Navbar */
.app-navbar {
    position: fixed;
    top: 0;
    right: 0;
    left: var(--hd-sidebar-width);
    height: var(--hd-navbar-height);
    background: var(--hd-bg-surface);
    border-bottom: 1px solid var(--hd-border);
    z-index: 1030;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    gap: 1rem;
    transition: left var(--hd-transition);
    box-shadow: var(--hd-shadow);
}

body.sidebar-collapsed .app-navbar {
    left: var(--hd-sidebar-collapsed);
}

.navbar-search {
    flex: 1;
    max-width: 480px;
    position: relative;
}

.navbar-search input {
    width: 100%;
    padding: 0.5rem 1rem 0.5rem 2.5rem;
    border: 1px solid var(--hd-border);
    border-radius: 2rem;
    background: var(--hd-input-bg);
    color: var(--hd-text-primary);
    font-size: 0.875rem;
    transition: border-color var(--hd-transition), box-shadow var(--hd-transition);
}

.navbar-search input:focus {
    outline: none;
    border-color: var(--hd-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.navbar-search .search-icon {
    position: absolute;
    left: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--hd-text-muted);
    pointer-events: none;
}

.search-results-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: var(--hd-bg-surface);
    border: 1px solid var(--hd-border);
    border-radius: var(--hd-radius-lg);
    box-shadow: var(--hd-shadow-lg);
    max-height: 320px;
    overflow-y: auto;
    display: none;
    z-index: 1050;
}

.search-results-dropdown.show {
    display: block;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 1rem;
    color: var(--hd-text-primary);
    text-decoration: none;
    border-bottom: 1px solid var(--hd-border-light);
    transition: background var(--hd-transition);
}

.search-result-item:hover {
    background: var(--hd-bg-body);
}

.search-result-item:last-child {
    border-bottom: none;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
}

.navbar-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    border-radius: var(--hd-radius);
    color: var(--hd-text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--hd-transition);
    position: relative;
}

.navbar-btn:hover {
    background: var(--hd-bg-body);
    color: var(--hd-text-primary);
}

.navbar-btn .notification-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 8px;
    height: 8px;
    background: var(--hd-danger);
    border-radius: 50%;
    border: 2px solid var(--hd-bg-surface);
}

/* Cards */
.card {
    background: var(--hd-bg-surface);
    border: 1px solid var(--hd-border);
    border-radius: var(--hd-radius-lg);
    box-shadow: var(--hd-shadow);
}

.card-header {
    background: var(--hd-card-header-bg);
    border-bottom: 1px solid var(--hd-border);
    padding: 1rem 1.25rem;
    font-weight: 600;
}

.card-body {
    padding: 1.25rem;
}

/* Stat cards */
.stat-card {
    background: var(--hd-bg-surface);
    border: 1px solid var(--hd-border);
    border-radius: var(--hd-radius-lg);
    padding: 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    box-shadow: var(--hd-shadow);
    transition: transform var(--hd-transition), box-shadow var(--hd-transition);
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--hd-shadow-md);
}

.stat-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--hd-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.stat-card-icon.primary { background: rgba(37, 99, 235, 0.12); color: var(--hd-primary); }
.stat-card-icon.success { background: rgba(16, 185, 129, 0.12); color: var(--hd-success); }
.stat-card-icon.warning { background: rgba(245, 158, 11, 0.12); color: var(--hd-warning); }
.stat-card-icon.danger  { background: rgba(239, 68, 68, 0.12); color: var(--hd-danger); }
.stat-card-icon.info    { background: rgba(6, 182, 212, 0.12); color: var(--hd-info); }

.stat-card-value {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--hd-text-primary);
}

.stat-card-label {
    font-size: 0.8125rem;
    color: var(--hd-text-secondary);
    margin-top: 0.125rem;
}

/* Page header */
.page-header {
    margin-bottom: 1.5rem;
}

.page-header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
    color: var(--hd-text-primary);
}

.page-header .breadcrumb {
    margin: 0;
    padding: 0;
    background: none;
    font-size: 0.8125rem;
}

.breadcrumb-item a {
    color: var(--hd-text-secondary);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--hd-primary);
}

.breadcrumb-item.active {
    color: var(--hd-text-muted);
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 1.75rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--hd-border);
}

.timeline-item {
    position: relative;
    padding-bottom: 1.25rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -1.75rem;
    top: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--hd-bg-surface);
    border: 2px solid var(--hd-primary);
    z-index: 1;
}

.timeline-marker.success { border-color: var(--hd-success); }
.timeline-marker.warning { border-color: var(--hd-warning); }
.timeline-marker.danger  { border-color: var(--hd-danger); }
.timeline-marker.info    { border-color: var(--hd-info); }

.timeline-content {
    background: var(--hd-bg-body);
    border: 1px solid var(--hd-border);
    border-radius: var(--hd-radius);
    padding: 0.75rem 1rem;
}

.timeline-meta {
    font-size: 0.75rem;
    color: var(--hd-text-muted);
    margin-bottom: 0.25rem;
}

/* Comments */
.comment-thread .comment {
    display: flex;
    gap: 0.875rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--hd-border);
}

.comment-thread .comment:last-child {
    border-bottom: none;
}

.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--hd-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.comment-body {
    flex: 1;
    min-width: 0;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.375rem;
    flex-wrap: wrap;
}

.comment-author {
    font-weight: 600;
    font-size: 0.875rem;
}

.comment-time {
    font-size: 0.75rem;
    color: var(--hd-text-muted);
}

.comment-text {
    font-size: 0.875rem;
    color: var(--hd-text-primary);
    line-height: 1.6;
}

.comment.internal {
    background: rgba(245, 158, 11, 0.08);
    border-left: 3px solid var(--hd-warning);
    padding: 0.75rem;
    border-radius: 0 var(--hd-radius) var(--hd-radius) 0;
    margin-left: -0.75rem;
    padding-left: calc(0.75rem + 3px);
}

/* Badges custom */
.badge-status {
    font-weight: 500;
    font-size: 0.75rem;
    padding: 0.35em 0.65em;
}

.badge-priority-critica { background: #fef2f2; color: #dc2626; }
.badge-priority-alta    { background: #fffbeb; color: #d97706; }
.badge-priority-media   { background: #eff6ff; color: #2563eb; }
.badge-priority-baja    { background: #f1f5f9; color: #64748b; }

[data-theme="dark"] .badge-priority-critica { background: rgba(220, 38, 38, 0.2); }
[data-theme="dark"] .badge-priority-alta    { background: rgba(217, 119, 6, 0.2); }
[data-theme="dark"] .badge-priority-media   { background: rgba(37, 99, 235, 0.2); }
[data-theme="dark"] .badge-priority-baja    { background: rgba(100, 116, 139, 0.2); }

/* Ticket detail */
.ticket-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}

.ticket-meta-item label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--hd-text-muted);
    margin-bottom: 0.25rem;
}

.ticket-sidebar-actions .btn {
    width: 100%;
    margin-bottom: 0.5rem;
}

/* Auth layout */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #2563eb 100%);
    padding: 1.5rem;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: var(--hd-bg-surface);
    border-radius: var(--hd-radius-lg);
    box-shadow: var(--hd-shadow-lg);
    overflow: hidden;
}

.auth-card-header {
    text-align: center;
    padding: 2rem 2rem 1rem;
}

.auth-logo {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--hd-primary), var(--hd-primary-light));
    border-radius: var(--hd-radius-lg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.auth-card-body {
    padding: 0 2rem 2rem;
}

.auth-footer {
    text-align: center;
    padding: 1rem 2rem;
    background: var(--hd-card-header-bg);
    border-top: 1px solid var(--hd-border);
    font-size: 0.8125rem;
    color: var(--hd-text-secondary);
}

/* Forms */
.form-control, .form-select {
    background-color: var(--hd-input-bg);
    border-color: var(--hd-border);
    color: var(--hd-text-primary);
}

.form-control:focus, .form-select:focus {
    background-color: var(--hd-input-bg);
    border-color: var(--hd-primary);
    color: var(--hd-text-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-label {
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--hd-text-primary);
}

/* DataTables overrides */
.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
    background: var(--hd-input-bg);
    border: 1px solid var(--hd-border);
    color: var(--hd-text-primary);
    border-radius: var(--hd-radius);
    padding: 0.375rem 0.75rem;
}

table.dataTable {
    border-collapse: collapse !important;
}

table.dataTable thead th {
    background: var(--hd-card-header-bg);
    color: var(--hd-text-secondary);
    font-weight: 600;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-bottom: 2px solid var(--hd-border) !important;
}

table.dataTable tbody tr {
    background: var(--hd-bg-surface);
    color: var(--hd-text-primary);
}

table.dataTable tbody tr:hover {
    background: var(--hd-bg-body) !important;
}

/* Toast container */
.toast-container {
    position: fixed;
    top: calc(var(--hd-navbar-height) + 1rem);
    right: 1rem;
    z-index: 9999;
}

/* Error pages */
.error-page {
    min-height: calc(100vh - var(--hd-navbar-height) - 3rem);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.error-code {
    font-size: 6rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--hd-primary), var(--hd-primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Agent ranking */
.ranking-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0;
    border-bottom: 1px solid var(--hd-border);
}

.ranking-item:last-child {
    border-bottom: none;
}

.ranking-position {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--hd-bg-body);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--hd-text-secondary);
}

.ranking-position.gold   { background: #fef3c7; color: #d97706; }
.ranking-position.silver { background: #f1f5f9; color: #64748b; }
.ranking-position.bronze   { background: #ffedd5; color: #c2410c; }

/* Footer */
.app-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--hd-border);
    background: var(--hd-bg-surface);
    font-size: 0.8125rem;
    color: var(--hd-text-muted);
    text-align: center;
}

/* Filters bar */
.filters-bar {
    background: var(--hd-bg-surface);
    border: 1px solid var(--hd-border);
    border-radius: var(--hd-radius-lg);
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
}

/* Survey */
.survey-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--hd-bg-body);
    padding: 2rem;
}

.rating-stars {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    font-size: 2rem;
}

.rating-stars input {
    display: none;
}

.rating-stars label {
    cursor: pointer;
    color: var(--hd-border);
    transition: color var(--hd-transition);
}

.rating-stars label:hover,
.rating-stars label.active,
.rating-stars input:checked ~ label {
    color: #fbbf24;
}

/* Responsive */
@media (max-width: 991.98px) {
    .app-sidebar {
        transform: translateX(-100%);
    }

    .app-sidebar.mobile-open {
        transform: translateX(0);
    }

    .app-main,
    body.sidebar-collapsed .app-main {
        margin-left: 0;
    }

    .app-navbar,
    body.sidebar-collapsed .app-navbar {
        left: 0;
    }

    .sidebar-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1035;
    }

    .sidebar-overlay.show {
        display: block;
    }
}

@media (max-width: 575.98px) {
    .app-content {
        padding: 1rem;
        padding-top: calc(var(--hd-navbar-height) + 1rem);
    }

    .navbar-search {
        display: none;
    }

    .stat-card-value {
        font-size: 1.375rem;
    }
}

/* Utilities */
.text-primary-custom { color: var(--hd-primary) !important; }
.bg-surface { background: var(--hd-bg-surface) !important; }
.border-custom { border-color: var(--hd-border) !important; }

.empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    color: var(--hd-text-muted);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.chart-container {
    position: relative;
    height: 280px;
}

/* ═══════════════════════════════════════════════════════
   Portal público de soporte
   ═══════════════════════════════════════════════════════ */
.public-portal-body {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 45%, #2563eb 100%);
}

.public-hero {
    min-height: calc(100vh - 60px);
}

.public-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

.public-brand-logo {
    max-height: 90px;
    max-width: 280px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin-top: -0.25rem;
    margin-bottom: 1.75rem;
    image-rendering: auto;
}

.public-features li {
    padding: 0.35rem 0;
    font-size: 0.9375rem;
    opacity: 0.9;
}

.public-features li i {
    color: #34d399;
    margin-right: 0.5rem;
}

.public-card {
    background: #fff;
    border-radius: 1rem;
    padding: 1.75rem;
}

.public-avatar-placeholder {
    width: 40px;
    height: 40px;
    background: #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
}

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #dadce0;
    color: #3c4043;
    font-weight: 500;
    padding: 0.625rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: box-shadow 0.2s;
}

.btn-google:hover {
    background: #f8f9fa;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
    color: #3c4043;
}

.public-divider {
    background: #fff;
    padding: 0 0.75rem;
    position: relative;
    z-index: 1;
}

.public-divider::before {
    content: '';
    position: absolute;
    left: -100px;
    right: -100px;
    top: 50%;
    height: 1px;
    background: #e2e8f0;
    z-index: -1;
}

.agent-access-btn {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(15, 23, 42, 0.85);
    color: #94a3b8;
    padding: 0.625rem 1rem;
    border-radius: 2rem;
    text-decoration: none;
    font-size: 0.8125rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    transition: all 0.2s;
    z-index: 1000;
}

.agent-access-btn:hover {
    background: rgba(37, 99, 235, 0.9);
    color: #fff;
    transform: translateY(-2px);
}

.agent-access-btn i {
    font-size: 1rem;
}

.public-tickets-form {
    max-width: 420px;
}

.public-my-tickets .input-group .btn {
    white-space: nowrap;
}

.public-portal-body .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.45);
    color: #fff;
}

.public-portal-body .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
    color: #fff;
}

.public-footer {
    background: rgba(0, 0, 0, 0.2);
}

@media (max-width: 991.98px) {
    .public-hero .col-lg-5 {
        text-align: center;
    }
    .public-brand {
        align-items: center;
    }
    .public-features {
        display: inline-block;
        text-align: left;
    }
}
