/* ========================================
   TOAST NOTIFICATION SYSTEM
   Modern, profesyonel bildirim sistemi
   ======================================== */

/* Toast Container */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

/* Toast Base */
.toast {
    min-width: 320px;
    max-width: 420px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    position: relative;
    overflow: hidden;
    pointer-events: all;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Toast Show Animation */
.toast-show {
    transform: translateX(0);
    opacity: 1;
}

/* Toast Hide Animation */
.toast-hide {
    transform: translateX(400px);
    opacity: 0;
}

/* Toast Icon */
.toast-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Toast Content */
.toast-content {
    flex: 1;
    min-width: 0;
}

.toast-message {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--text-color);
    word-wrap: break-word;
}

/* Toast Close Button */
.toast-close {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    color: #95a5a6;
}

.toast-close:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--text-color);
}

/* Toast Progress Bar */
.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    transform-origin: left;
}

@keyframes toast-progress {
    from {
        transform: scaleX(1);
    }
    to {
        transform: scaleX(0);
    }
}

/* Toast Types */

/* Success Toast */
.toast-success {
    border-left: 4px solid #27ae60;
}

.toast-success .toast-icon {
    color: #27ae60;
}

.toast-success .toast-progress {
    background-color: #27ae60;
}

/* Error Toast */
.toast-error {
    border-left: 4px solid #e74c3c;
}

.toast-error .toast-icon {
    color: #e74c3c;
}

.toast-error .toast-progress {
    background-color: #e74c3c;
}

/* Warning Toast */
.toast-warning {
    border-left: 4px solid #f39c12;
}

.toast-warning .toast-icon {
    color: #f39c12;
}

.toast-warning .toast-progress {
    background-color: #f39c12;
}

/* Info Toast */
.toast-info {
    border-left: 4px solid #3498db;
}

.toast-info .toast-icon {
    color: #3498db;
}

.toast-info .toast-progress {
    background-color: #3498db;
}

/* Responsive Toast */
@media (max-width: 768px) {
    .toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
        width: auto;
    }
    
    .toast {
        min-width: auto;
        max-width: none;
        width: 100%;
    }
}

/* Multiple Toasts Stacking */
.toast-container .toast:not(:last-child) {
    margin-bottom: 0;
}

/* Toast Hover Effect */
.toast:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.toast-show:hover {
    transform: translateX(0) translateY(-2px);
}

