﻿#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 380px;
    width: 100%;
    pointer-events: none;
    font-family: Montserrat, Arial, sans-serif;
}

.custom-toast {
    pointer-events: auto;
    display: flex;
    align-items: flex-start;
    padding: 14px 16px;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    border-left: 5px solid #ccc;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-toast.show {
    opacity: 1;
    transform: translateX(0);
}

.custom-toast.success {
    border-left-color: #22c55e;
    background-color: #f0fdf4;
}

.custom-toast.error {
    border-left-color: #ef4444;
    background-color: #fef2f2;
}

.toast-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    margin-right: 12px;
    flex-shrink: 0;
}

.custom-toast.success .toast-icon {
    background-color: #22c55e;
}

.custom-toast.error .toast-icon {
    background-color: #ef4444;
}

.toast-body {
    flex-grow: 1;
}

.toast-title {
    font-size: 14px;
    font-weight: 700;
    color: #0b1a2e;
    margin: 0 0 4px;
}

.custom-toast.success .toast-title { color: #166534; }
.custom-toast.error .toast-title { color: #991b1b; }

.toast-message {
    font-size: 12.5px;
    color: #475569;
    margin: 0;
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    font-size: 16px;
    color: #94a3b8;
    cursor: pointer;
    padding: 0 0 0 10px;
    line-height: 1;
}
.toast-close:hover { color: #0b1a2e; }

.btn-send-enquiry {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-send-enquiry .spinner {
    display: none;
    width: 15px;
    height: 15px;
    border: 2px solid #ffffff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

.btn-send-enquiry.loading {
    opacity: 0.85;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-send-enquiry.loading .spinner {
    display: inline-block;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}