/* --- Favourite Page Premium Design --- */

/* Empty State */
.empty-favourite {
    text-align: center;
    padding: 80px 20px;
    background: #fff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    max-width: 600px;
    margin: 0 auto;
    display: none;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.empty-favourite.visible {
    display: block;
    animation: fadeInUp 0.8s ease-out;
}

.empty-icon {
    font-size: 6rem;
    color: #fca5a5;
    margin-bottom: 30px;
    animation: float 3s ease-in-out infinite;
    display: inline-block;
}

.empty-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 15px;
}

.empty-text {
    color: var(--text-light);
    margin-bottom: 35px;
    font-size: 1.15rem;
    line-height: 1.6;
}

.continue-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 35px;
    background: var(--primary-gradient);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(255, 159, 67, 0.3);
}

.continue-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 159, 67, 0.4);
    color: #fff;
}

/* Toast Notifications */
.toast-success,
.toast-error {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    padding: 20px 25px;
    z-index: 10000;
    min-width: 350px;
    max-width: 450px;
    animation: slideDown 0.5s ease-out forwards, slideUp 0.5s ease-in 4.5s forwards;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.toast-success {
    border-right: 4px solid var(--success-color, #10b981);
}

.toast-error {
    border-right: 4px solid var(--danger-color, #ef4444);
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.toast-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.toast-success .toast-icon {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color, #10b981);
}

.toast-error .toast-icon {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color, #ef4444);
}

.toast-message {
    flex: 1;
}

.toast-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 5px 0;
    color: var(--text-main);
}

.toast-description {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0;
}

.toast-close {
    position: absolute;
    top: -5px;
    left: -5px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: #f1f5f9;
    color: var(--text-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.toast-close:hover {
    background: #e2e8f0;
    color: var(--text-main);
}

.toast-progress {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    overflow: hidden;
}

.toast-progress::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    animation: progressBar 5s linear forwards;
}

.toast-success .toast-progress::after {
    background: var(--success-color, #10b981);
}

.toast-error .toast-progress::after {
    background: var(--danger-color, #ef4444);
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-100px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    to {
        opacity: 0;
        transform: translateX(-50%) translateY(-100px);
    }
}

@keyframes progressBar {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: scale(0.8);
    }
}

/* Responsive */
@media (max-width: 768px) {

    .toast-success,
    .toast-error {
        min-width: 90%;
        max-width: 90%;
        left: 5%;
        transform: translateX(0) translateY(-100px);
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateX(0) translateY(-100px);
        }

        to {
            opacity: 1;
            transform: translateX(0) translateY(0);
        }
    }

    @keyframes slideUp {
        from {
            opacity: 1;
            transform: translateX(0) translateY(0);
        }

        to {
            opacity: 0;
            transform: translateX(0) translateY(-100px);
        }
    }

    .empty-icon {
        font-size: 4.5rem;
    }

    .empty-title {
        font-size: 1.6rem;
    }

    .empty-text {
        font-size: 1rem;
    }
}