/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #3498db;
    --primary-dark: #2980b9;
    --success: #27ae60;
    --warning: #f39c12;
    --danger: #e74c3c;
    --purple: #9b59b6;
    --dark: #2c3e50;
    --gray: #7f8c8d;
    --light-gray: #ecf0f1;
    --white: #ffffff;
    --sidebar-width: 260px;

    /* Escala de cinza - texto */
    --text-primary: #333;
    --text-secondary: #555;
    --text-muted: #888;
    --text-light: #999;

    /* Escala de cinza - backgrounds */
    --bg-light: #f8f9fa;
    --bg-lighter: #f5f5f5;

    /* Escala de cinza - bordas */
    --border-light: #f0f0f0;
    --border-base: #e0e0e0;
    --border-medium: #ddd;

    /* Paleta azul (complementa --primary) */
    --blue-50: #e3f2fd;
    --blue-600: #1976d2;

    /* Escala de border-radius */
    --radius-sm: 4px;
    --radius-base: 6px;
    --radius-md: 8px;
    --radius-lg: 10px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f6fa;
    color: var(--dark);
    line-height: 1.6;
}

/* Layout Principal */
.app-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    background: var(--dark);
    color: var(--white);
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    transition: transform 0.3s ease;
    z-index: 1000;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-header h2 {
    font-size: 1.5rem;
}

.sidebar-header i {
    margin-right: 10px;
}

.sidebar-nav {
    flex: 1;
    padding: 10px 0;
    overflow-y: auto;
}

/* Accordion Groups */
.nav-group {
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: color 0.2s;
    user-select: none;
}

.nav-group-header:hover {
    color: rgba(255,255,255,0.8);
}

.nav-group.open .nav-group-header {
    color: rgba(255,255,255,0.7);
}

.nav-group-header span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-group-header span i {
    width: 16px;
    font-size: 0.7rem;
}

.nav-group-arrow {
    font-size: 0.6rem;
    transition: transform 0.25s ease;
}

.nav-group.open .nav-group-arrow {
    transform: rotate(180deg);
}

.nav-group-items {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.nav-group.open .nav-group-items {
    max-height: 500px;
}

.nav-group-items .nav-item {
    padding: 9px 20px 9px 38px;
    font-size: 0.88rem;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.2s;
}

.nav-item:hover, .nav-item.active {
    background: rgba(255,255,255,0.1);
    color: var(--white);
}

.nav-item i {
    width: 22px;
    margin-right: 10px;
    font-size: 0.85rem;
}

.nav-item .badge {
    margin-left: auto;
    background: var(--danger);
    color: var(--white);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
}

.user-menu-status {
    padding: 8px 12px;
    border-bottom: 1px solid var(--border-light);
}

.user-menu-status select {
    width: 100%;
    padding: 6px 8px;
    border-radius: 4px;
    border: 1px solid var(--border-medium);
    background: var(--white);
    color: var(--text-primary);
    font-size: 0.85rem;
    cursor: pointer;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    display: flex;
    flex-direction: column;
}

.topbar {
    background: var(--white);
    padding: 15px 30px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.topbar h1 {
    font-size: 1.5rem;
    margin-left: 15px;
}

.topbar-actions {
    margin-left: auto;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.topbar-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    color: var(--gray);
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    font-size: 1rem;
}
.topbar-icon-btn:hover {
    background: var(--light-gray);
    color: var(--primary);
}

.topbar-actions select {
    padding: 6px 30px 6px 10px;
    font-size: 0.82rem;
    height: 34px;
}

/* User Dropdown (topbar) */
.topbar-user-dropdown {
    position: relative;
}

.topbar-user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: var(--light-gray);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--dark);
    transition: background 0.2s;
}

.topbar-user-btn:hover {
    background: #d5d5d5;
}

.topbar-user-btn .fa-user-circle {
    font-size: 1.1rem;
    color: var(--gray);
}

.topbar-user-menu {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    min-width: 160px;
    z-index: 1001;
}

.topbar-user-menu.active {
    display: block;
}

.user-menu-item {
    width: 100%;
    padding: 10px 16px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--dark);
    transition: background 0.2s;
}

.user-menu-item:hover {
    background: var(--light-gray);
}

.user-menu-item i {
    width: 16px;
    color: var(--gray);
}

/* Bot Toggle */
.bot-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    background: #e8f5e9;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--success);
    transition: all 0.3s;
}
.bot-toggle.bot-off {
    background: #fbe9e7;
    color: var(--danger);
}
.bot-toggle .fa-robot { font-size: 1rem; }
.bot-toggle-label { font-weight: 600; min-width: 50px; }

/* Toggle Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 20px;
}
.switch input { opacity: 0; width: 0; height: 0; }
.switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 20px;
}
.switch .slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}
.switch input:checked + .slider {
    background-color: var(--success);
}
.switch input:checked + .slider:before {
    transform: translateX(16px);
}

.btn-menu {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
}

.content {
    padding: 30px;
    flex: 1;
    overflow-y: auto;
}

/* Dashboard Cards */
.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.card {
    background: var(--white);
    border-radius: 10px;
    padding: 25px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 20px;
}

.card-blue .card-icon { background: rgba(52,152,219,0.2); color: var(--primary); }
.card-green .card-icon { background: rgba(39,174,96,0.2); color: var(--success); }
.card-orange .card-icon { background: rgba(243,156,18,0.2); color: var(--warning); }
.card-purple .card-icon { background: rgba(155,89,182,0.2); color: var(--purple); }
.card-red .card-icon { background: rgba(231,76,60,0.2); color: var(--danger); }

.card-info h3 {
    font-size: 2rem;
    font-weight: 600;
}

.card-info p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Stat Cards (métricas/KPIs) */
.stat-card {
    background: var(--white);
    border: 1px solid var(--border-base, #e0e0e0);
    border-radius: 8px;
    padding: 12px;
    text-align: center;
}

.stat-card .stat-value,
.stat-card .stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
}

.stat-card .stat-label {
    font-size: 0.75rem;
    color: var(--text-muted, #888);
    margin-top: 2px;
    display: block;
}

/* Timeline vertical com dots */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-base, #e0e0e0);
}

.timeline-item {
    position: relative;
    margin-bottom: 16px;
    padding: 12px 16px;
    background: var(--white);
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    transition: box-shadow 0.15s;
}

.timeline-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.timeline-dot {
    position: absolute;
    left: -24px;
    top: 16px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--white);
    box-shadow: 0 0 0 2px var(--border-base, #e0e0e0);
}

/* Dashboard Sections */
.dashboard-section {
    background: var(--white);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.dashboard-section h2 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--light-gray);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.stat-item {
    text-align: center;
    padding: 15px;
    background: var(--light-gray);
    border-radius: 8px;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--gray);
}

/* Operadores Grid */
.operadores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.operador-card {
    display: flex;
    align-items: center;
    padding: 15px;
    background: var(--light-gray);
    border-radius: 8px;
}

.operador-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.operador-info {
    flex: 1;
}

.operador-info strong {
    display: block;
    font-size: 0.95rem;
}

.operador-info small {
    color: var(--gray);
}

.operador-status {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.operador-status.online { background: var(--success); }
.operador-status.ocupado { background: var(--warning); }

/* Login Page */
.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%);
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.login-box {
    background: var(--white);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.login-header h1 {
    font-size: 2rem;
    color: var(--dark);
}

.login-header p {
    color: var(--gray);
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.form-group label i {
    margin-right: 8px;
    color: var(--gray);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

.form-control {
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
    font-family: inherit;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    gap: 10px;
}

/* Global input/select/textarea - garante aparência uniforme em todas as páginas */
.content input[type="text"],
.content input[type="number"],
.content input[type="date"],
.content input[type="datetime-local"],
.content input[type="time"],
.content input[type="email"],
.content input[type="password"],
.content input[type="search"],
.content input[type="tel"],
.content input[type="url"],
.content select,
.content textarea,
.topbar select,
.modal input[type="text"],
.modal input[type="number"],
.modal input[type="date"],
.modal input[type="datetime-local"],
.modal input[type="time"],
.modal input[type="email"],
.modal input[type="password"],
.modal select,
.modal textarea {
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.9rem;
    font-family: inherit;
    background: var(--white);
    color: var(--dark);
    transition: border-color 0.2s, box-shadow 0.2s;
    height: auto;
    line-height: 1.4;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.content select,
.topbar select,
.modal select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 10px center;
    background-repeat: no-repeat;
    background-size: 16px 16px;
    padding-right: 34px;
    cursor: pointer;
}

.content input:focus,
.content select:focus,
.content textarea:focus,
.topbar select:focus,
.modal input:focus,
.modal select:focus,
.modal textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.12);
}

.content input::placeholder,
.content textarea::placeholder,
.modal input::placeholder,
.modal textarea::placeholder {
    color: #9ca3af;
}

/* Filters row - estilo padronizado */
.filters-row select,
.filters-row input {
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.9rem;
}

.error-message {
    background: rgba(231,76,60,0.1);
    color: var(--danger);
    padding: 10px 15px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.btn i {
    margin-right: 8px;
}

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

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

.btn-success {
    background: var(--success);
    color: var(--white);
}

.btn-danger {
    background: var(--danger);
    color: var(--white);
}

.btn-secondary {
    background: #6c757d;
    color: var(--white);
}

.btn-warning {
    background: var(--warning);
    color: var(--white);
}

.btn-block {
    width: 100%;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

/* Tables */
.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--light-gray);
}

th {
    background: var(--light-gray);
    font-weight: 600;
}

tr:hover {
    background: rgba(0,0,0,0.02);
}

/* Empty Message */
.empty-message {
    text-align: center;
    color: var(--gray);
    padding: 40px;
}

/* Badges (sistema centralizado) */
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    line-height: 1.4;
}

.badge-sm {
    padding: 2px 8px;
    font-size: 0.7rem;
}

/* Cores semânticas */
.badge-success { background: #e8f5e9; color: #2e7d32; }
.badge-info { background: #e3f2fd; color: #1565c0; }
.badge-warning { background: #fff3e0; color: #ef6c00; }
.badge-danger { background: #ffebee; color: #c62828; }
.badge-neutral { background: #f5f5f5; color: #616161; }
.badge-purple { background: #f3e5f5; color: #7b1fa2; }
.badge-teal { background: #e0f2f1; color: #00695c; }
.badge-yellow { background: #fffde7; color: #f57f17; }
.badge-dark { background: #e2e3e5; color: #383d41; }
.badge-primary { background: var(--primary); color: white; }

/* Canais */
.badge-whatsapp { background: #dcf8c6; color: #25d366; }
.badge-email { background: #e3f2fd; color: #1976d2; }
.badge-portal { background: #f3e5f5; color: #7b1fa2; }
.badge-telefone { background: #fff3e0; color: #e65100; }
.badge-presencial { background: #e0f2f1; color: #00695c; }
.badge-videochamada { background: #e8eaf6; color: #283593; }
.badge-chat { background: #fce4ec; color: #880e4f; }

/* Modal (padrão único) */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--white);
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(20px);
    transition: transform 0.3s;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-content.modal-large {
    max-width: 900px;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1.2rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray);
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    padding: 15px 20px;
    border-top: 1px solid var(--light-gray);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* Chat Container */
.chat-container {
    display: flex;
    height: calc(100vh - 130px);
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
}

.chat-list {
    width: 300px;
    border-right: 1px solid var(--light-gray);
    overflow-y: auto;
}

.chat-item {
    padding: 15px;
    border-bottom: 1px solid var(--light-gray);
    cursor: pointer;
    transition: background 0.2s;
}

.chat-item:hover, .chat-item.active {
    background: var(--light-gray);
}

.chat-item-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.chat-item-name {
    font-weight: 600;
}

.chat-item-time {
    font-size: 0.8rem;
    color: var(--gray);
}

.chat-item-preview {
    font-size: 0.9rem;
    color: var(--gray);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    min-width: 0;
    overflow: hidden;
}

.chat-header {
    padding: 15px 20px;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f8f9fa;
}

.message {
    max-width: 70%;
    margin-bottom: 15px;
    padding: 12px 16px;
    border-radius: 18px;
}

.message.entrada {
    background: var(--white);
    margin-right: auto;
    border-bottom-left-radius: 4px;
}

.message.saida {
    background: var(--primary);
    color: var(--white);
    margin-left: auto;
    border-bottom-right-radius: 4px;
}

.message.saida.bot {
    background: var(--white);
    color: #333;
    border: 1px solid #e0e0e0;
}

.message-time {
    font-size: 0.75rem;
    opacity: 0.7;
    margin-top: 5px;
}

.date-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 16px 0;
}

.date-separator span {
    background: rgba(0,0,0,0.08);
    color: var(--gray);
    font-size: 0.75rem;
    padding: 4px 14px;
    border-radius: 12px;
    font-weight: 500;
}

.chat-input {
    padding: 15px 20px;
    border-top: 1px solid var(--light-gray);
    display: flex;
    gap: 10px;
}

.chat-input input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: 25px;
    font-size: 1rem;
}

.chat-input button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: var(--primary);
    color: var(--white);
    cursor: pointer;
    transition: background 0.3s;
}

.chat-input button:hover {
    background: var(--primary-dark);
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
    }

    .btn-menu {
        display: block;
    }

    .chat-list {
        display: none;
    }

    .chat-container.show-list .chat-list {
        display: block;
        width: 100%;
    }

    .chat-container.show-list .chat-main {
        display: none;
    }
}

/* Utility classes */
.mb-3 { margin-bottom: 1rem; }
.mt-3 { margin-top: 1rem; }
.text-muted { color: var(--text-muted); }
.hidden { display: none; }

/* Animações globais */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-20px); max-height: 0; }
    to { opacity: 1; transform: translateX(0); max-height: 300px; }
}

@keyframes pulseOpacity {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes pulseRing {
    0% { box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.6); }
    70% { box-shadow: 0 0 0 15px rgba(52, 152, 219, 0); }
    100% { box-shadow: 0 0 0 0 rgba(52, 152, 219, 0); }
}

/* Button utilities */
.btn-purple { background: var(--purple); color: white; }
.btn-purple:hover { background: #8e44ad; }
.btn-orange { background: #e65100; color: white; }
.btn-orange:hover { background: #bf360c; }

/* Layout utilities */
.badge-right { margin-left: auto; }
