﻿
.toast-message {
    position: fixed;
    top: 20px;
    right: 20px;
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    max-width: 400px;
    transform: translateX(450px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1000;
}

    .toast-message.show {
        transform: translateX(0);
        opacity: 1;
    }

    .toast-message.hide {
        transform: translateX(450px);
        opacity: 0;
    }

    /* Toast Types */
    .toast-message.success {
        background: linear-gradient(135deg, #10b981 0%, #059669 100%);
        box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
    }

    .toast-message.error {
        background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
        box-shadow: 0 10px 25px rgba(239, 68, 68, 0.3);
    }

    .toast-message.info {
        background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
        box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
    }

    .toast-message.warning {
        background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
        box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3);
    }

.toast-icon {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .toast-icon svg {
        width: 16px;
        height: 16px;
        stroke: white;
        stroke-width: 3;
        fill: none;
    }

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 4px;
}

.toast-text {
    font-size: 14px;
    opacity: 0.95;
    line-height: 1.4;
}

/* Demo buttons */
.demo-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.button-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.demo-button {
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

    .demo-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .demo-button:active {
        transform: translateY(0);
    }

.btn-success {
    background: #10b981;
}

.btn-error {
    background: #ef4444;
}

.btn-info {
    background: #3b82f6;
}

.btn-warning {
    background: #f59e0b;
}


.validation-error {
    color: red;
}

.aesteric {
    color: red;
}