
/* Error Views CSS */
.notification-modal{
    border:0px solid red;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.5);
}
/* Notification Modal Styles */
.notification-modal .modal-content {
    border-radius: 10px;
    box-shadow: 0 3px 1px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

/* Bildirim türlerine göre renkler */
.notification-modal.notification-success .modal-content {
    border-left: 4px solid #28a745;
}

.notification-modal.notification-error .modal-content {
    border-left: 4px solid #dc3545;
}

.notification-modal.notification-warning .modal-content {
    border-left: 4px solid #ffc107;
}

.notification-modal.notification-info .modal-content {
    border-left: 4px solid #17a2b8;
}

/* Progress bar */
.progress-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(0, 0, 0, 0.1);
    overflow: hidden;
    z-index: 1056;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #007bff, #0056b3);
    width: 0%;
    transition: width linear;
    border-radius: 0;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
}

/* Bildirim içeriği */
.notification-container {
    text-align: center;
}

.notification-icon-container {
    margin-bottom: 20px;
}

.notification-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.notification-message-container {
    margin-bottom: 20px;
}

.notification-content {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #2c3e50;
}

.notification-items {
    text-align: left;
    margin-top: 15px;
}

.notification-item {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 0.95rem;
}

.notification-item:last-child {
    border-bottom: none;
}

/* Error Section Styles */
.error-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.error-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    text-align: center;
}

.error-icon {
    font-size: 4rem;
    color: #dc3545;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.error-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #2c3e50;
}

.error-description {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Error Details Styles */
.error-details {
    margin: 30px 0;
    text-align: left;
}

.error-details-title {
    font-size: 1.3rem;
    color: #495057;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.error-list {
    max-height: 400px;
    overflow-y: auto;
}

.error-item {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 4px solid #dc3545;
    transition: all 0.3s ease;
}

.error-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.error-item.error-critical {
    border-left-color: #dc3545;
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
}

.error-item.error-error {
    border-left-color: #fd7e14;
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
}

.error-item.error-warning {
    border-left-color: #ffc107;
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
}

.error-item.error-info {
    border-left-color: #17a2b8;
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
}

.error-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.error-type {
    font-weight: 600;
    color: #495057;
    font-size: 1.1rem;
}

.error-time {
    font-size: 0.9rem;
    color: #6c757d;
}

.error-message {
    font-size: 1rem;
    color: #2c3e50;
    margin-bottom: 10px;
    line-height: 1.5;
}

.error-context {
    background: rgba(0, 0, 0, 0.05);
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 0.85rem;
}

/* No Errors Style */
.no-errors {
    padding: 40px 20px;
    text-align: center;
}

.no-errors-icon {
    font-size: 3rem;
    color: #28a745;
    margin-bottom: 20px;
}

.no-errors-text {
    font-size: 1.2rem;
    color: #6c757d;
}

/* Action Buttons */
.error-actions {
    margin: 30px 0;
}

.error-actions .btn {
    margin: 5px;
    border-radius: 25px;
    padding: 12px 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.error-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Error Code */
.error-code {
    margin-top: 20px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 5px;
    border: 1px solid #e9ecef;
}

.error-code code {
    background: #e9ecef;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
}

/* Error Statistics */
.error-stats-section {
    padding: 40px 0;
    background: #f8f9fa;
}

.error-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-width: 120px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .error-container {
        padding: 20px;
        margin: 10px;
    }
    
    .error-title {
        font-size: 2rem;
    }
    
    .error-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .error-actions .btn {
        display: block;
        width: 100%;
        margin: 5px 0;
    }
    
    .error-stats {
        gap: 20px;
    }
    
    .stat-item {
        min-width: 100px;
        padding: 15px;
    }
}

/* Scrollbar Styling */
.error-list::-webkit-scrollbar {
    width: 8px;
}

.error-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.error-list::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.error-list::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Additional Error Types Styling */
.error-item.error-database {
    border-left-color: #007bff;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

.error-item.error-user {
    border-left-color: #6f42c1;
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
}

.error-item.error-system {
    border-left-color: #fd7e14;
    background: linear-gradient(135deg, #fff3e0 0%, #ffcc02 100%);
}

.error-item.error-security {
    border-left-color: #dc3545;
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
}

.error-item.error-validation {
    border-left-color: #28a745;
    background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
}

.error-item.error-api {
    border-left-color: #17a2b8;
    background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%);
}

.error-item.error-file {
    border-left-color: #6c757d;
    background: linear-gradient(135deg, #f5f5f5 0%, #e9ecef 100%);
}

.error-item.error-network {
    border-left-color: #20c997;
    background: linear-gradient(135deg, #e0f2f1 0%, #b2dfdb 100%);
}

/* Loading Animation for Error Items */
.error-item.loading {
    position: relative;
    overflow: hidden;
}

.error-item.loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Error Priority Indicators */
.error-priority {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 8px;
}

.error-priority.high {
    background-color: #dc3545;
    box-shadow: 0 0 5px #dc3545;
}

.error-priority.medium {
    background-color: #ffc107;
    box-shadow: 0 0 5px #ffc107;
}

.error-priority.low {
    background-color: #28a745;
    box-shadow: 0 0 5px #28a745;
}

/* Error Count Badge */
.error-count-badge {
    display: inline-block;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    font-size: 0.8rem;
    font-weight: bold;
    margin-left: 8px;
}

/* Error Filter Buttons */
.error-filters {
    margin-bottom: 20px;
    text-align: center;
}

.error-filter-btn {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #6c757d;
    padding: 8px 16px;
    margin: 0 5px;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.error-filter-btn:hover,
.error-filter-btn.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

/* Error Export Options */
.error-export {
    margin-top: 20px;
    text-align: center;
}

.error-export-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    font-size: 0.9rem;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.error-export-btn:hover {
    background: #218838;
    transform: translateY(-1px);
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .error-container {
        background: rgba(33, 37, 41, 0.95);
        color: #f8f9fa;
    }
    
    .error-title {
        color: #f8f9fa;
    }
    
    .error-description {
        color: #adb5bd;
    }
    
    .error-item {
        background: #343a40;
        color: #f8f9fa;
    }
    
    .error-type {
        color: #f8f9fa;
    }
    
    .error-message {
        color: #e9ecef;
    }
    
    .stat-item {
        background: #343a40;
        color: #f8f9fa;
    }
} 