/* Indicpay Toastr Theme */
:root {
    --ip-red: #e41e26;
    --ip-blue: #2049b7;
    --ip-blue-light: #eef3ff;
    --ip-text: #1e293b;
    --ip-muted: #64748b;
    --ip-border: #e2e8f0;
}

#toast-container {
    font-family: 'Inter', 'Public Sans', sans-serif;
}

#toast-container > div {
    opacity: 1;
    width: 360px;
    max-width: calc(100vw - 32px);
    padding: 16px 16px 16px 20px;
    margin: 0 0 12px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid var(--ip-border);
    box-shadow: 0 8px 24px rgba(32, 73, 183, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
    background-image: none !important;
    color: var(--ip-text);
    position: relative;
    overflow: hidden;
}

#toast-container > div::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    border-radius: 12px 0 0 12px;
}

#toast-container > .toast-success::before {
    background: var(--ip-blue);
}

#toast-container > .toast-error::before {
    background: var(--ip-red);
}

#toast-container > .toast-info::before {
    background: var(--ip-blue);
}

#toast-container > .toast-warning::before {
    background: #f59e0b;
}

#toast-container .toast-title {
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.3;
    margin-bottom: 4px;
    color: var(--ip-text);
}

#toast-container .toast-message {
    font-size: 0.875rem;
    line-height: 1.45;
    color: var(--ip-muted);
    word-wrap: break-word;
}

#toast-container .toast-success .toast-title {
    color: var(--ip-blue);
}

#toast-container .toast-error .toast-title {
    color: var(--ip-red);
}

#toast-container .toast-close-button {
    color: #94a3b8;
    font-weight: 400;
    font-size: 18px;
    text-shadow: none;
    opacity: 1;
    top: 10px;
    right: 10px;
}

#toast-container .toast-close-button:hover {
    color: var(--ip-text);
}

#toast-container .toast-progress {
    opacity: 1;
    height: 3px;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 0 0 12px 12px;
}

#toast-container .toast-success .toast-progress {
    background: var(--ip-blue);
}

#toast-container .toast-error .toast-progress {
    background: var(--ip-red);
}

#toast-container .toast-info .toast-progress {
    background: var(--ip-blue);
}

#toast-container .toast-warning .toast-progress {
    background: #f59e0b;
}

#toast-container.toast-top-right {
    top: 20px;
    right: 20px;
}

@media (max-width: 480px) {
    #toast-container > div {
        width: calc(100vw - 32px);
    }

    #toast-container.toast-top-right {
        top: 12px;
        right: 16px;
        left: 16px;
    }
}
