@keyframes panelIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cardIn {
    from {
        opacity: 0;
        transform: scale(0.93) translateY(16px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes toastOut {
    to {
        opacity: 0;
        transform: translateX(60px);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    display: inline-block;
}

.tos-section {
    background: rgba(245, 158, 11, 0.08) !important;
    border: 1px solid rgba(245, 158, 11, 0.25) !important;
    border-radius: 12px;
    padding: 16px;
    margin-top: 16px;
}

.tos-section .tos-header i {
    color: #f59e0b !important;
}

.tos-section .tos-content {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-height: 120px;
    overflow-y: auto;
    padding-right: 4px;
}

.tos-section .tos-content::-webkit-scrollbar {
    width: 4px;
}

.tos-section .tos-content::-webkit-scrollbar-track {
    background: transparent;
}

.tos-section .tos-content::-webkit-scrollbar-thumb {
    background: rgba(245, 158, 11, 0.3);
    border-radius: 99px;
}

.tos-section .tos-accept {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tos-section .tos-accept input[type="checkbox"] {
    accent-color: #f59e0b;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.tos-section .tos-accept label {
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
}