@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --bg-primary: #07071C;
    --bg-secondary: #0D0C28;
    --bg-card: #13123A;
    --border-color: rgba(167, 139, 250, 0.12);
    --text-primary: #F5F3FF;
    --text-secondary: #A78BFA;
    --brand-blue: #4F46E5;
    --brand-yellow: #7C3AED;
    --brand-blue-hover: #7C3AED;
    --brand-yellow-hover: #A855F7;
    --success: #10B981;
    --info: #818CF8;
    --warning: #F59E0B;
    --danger: #EF4444;
    --radius-lg: 18px;
    --radius-md: 14px;
    --radius-sm: 8px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-premium: 0 10px 30px -10px rgba(0, 0, 0, 0.7), 0 1px 1px rgba(167, 139, 250, 0.05) inset;
    --grad: linear-gradient(135deg, #4F46E5 0%, #7C3AED 55%, #A855F7 100%);
    --lavender: #C4B5FD;
    --mist: #DDD6FE;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Orbio Logo overlay style */
.bg-overlay {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vw;
    max-width: 800px;
    max-height: 800px;
    background: radial-gradient(circle, rgba(124, 90, 237, 0.08) 0%, rgba(79, 70, 229, 0.03) 50%, transparent 100%);
    pointer-events: none;
    z-index: -1;
}

/* Login Container */
.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.login-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    width: 100%;
    max-width: 440px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-premium);
    text-align: center;
    transform: translateY(20px);
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.brand-logo-container {
    margin-bottom: 30px;
}

.brand-logo-container h1 {
    font-weight: 800;
    font-size: 2rem;
    letter-spacing: -1px;
}

.brand-logo-container h1 span.red {
    color: var(--brand-blue);
}

.brand-logo-container h1 span.yellow {
    color: var(--brand-yellow);
}

.brand-subtitle {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-top: 5px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}
.form-control:focus {
    outline: none;
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.25);
    background: rgba(0, 0, 0, 0.5);
}

.btn-primary {
    width: 100%;
    background: linear-gradient(135deg, var(--brand-blue), #004085);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    padding: 14px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(227, 28, 36, 0.5);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Dashboard Container Layout */
.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Sidebar navigation */
.sidebar {
    width: 280px;
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: fixed;
    height: 100vh;
    z-index: 100;
}

.sidebar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

.sidebar-brand span.red { color: var(--brand-blue); }
.sidebar-brand span.yellow { color: var(--brand-yellow); }

.sidebar-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.menu-item:hover, .menu-item.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.menu-item.active {
    background: linear-gradient(90deg, rgba(227, 28, 36, 0.15) 0%, rgba(227, 28, 36, 0.03) 100%);
    border-left: 3px solid var(--brand-blue);
}

.sidebar-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-yellow), var(--brand-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: white;
}

.user-info h4 {
    font-size: 0.9rem;
    font-weight: 600;
}

.user-info p {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.btn-logout {
    width: 100%;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 8px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-logout:hover {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border-color: rgba(239, 68, 68, 0.3);
}

/* Main Content Area */
.main-content {
    flex-grow: 1;
    margin-left: 280px;
    padding: 40px;
    min-height: 100vh;
}

/* Top bar with page title and global filters */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    gap: 20px;
    flex-wrap: wrap;
}

.page-title h2 {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.page-title p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.global-filters {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* Metrics Cards Row */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 35px;
}

.metric-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 120px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.metric-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.15);
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
}

.metric-card.active::before { background-color: var(--brand-blue); }
.metric-card.waiting::before { background-color: var(--warning); }
.metric-card.arrived::before { background-color: var(--success); }
.metric-card.delayed::before { background-color: var(--danger); animation: pulseBorder 1.5s infinite; }

.metric-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.metric-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.metric-value {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-top: 10px;
}

.metric-desc {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 5px;
}

/* Tabs Content Styles */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

/* Header Table Controls */
.table-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
    flex-wrap: wrap;
}

.search-box {
    position: relative;
    max-width: 320px;
    width: 100%;
}

.search-box input {
    width: 100%;
    padding-left: 40px;
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    pointer-events: none;
}

.filter-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-pill {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-pill:hover, .filter-pill.active {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.2);
}

.filter-pill.active {
    background: var(--brand-blue);
    color: white;
    border-color: var(--brand-blue);
}

.btn-icon-text {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Beautiful modern list / grid for requests */
.requests-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.request-card, .warranty-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: grid;
    align-items: center;
    gap: 20px;
    position: relative;
    transition: var(--transition-smooth);
}

.request-card {
    grid-template-columns: 1.5fr 1.5fr 1fr 2fr 1.2fr 1fr;
}

.warranty-card {
    grid-template-columns: 1.5fr 1.5fr 1fr 2fr 1.2fr 1.2fr 1fr;
}

.request-card:hover, .warranty-card:hover {
    transform: translateX(4px);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.request-card.delayed-warning, .warranty-card.delayed-warning {
    border-left: 4px solid var(--danger);
}

.delay-banner-card {
    grid-column: 1 / -1;
    width: 100%;
}

.card-title-section {
    display: flex;
    flex-direction: column;
}

.card-client {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary);
}

.card-store-badge {
    align-self: flex-start;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    margin-top: 4px;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.08);
    color: var(--brand-yellow);
}

.card-info-section {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.card-info-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-info-value {
    font-size: 0.875rem;
    font-weight: 600;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-align: center;
    width: fit-content;
    text-transform: uppercase;
}

.status-solicitado { background: rgba(124, 90, 237, 0.15); color: #C4B5FD; border: 1px solid rgba(124, 90, 237, 0.3); }
.status-aguardando { background: rgba(245, 158, 11, 0.15); color: var(--warning); border: 1px solid rgba(245, 158, 11, 0.3); }
.status-faturado { background: rgba(59, 130, 246, 0.15); color: var(--info); border: 1px solid rgba(59, 130, 246, 0.3); }
.status-chegou { background: rgba(16, 185, 129, 0.15); color: var(--success); border: 1px solid rgba(16, 185, 129, 0.3); }
.status-atrasado { background: rgba(239, 68, 68, 0.15); color: var(--danger); border: 1px solid rgba(239, 68, 68, 0.3); animation: pulseDangerBg 2s infinite; }

.action-buttons {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.btn-action {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-action:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.20);
}

.btn-action.btn-edit:hover {
    color: var(--brand-yellow);
    border-color: rgba(255, 199, 44, 0.3);
}

.btn-action.btn-delete:hover {
    color: var(--danger);
    border-color: rgba(239, 68, 68, 0.3);
}

/* Modals & Dialogs */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: #17171c;
    border: 1px solid var(--border-color);
    width: 100%;
    max-width: 600px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

.modal-overlay.active .modal-card {
    transform: translateY(0);
}

.modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

.btn-close-modal {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-close-modal:hover {
    color: var(--text-primary);
}

.modal-body {
    padding: 25px;
    max-height: 70vh;
    overflow-y: auto;
}

.modal-footer {
    padding: 20px 25px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* Grid within Form */
.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* Dynamic Faturado Block */
.faturado-detail-block, .chegou-detail-block, .aguardando-detail-block, .indisponivel-detail-block {
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-sm);
    padding: 15px;
    margin-top: 15px;
    display: none;
}

.faturado-detail-block.active, .chegou-detail-block.active, .aguardando-detail-block.active, .indisponivel-detail-block.active {
    display: block;
    animation: slideDown 0.3s ease;
}

/* Image upload styling */
.image-upload-zone {
    border: 2px dashed var(--border-color);
    padding: 20px;
    border-radius: var(--radius-sm);
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    margin-top: 10px;
    position: relative;
}

.image-upload-zone:hover {
    border-color: var(--brand-blue);
    background: rgba(227, 28, 36, 0.02);
}

.image-preview-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.image-preview-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.image-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-preview-item .remove-img-btn {
    position: absolute;
    top: 2px;
    right: 2px;
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    cursor: pointer;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Toast System */
.toast-container {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: #1e1e24;
    border-left: 4px solid var(--brand-blue);
    color: var(--text-primary);
    padding: 15px 20px;
    border-radius: var(--radius-sm);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    min-width: 280px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: slideInRight 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.toast.success { border-left-color: var(--success); }
.toast.info { border-left-color: var(--info); }
.toast.warning { border-left-color: var(--warning); }
.toast.danger { border-left-color: var(--danger); }

/* Animation Keyframes */
@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulseBorder {
    0% { border-color: rgba(239, 68, 68, 0.4); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
    70% { border-color: rgba(239, 68, 68, 0.8); box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
    100% { border-color: rgba(239, 68, 68, 0.4); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

@keyframes pulseDangerBg {
    0% { background: rgba(239, 68, 68, 0.1); }
    50% { background: rgba(239, 68, 68, 0.25); }
    100% { background: rgba(239, 68, 68, 0.1); }
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .request-card, .warranty-card {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    .action-buttons {
        grid-column: span 2;
        justify-content: flex-start;
        border-top: 1px solid var(--border-color);
        padding-top: 10px;
        margin-top: 5px;
    }
}

@media (max-width: 768px) {
    .dashboard-wrapper {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 20px;
    }
    .main-content {
        margin-left: 0;
        padding: 20px;
    }
    .form-grid-2 {
        grid-template-columns: 1fr;
    }
}

/* Guia de Processo Styles */
.process-step-card {
    background: rgba(19, 18, 58, 0.4);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}
.process-step-card:hover {
    border-color: rgba(167, 139, 250, 0.3);
    background: rgba(19, 18, 58, 0.6);
    transform: translateY(-2px);
}
.process-step-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}
.process-step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--grad);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 0 15px rgba(124, 90, 237, 0.4);
}
.process-step-title {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
}
.process-step-body {
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.6;
}
.process-step-body p {
    margin-bottom: 12px;
}
.process-step-body ul, .process-step-body ol {
    margin-left: 20px;
    margin-bottom: 12px;
}
.process-step-body li {
    margin-bottom: 8px;
}
.process-link {
    color: #93C5FD;
    text-decoration: underline;
    font-weight: 600;
    transition: var(--transition-smooth);
    word-break: break-all;
}
.process-link:hover {
    color: var(--brand-yellow);
    text-shadow: 0 0 8px rgba(167, 139, 250, 0.6);
}
.process-image-container {
    margin-top: 15px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border-color);
    max-width: 100%;
}
.process-image {
    width: 100%;
    max-width: 650px;
    display: block;
    height: auto;
    object-fit: contain;
    background: #0d0c28;
}
.process-alert {
    background: rgba(245, 158, 11, 0.1);
    border-left: 4px solid var(--warning);
    padding: 12px 16px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin-top: 15px;
    font-size: 0.9rem;
    color: #FDE68A;
}

/* Observation Tooltip */
.observation-tooltip-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    padding-top: 6px;
    border-top: 1px dashed rgba(255,255,255,0.06);
    font-size: 0.8rem;
    color: var(--text-secondary);
    cursor: help;
    width: 100%;
}

.observation-tooltip-container .obs-icon {
    color: var(--info) !important;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.observation-tooltip-text {
    visibility: hidden;
    width: 280px;
    background-color: #1c1b2e;
    color: #e5e7eb;
    text-align: left;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 10px;
    position: absolute;
    z-index: 100;
    bottom: 125%;
    left: 10px;
    opacity: 0;
    transition: opacity 0.3s;
    font-style: normal;
    font-size: 0.8rem;
    line-height: 1.4;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    pointer-events: none;
    white-space: normal;
    word-break: break-word;
}

.observation-tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 20px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--border-color) transparent transparent transparent;
}

.observation-tooltip-container:hover .observation-tooltip-text {
    visibility: visible;
    opacity: 1;
}

