/* Toast Notification System */
.toastify {
    padding: 12px 20px;
    color: #ffffff;
    display: inline-block;
    box-shadow: 0 3px 6px -1px rgba(0, 0, 0, 0.12), 0 10px 36px -4px rgba(77, 96, 232, 0.3);
    background: -webkit-linear-gradient(315deg, #73a5ff, #5477f5);
    background: linear-gradient(135deg, #73a5ff, #5477f5);
    position: fixed;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    max-width: calc(50% - 20px);
    z-index: 2147483647;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

.toastify.on {
    opacity: 1;
}

.toast-close {
    background: transparent;
    border: 0;
    color: white;
    cursor: pointer;
    font-family: inherit;
    font-size: 1em;
    opacity: 0.4;
    padding: 0 5px;
    margin-left: 15px;
    float: right;
}

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

/* Success Toast */
.toastify.success {
    background: linear-gradient(135deg, #72b01d, #97c93d);
    box-shadow: 0 3px 6px -1px rgba(0, 0, 0, 0.12), 0 10px 36px -4px rgba(114, 176, 29, 0.3);
}

/* Error Toast */
.toastify.error {
    background: linear-gradient(135deg, #ff5f6d, #ffc371);
    box-shadow: 0 3px 6px -1px rgba(0, 0, 0, 0.12), 0 10px 36px -4px rgba(255, 95, 109, 0.3);
}

/* Warning Toast */
.toastify.warning {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    box-shadow: 0 3px 6px -1px rgba(0, 0, 0, 0.12), 0 10px 36px -4px rgba(240, 147, 251, 0.3);
}

/* Info Toast */
.toastify.info {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    box-shadow: 0 3px 6px -1px rgba(0, 0, 0, 0.12), 0 10px 36px -4px rgba(79, 172, 254, 0.3);
}

/* Position Classes */
.toastify.toast-top-right {
    top: 15px;
    right: 15px;
}

.toastify.toast-top-left {
    top: 15px;
    left: 15px;
}

.toastify.toast-bottom-right {
    bottom: 15px;
    right: 15px;
}

.toastify.toast-bottom-left {
    bottom: 15px;
    left: 15px;
}

.toastify.toast-top-center {
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
}

.toastify.toast-bottom-center {
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
}

/* Mobile Responsive */
@media only screen and (max-width: 360px) {
    .toastify {
        margin-left: auto;
        margin-right: auto;
        left: 0;
        right: 0;
        max-width: fit-content;
    }
}

/* Toast with Icons */
.toastify .toast-icon {
    display: inline-block;
    margin-right: 8px;
    font-size: 16px;
    vertical-align: middle;
}

.toastify .toast-message {
    display: inline-block;
    vertical-align: middle;
}

/* Animation Classes */
.toastify.slide-in-right {
    transform: translateX(100%);
}

.toastify.slide-in-right.on {
    transform: translateX(0);
}

.toastify.slide-in-left {
    transform: translateX(-100%);
}

.toastify.slide-in-left.on {
    transform: translateX(0);
}

.toastify.fade-in {
    opacity: 0;
}

.toastify.fade-in.on {
    opacity: 1;
}

/* HSJ Travel Theme Integration */
.toastify.hsj-theme {
    font-family: 'Poppins', sans-serif;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.toastify.hsj-theme.success {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: #ffffff;
}

.toastify.hsj-theme.error {
    background: linear-gradient(135deg, #dc3545, #fd7e14);
    color: #ffffff;
}

.toastify.hsj-theme.warning {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
    color: #212529;
}

.toastify.hsj-theme.info {
    background: linear-gradient(135deg, #17a2b8, #007bff);
    color: #ffffff;
}