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

body {
    font-family: 'Poppins', sans-serif;
}
.color-box {
    height: 50px;
    text-shadow: 0 0 4px #999;
}
.color-box:first-child {
    border-bottom-left-radius: 10px;
}
.color-box:last-child {
    border-bottom-right-radius: 10px;
}
#loader {
    border: 5px solid #eee;
    border-top: 5px solid #999;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    margin: 100px auto;
    animation: spin 0.5s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
canvas {
    display: block;
}

.toast {
    position: fixed;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 16px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-size: 14px;
    z-index: 9999;
    animation: slideIn 0.3s ease-in-out;
    max-width: 300px;
    word-wrap: break-word;
}

.toast.success {
    background-color: #4caf50;
}

.toast.error {
    background-color: #f44336;
}

.toast.warning {
    background-color: #ff9800;
}

@keyframes slideIn {
    from {
        top: -60px;
        opacity: 0;
    }
    to {
        top: 20px;
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        top: 20px;
        opacity: 1;
    }
    to {
        top: -60px;
        opacity: 0;
    }
}