/* Toastr Theme - Custom styling for toastr.js notifications */

/* Toast container positioning */
#toast-container > div {
    padding: 15px 20px;
    width: 320px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    opacity: 1;
    font-family: 'Source Sans Pro', sans-serif;
    color: #ffffff !important;
}

/* Toast title */
#toast-container .toast-title {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 4px;
    color: #ffffff;
}

/* Toast message */
#toast-container .toast-message {
    font-size: 14px;
    line-height: 1.4;
    color: #ffffff;
}

/* Close button */
#toast-container .toast-close-button {
    position: relative;
    right: -0.3em;
    top: -0.3em;
    font-size: 20px;
    font-weight: 300;
    color: #ffffff;
    opacity: 0.8;
}

#toast-container .toast-close-button:hover {
    opacity: 1;
}

/* Progress bar */
#toast-container .toast-progress {
    height: 3px;
    opacity: 0.6;
}

/* Success - Yeşil */
#toast-container .toast-success {
    background-color: #28a745;
    border-left: 4px solid #1e7e34;
    color: #ffffff !important;
}

#toast-container .toast-success .toast-title,
#toast-container .toast-success .toast-message,
#toast-container .toast-success .toast-close-button {
    color: #ffffff !important;
}

#toast-container .toast-success .toast-progress {
    background-color: #1e7e34;
}

/* Error - Kırmızı */
#toast-container .toast-error {
    background-color: #dc3545;
    border-left: 4px solid #bd2130;
    color: #ffffff !important;
}

#toast-container .toast-error .toast-title,
#toast-container .toast-error .toast-message,
#toast-container .toast-error .toast-close-button {
    color: #ffffff !important;
}

#toast-container .toast-error .toast-progress {
    background-color: #bd2130;
}

/* Warning - Turuncu/Sarı */
#toast-container .toast-warning {
    background-color: #ffc107;
    color: #212529 !important;
    border-left: 4px solid #e0a800;
}

#toast-container .toast-warning .toast-title,
#toast-container .toast-warning .toast-message {
    color: #212529 !important;
}

#toast-container .toast-warning .toast-close-button {
    color: #212529 !important;
}

#toast-container .toast-warning .toast-progress {
    background-color: #e0a800;
}

/* Info - Mavi (Proje primary rengi) */
#toast-container .toast-info {
    background-color: #467fcf;
    border-left: 4px solid #3866a6;
    color: #ffffff !important;
}

#toast-container .toast-info .toast-title,
#toast-container .toast-info .toast-message,
#toast-container .toast-info .toast-close-button {
    color: #ffffff !important;
}

#toast-container .toast-info .toast-progress {
    background-color: #3866a6;
}

/* Hover effect */
#toast-container > div:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

/* Remove default toastr background image */
#toast-container > .toast {
    background-image: none !important;
}

/* Responsive design */
@media (max-width: 768px) {
    #toast-container > div {
        width: calc(100vw - 40px);
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    #toast-container > div {
        width: calc(100vw - 32px);
        padding: 12px 16px;
    }
}