/* Toast container */
.flight-toast-container {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    z-index: 999999 !important;
    pointer-events: none;
    display: block !important;
}

/* Toast notification */
.flight-toast {
    position: relative;
    top: 25px;
    right: 30px;
    border-radius: 12px;
    background: #fff;
    padding: 20px 35px 20px 25px;
    box-shadow: 0 6px 20px -5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transform: translateX(calc(100% + 30px));
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.35);
    max-width: 300px;
    word-wrap: break-word;
    pointer-events: auto;
}

.flight-toast.show {
    transform: translateX(0%);
}

.flight-toast .toast-content {
    display: flex;
    align-items: center;
}

/* Make the circle and image larger */
.toast-content .check {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 45px; /* Increased from 35px */
    min-width: 45px; /* Increased from 35px */
    border-radius: 50%;
    overflow: hidden; /* Ensure the image doesn't overflow the circle */
}

/* Ensure the image fits inside the circle */
.toast-content .check img {
    width: 30px; /* Increased from 24px */
    height: 30px; /* Increased from 24px */
    object-fit: contain; /* Ensure the image fits inside the circle */
}

.toast-content .message {
    display: flex;
    flex-direction: column;
    margin: 0 20px;
}

.message .text {
    font-size: 16px;
    font-weight: 400;
    color: #666666;
}

.message .text.text-1 {
    font-weight: 600;
    color: #333;
}

.flight-toast .close {
    position: absolute;
    top: 10px;
    right: 15px;
    padding: 5px;
    cursor: pointer;
    opacity: 0.7;
}

.flight-toast .close:hover {
    opacity: 1;
}

.flight-toast .progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
}

.flight-toast .progress:before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    height: 100%;
    width: 100%;
}

/* Success toast styles */
.flight-toast.success .check {
    background-color: #7FDBB7; /* Green for success */
}

.flight-toast.success .progress:before {
    background-color: #7FDBB7; /* Green for success */
}

/* Error toast styles */
.flight-toast.error .check {
    background-color: #F1AA9B; /* Red for error */
}

.flight-toast.error .progress:before {
    background-color: #F1AA9B; /* Red for error */
}

/* Progress bar animation */
.progress.active:before {
    animation: progress 5s linear forwards;
}

@keyframes progress {
    100% {
        right: 100%;
    }
}