/* PHPFlasher Styles - Modern Tasarım */
.fl-main-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 9999;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    max-width: 420px;
    width: 100%;
}

.fl-flasher {
    margin-bottom: 0;
    pointer-events: auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #28a745;
    min-width: 320px;
    max-width: 420px;
    width: 100%;
    opacity: 0;
    transform: translateX(120%) scale(0.95);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.fl-flasher::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fl-flasher.fl-show {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.fl-flasher.fl-show::before {
    opacity: 1;
}

.fl-flasher.fl-success {
    border-left-color: #10b981;
    background: #ffffff;
}

.fl-flasher.fl-error {
    border-left-color: #ef4444;
    background: #ffffff;
}

.fl-flasher.fl-warning {
    border-left-color: #f59e0b;
    background: #ffffff;
}

.fl-flasher.fl-info {
    border-left-color: #3b82f6;
    background: #ffffff;
}

.fl-content {
    display: flex;
    align-items: flex-start;
    padding: 18px 20px;
    gap: 14px;
    position: relative;
    z-index: 1;
}

.fl-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #ffffff;
    font-weight: 600;
}

.fl-flasher.fl-success .fl-icon {
    background-color: #10b981;
}

.fl-flasher.fl-error .fl-icon {
    background-color: #ef4444;
}

.fl-flasher.fl-warning .fl-icon {
    background-color: #f59e0b;
}

.fl-flasher.fl-info .fl-icon {
    background-color: #3b82f6;
}

.fl-title {
    display: block;
    font-weight: 600;
    font-size: 15px;
    color: #111827;
    margin-bottom: 6px;
    line-height: 1.4;
}

.fl-message {
    display: block;
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
}

.fl-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-color: rgba(0, 0, 0, 0.06);
    border-radius: 0 0 12px 12px;
    overflow: hidden;
}

.fl-progress {
    height: 100%;
    background-color: #10b981;
    transition: width 0.1s linear;
    border-radius: 0 0 12px 12px;
}

.fl-flasher.fl-success .fl-progress {
    background-color: #10b981;
}

.fl-flasher.fl-error .fl-progress {
    background-color: #ef4444;
}

.fl-flasher.fl-warning .fl-progress {
    background-color: #f59e0b;
}

.fl-flasher.fl-info .fl-progress {
    background-color: #3b82f6;
}

/* Responsive - Mobil Optimizasyonu */
@media (max-width: 768px) {
    .fl-main-container {
        top: 16px;
        right: 16px;
        left: 16px;
        max-width: none;
        width: auto;
        align-items: stretch;
    }
    
    .fl-flasher {
        min-width: auto;
        max-width: none;
        width: 100%;
        border-radius: 10px;
        transform: translateY(-20px) scale(0.95);
    }
    
    .fl-flasher.fl-show {
        transform: translateY(0) scale(1);
    }
    
    .fl-content {
        padding: 16px 18px;
        gap: 12px;
    }
    
    .fl-icon {
        width: 22px;
        height: 22px;
        font-size: 11px;
    }
    
    .fl-title {
        font-size: 14px;
        margin-bottom: 5px;
    }
    
    .fl-message {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .fl-main-container {
        top: 12px;
        right: 12px;
        left: 12px;
    }
    
    .fl-flasher {
        border-radius: 8px;
    }
    
    .fl-content {
        padding: 14px 16px;
        gap: 10px;
    }
    
    .fl-icon {
        width: 20px;
        height: 20px;
    }
    
    .fl-title {
        font-size: 13px;
    }
    
    .fl-message {
        font-size: 12px;
    }
}
