/* ============================================
   Toast Notification System - First Choice Cars
   ============================================ */

/* Toast Container */
.fcc-toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    pointer-events: none;
    max-width: 400px;
}

/* Individual Toast */
.fcc-toast {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    margin-bottom: 12px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15),
                0 2px 8px rgba(0, 0, 0, 0.08);
    pointer-events: auto;
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-left: 4px solid;
    overflow: hidden;
}

/* Toast Animation - Slide In */
.fcc-toast.fcc-toast-show {
    transform: translateX(0);
    opacity: 1;
}

/* Toast Animation - Slide Out */
.fcc-toast.fcc-toast-hide {
    transform: translateX(120%);
    opacity: 0;
}

/* Toast Icon */
.fcc-toast-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-top: 2px;
}

/* Toast Content */
.fcc-toast-content {
    flex: 1;
    min-width: 0;
}

.fcc-toast-title {
    font-weight: 600;
    font-size: 15px;
    line-height: 1.4;
    margin: 0 0 4px 0;
    color: #2c3e50;
}

.fcc-toast-message {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    color: #546e7a;
    word-wrap: break-word;
}

/* Close Button */
.fcc-toast-close {
    flex-shrink: 0;
    background: none;
    border: none;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #90a4ae;
    transition: color 0.2s ease;
    font-size: 20px;
    line-height: 1;
    margin-top: 2px;
}

.fcc-toast-close:hover {
    color: #546e7a;
}

/* Progress Bar */
.fcc-toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: currentColor;
    opacity: 0.3;
    transform-origin: left;
    transition: transform linear;
}

/* Success Toast - Brand Gold */
.fcc-toast-success {
    border-left-color: #c6a76f;
}

.fcc-toast-success .fcc-toast-icon {
    color: #c6a76f;
}

.fcc-toast-success .fcc-toast-progress {
    background: #c6a76f;
}

/* Error Toast - Red */
.fcc-toast-error {
    border-left-color: #ef4444;
}

.fcc-toast-error .fcc-toast-icon {
    color: #ef4444;
}

.fcc-toast-error .fcc-toast-progress {
    background: #ef4444;
}

/* Warning Toast - Amber */
.fcc-toast-warning {
    border-left-color: #f59e0b;
}

.fcc-toast-warning .fcc-toast-icon {
    color: #f59e0b;
}

.fcc-toast-warning .fcc-toast-progress {
    background: #f59e0b;
}

/* Info Toast - Blue */
.fcc-toast-info {
    border-left-color: #3b82f6;
}

.fcc-toast-info .fcc-toast-icon {
    color: #3b82f6;
}

.fcc-toast-info .fcc-toast-progress {
    background: #3b82f6;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .fcc-toast-container {
        left: 10px;
        right: 10px;
        top: 70px;
        max-width: none;
    }

    .fcc-toast {
        padding: 14px 16px;
        margin-bottom: 10px;
    }

    .fcc-toast-title {
        font-size: 14px;
    }

    .fcc-toast-message {
        font-size: 13px;
    }
}

/* Dark Mode Support (Optional) */
@media (prefers-color-scheme: dark) {
    .fcc-toast {
        background: #1e293b;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4),
                    0 2px 8px rgba(0, 0, 0, 0.2);
    }

    .fcc-toast-title {
        color: #f1f5f9;
    }

    .fcc-toast-message {
        color: #cbd5e1;
    }

    .fcc-toast-close {
        color: #94a3b8;
    }

    .fcc-toast-close:hover {
        color: #cbd5e1;
    }
}
