@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}
/* Results container */
#resultsContainer {
    transition: all 0.3s ease;
}
/* Log and results container styles */
#logContent, #waybackResults {
    background-color: #1a202c;
    color: #e2e8f0;
    border: 1px solid #2d3748;
    border-radius: 0.375rem;
    font-family: 'Courier New', monospace;
    line-height: 1.5;
    padding: 1rem;
}

/* Snapshot item styles */
.snapshot-item {
    transition: all 0.2s ease;
}

.snapshot-item:hover {
    background-color: #2d3748;
}
/* Scrollable tables */
.max-h-96 {
    max-height: 24rem;
}

/* Table styles */
table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

th {
    background-color: #f7fafc;
    font-weight: 600;
}

tr:hover {
    background-color: #f8fafc;
}
/* Year badges */
.bg-blue-100 {
    background-color: #dbeafe;
}
.bg-blue-100:hover {
    background-color: #bfdbfe;
}

/* Stats cards */
.bg-blue-50 {
    background-color: #eff6ff;
}
.bg-green-50 {
    background-color: #ecfdf5;
}
.bg-gray-50 {
    background-color: #f9fafb;
}

/* Progress bar */
.h-2\.5 {
    height: 0.625rem;
}
/* Infinite mode button */
#infiniteBtn {
    transition: all 0.3s ease;
}

/* Animation for loading */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Tooltip styles */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* Custom checkbox */
.custom-checkbox {
    position: relative;
    padding-left: 25px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #eee;
    border-radius: 4px;
}

.custom-checkbox:hover input ~ .checkmark {
    background-color: #ccc;
}

.custom-checkbox input:checked ~ .checkmark {
    background-color: #3b82f6;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.custom-checkbox .checkmark:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}