@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@400;600;700&display=swap');

body {
    font-family: 'Assistant', sans-serif;
}

/* RSU Calculator Styles */
input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none;
    width: 20px; height: 20px;
    background: #2563eb; cursor: pointer; border-radius: 50%;
    margin-top: -6px;
}
input[type=checkbox]:checked {
    background-color: #2563eb;
    border-color: #2563eb;
}
.loader {
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Portfolio Tracker Styles */
.blinking { animation: blinker 1.5s linear infinite; }
@keyframes blinker { 50% { opacity: 0.3; } }
[data-tooltip]:hover::after {
    content: attr(data-tooltip); position: absolute; bottom: 100%; left: 50%;
    transform: translateX(-50%) translateY(-8px); background-color: #333; color: white;
    padding: 4px 8px; border-radius: 4px; font-size: 12px; white-space: nowrap; z-index: 50;
}
.sortable { cursor: pointer; position: relative; padding-left: 20px; }
.sort-icon { position: absolute; left: 5px; top: 50%; transform: translateY(-50%); opacity: 0.4; }
.sortable.active .sort-icon { opacity: 1; color: #0d9488; }
#new-assets-container tr:last-child { border-bottom: none; }
.modal { transition: all 300ms; }
.modal-enter { opacity: 0; transform: scale(0.95); }
.modal-enter-active { opacity: 1; transform: scale(1); }
.modal-leave { opacity: 1; transform: scale(1); }
.modal-leave-active { opacity: 0; transform: scale(0.95); }

/* Compound Interest Calculator Styles */
.duration-btn.active {
    background-color: #3b82f6;
    color: white;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}
.duration-btn {
    transition: all 0.2s;
}
/* Custom Toggle Switch */
input:checked ~ .dot {
    transform: translateX(100%);
}
 input:checked ~ .block {
    background-color: #93c5fd;
}

/* Loan Mortgage Calculator Styles */
.tab-btn.active {
    background-color: #4f46e5; color: white;
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.1), 0 2px 4px -1px rgba(79, 70, 229, 0.06);
}
.tab-btn { transition: all 0.2s; }
