/**
 * Toast Notification Styles
 * Beautiful toast popup for guest users
 */

.edz-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    max-width: 400px;
    width: calc(100% - 48px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 247, 247, 0.98) 100%);
    border: 1px solid rgba(253, 141, 39, 0.3);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(253, 141, 39, 0.1);
    z-index: 99999;
    transform: translateY(100px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.edz-toast--visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.edz-toast--hidden {
    transform: translateY(100px);
    opacity: 0;
    visibility: hidden;
}

.edz-toast__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid var(--edz-border, #e1e1e1);
    border-radius: 50%;
    color: var(--edz-text, #111111);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    padding: 0;
    line-height: 1;
    z-index: 10;
}

.edz-toast__close:hover,
.edz-toast__close:focus {
    background: rgba(253, 141, 39, 0.1);
    border-color: var(--edz-accent, #FD8D27);
    color: var(--edz-accent, #FD8D27);
    transform: scale(1.1);
}

.edz-toast__close i {
    font-size: 14px;
    line-height: 1;
}

.edz-toast__content {
    position: relative;
    padding-right: 40px;
}

.edz-toast__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--edz-text, #111111);
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.edz-toast__message {
    font-size: 14px;
    color: var(--edz-text-muted, #555555);
    margin: 0 0 16px 0;
    line-height: 1.5;
}

.edz-toast__actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.edz-toast__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex: 1;
    border: none;
    cursor: pointer;
}

.edz-toast__btn--primary {
    background: var(--edz-btn-gradient, linear-gradient(90deg, var(--edz-accent, #FD8D27), var(--edz-accent-2, #2b84d8)));
    background-size: 200% 100%;
    color: #fff;
}

.edz-toast__btn--primary:hover {
    background-position: 100% 0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(253, 141, 39, 0.3);
    color: #fff;
    text-decoration: none;
}

.edz-toast__btn--secondary {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid var(--edz-border, #e1e1e1);
    color: var(--edz-text, #111111);
}

.edz-toast__btn--secondary:hover {
    background: rgba(0, 0, 0, 0.08);
    border-color: var(--edz-border, #e1e1e1);
    color: var(--edz-text, #111111);
    transform: translateY(-2px);
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    .edz-toast {
        bottom: 16px;
        right: 16px;
        left: 16px;
        width: calc(100% - 32px);
        max-width: none;
        padding: 16px;
    }
    
    .edz-toast__title {
        font-size: 16px;
    }
    
    .edz-toast__message {
        font-size: 13px;
    }
    
    .edz-toast__actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .edz-toast__btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .edz-toast {
        bottom: 12px;
        right: 12px;
        left: 12px;
        width: calc(100% - 24px);
        padding: 14px;
    }
    
    .edz-toast__content {
        padding-right: 32px;
    }
    
    .edz-toast__close {
        width: 28px;
        height: 28px;
        top: 10px;
        right: 10px;
    }
}

