﻿@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #333;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
    z-index: 9999;
    width: 350px;
}

    .notification.success {
        background: green;
    }

    .notification.warning {
        background: orange;
    }

    .notification.error {
        background: red;
    }

.d-none {
    display: none;
}

/* ✅ FIXED MEDIA QUERY */
@media (max-width: 768px) {
    .side-by-side {
        flex-direction: column;
    }

    button {
        width: 100%;
    }

    .panel {
        height: 45vh;
    }

    .mobile-tabs {
        display: flex;
        gap: 6px;
        margin-bottom: 6px;
    }

    .tab-btn {
        flex: 1;
        padding: 8px;
        border: none;
        border-radius: 6px;
        background: #e5e7eb;
        font-weight: 600;
    }

        .tab-btn.active {
            background: #2563eb;
            color: #fff;
        }

    #resultRight {
        display: none;
    }
}
