﻿@supports not selector(::-webkit-scrollbar) {
    .scroll {
        scrollbar-color: rgba(0,0,0,0.3) rgba(0,0,0,0);
        scrollbar-width: thin;
    }
}

/* Logo border'ını kaldır */
.layout-banner .layout-logo {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.layout-banner {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Layout banner içindeki tüm elementlerden border kaldır */
.layout-banner * {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Blazor Reconnector Stilleri - Geliştirilmiş Titreme Önleyici */
#components-reconnect-modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99999;
    display: none;
    transition: opacity 0.3s ease-in-out;
    opacity: 0;
}

#components-reconnect-modal.components-reconnect-hide {
    display: none !important;
    opacity: 0;
}

#components-reconnect-modal.components-reconnect-show,
#components-reconnect-modal.components-reconnect-failed,
#components-reconnect-modal.components-reconnect-rejected {
    display: block;
    opacity: 1;
    animation: fadeInModal 0.3s ease-out;
}

@keyframes fadeInModal {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.components-reconnect-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(64, 64, 63, 0.8);
    z-index: 99998;
    backdrop-filter: blur(2px);
}

.components-reconnect-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    max-width: 28rem;
    min-width: 20rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    z-index: 99999;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.components-reconnect-show,
.components-reconnect-failed,
.components-reconnect-rejected {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-show {
    display: block;
}

#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed {
    display: block;
}

#components-reconnect-modal.components-reconnect-rejected .components-reconnect-rejected {
    display: block;
}

/* Modal içerik stilleri - VoxisOrbit teması */
.components-reconnect-show .spinner-border {
    color: #f68801 !important;
    width: 2rem;
    height: 2rem;
    border-width: 3px;
}

.components-reconnect-show span {
    font-size: 1.1rem;
    font-weight: 500;
    color: #40403f;
    margin-left: 0.5rem;
}

.components-reconnect-show .d-flex {
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
}

.components-reconnect-failed .alert,
.components-reconnect-rejected .alert {
    margin-bottom: 1.5rem;
    border: none;
    font-size: 0.95rem;
    border-radius: 8px;
    background-color: #ffd699;
    color: #40403f;
    border-left: 4px solid #f68801;
}

.components-reconnect-failed .btn,
.components-reconnect-rejected .btn {
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    margin: 0.25rem;
    transition: all 0.2s ease;
    border: none;
}

.components-reconnect-failed .btn-primary,
.components-reconnect-rejected .btn-primary {
    background-color: #f68801;
    color: white;
}

.components-reconnect-failed .btn-primary:hover,
.components-reconnect-rejected .btn-primary:hover {
    background-color: #ff9800;
    transform: translateY(-1px);
}

.components-reconnect-failed .btn-secondary,
.components-reconnect-rejected .btn-secondary {
    background-color: #6e6e6e;
    color: white;
}

.components-reconnect-failed .btn-secondary:hover,
.components-reconnect-rejected .btn-secondary:hover {
    background-color: #292929;
    transform: translateY(-1px);
}

/* Smooth geçişler için */
.components-reconnect-modal * {
    transition: all 0.2s ease;
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
    .components-reconnect-modal {
        max-width: 90%;
        min-width: 280px;
        padding: 1.5rem;
    }
    
    .components-reconnect-failed .btn,
    .components-reconnect-rejected .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }
}

/* Modern Finans İşlem Butonları CSS */
.bg-gradient-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.bg-gradient-success {
    background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
}

.bg-gradient-info {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.bg-gradient-warning {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

.bg-gradient-dark {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.icon-circle-small {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

/* Minimal Operation Cards */
.operation-card-minimal {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.2s ease;
    height: 100%;
    overflow: hidden;
}

.operation-card-minimal:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.operation-header-minimal {
    padding: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
}

.operation-header-minimal.text-dark {
    color: #212529 !important;
}

.operation-header-minimal.text-dark .operation-icon-minimal {
    background: rgba(0,0,0,0.1);
    color: #212529;
}

.operation-icon-minimal {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.operation-title-minimal {
    font-weight: 600;
    font-size: 0.85rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.operation-body-minimal {
    padding: 0.75rem;
    background: white;
}

.minimal-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.4rem 0.6rem;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background: white;
    color: #212529;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.75rem;
    transition: all 0.2s ease;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    width: 100%;
    min-height: 32px;
}

.minimal-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    border-color: #adb5bd;
    background: #f8f9fa;
}

.minimal-btn i {
    font-size: 0.8rem;
    flex-shrink: 0;
}

.minimal-btn span {
    font-size: 0.7rem;
    line-height: 1.2;
    text-align: center;
}

/* Hover Colors for Minimal Buttons */
.btn-success-outline:hover {
    border-color: #28a745;
    color: #28a745;
    background: rgba(40, 167, 69, 0.05);
}

.btn-danger-outline:hover {
    border-color: #dc3545;
    color: #dc3545;
    background: rgba(220, 53, 69, 0.05);
}

.btn-warning-outline:hover {
    border-color: #ffc107;
    color: #856404;
    background: rgba(255, 193, 7, 0.05);
}

.btn-info-outline:hover {
    border-color: #17a2b8;
    color: #17a2b8;
    background: rgba(23, 162, 184, 0.05);
}

.btn-primary-outline:hover {
    border-color: #007bff;
    color: #007bff;
    background: rgba(0, 123, 255, 0.05);
}

.btn-secondary-outline:hover {
    border-color: #6c757d;
    color: #6c757d;
    background: rgba(108, 117, 125, 0.05);
}

/* Filled Button Styles */
.btn-success-filled {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border: none;
}

.btn-success-filled:hover {
    background: linear-gradient(135deg, #218838, #1c9970);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.btn-danger-filled {
    background: linear-gradient(135deg, #dc3545, #e74c3c);
    color: white;
    border: none;
}

.btn-danger-filled:hover {
    background: linear-gradient(135deg, #c82333, #c0392b);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.btn-orange-filled {
    background: linear-gradient(135deg, #fd7e14, #ff8c00);
    color: white;
    border: none;
}

.btn-orange-filled:hover {
    background: linear-gradient(135deg, #e8670e, #ff7f00);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(253, 126, 20, 0.3);
}

.btn-purple-filled {
    background: linear-gradient(135deg, #6f42c1, #8e44ad);
    color: white;
    border: none;
}

.btn-purple-filled:hover {
    background: linear-gradient(135deg, #5a32a3, #7d3c98);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(111, 66, 193, 0.3);
}

.btn-teal-filled {
    background: linear-gradient(135deg, #20c997, #17a2b8);
    color: white;
    border: none;
}

.btn-teal-filled:hover {
    background: linear-gradient(135deg, #1c9970, #138496);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(32, 201, 151, 0.3);
}

.btn-pink-filled {
    background: linear-gradient(135deg, #e83e8c, #f06292);
    color: white;
    border: none;
}

.btn-pink-filled:hover {
    background: linear-gradient(135deg, #e21e7b, #ec407a);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(232, 62, 140, 0.3);
}

.btn-blue-filled {
    background: linear-gradient(135deg, #007bff, #3498db);
    color: white;
    border: none;
}

.btn-blue-filled:hover {
    background: linear-gradient(135deg, #0056b3, #2980b9);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.btn-red-filled {
    background: linear-gradient(135deg, #dc3545, #c0392b);
    color: white;
    border: none;
}

.btn-red-filled:hover {
    background: linear-gradient(135deg, #c82333, #a93226);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.btn-indigo-filled {
    background: linear-gradient(135deg, #6610f2, #9b59b6);
    color: white;
    border: none;
}

.btn-indigo-filled:hover {
    background: linear-gradient(135deg, #520dc2, #8e44ad);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 16, 242, 0.3);
}

.btn-cyan-filled {
    background: linear-gradient(135deg, #17a2b8, #1abc9c);
    color: white;
    border: none;
}

.btn-cyan-filled:hover {
    background: linear-gradient(135deg, #138496, #16a085);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
}

.btn-green-filled {
    background: linear-gradient(135deg, #28a745, #27ae60);
    color: white;
    border: none;
}

.btn-green-filled:hover {
    background: linear-gradient(135deg, #218838, #229954);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.btn-yellow-filled {
    background: linear-gradient(135deg, #ffc107, #f39c12);
    color: #212529;
    border: none;
}

.btn-yellow-filled:hover {
    background: linear-gradient(135deg, #e0a800, #e67e22);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.btn-gray-filled {
    background: linear-gradient(135deg, #6c757d, #95a5a6);
    color: white;
    border: none;
}

.btn-gray-filled:hover {
    background: linear-gradient(135deg, #5a6268, #839192);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

/* Responsive Design for Minimal Cards */
@media (max-width: 1199.98px) {
    .operation-card-minimal {
        margin-bottom: 0.75rem;
    }
}

@media (max-width: 767.98px) {
    .operation-body-minimal {
        padding: 0.5rem;
    }
    
    .minimal-btn {
        padding: 0.3rem 0.4rem;
        font-size: 0.7rem;
        min-height: 28px;
    }
    
    .minimal-btn span {
        font-size: 0.65rem;
    }
    
    .operation-title-minimal {
        font-size: 0.75rem;
    }
    
    .operation-header-minimal {
        padding: 0.5rem;
    }
}

/* Legacy Support - Keep old classes for backward compatibility */
.icon-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* Global Loader Styles */
.global-loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(2px);
}

.global-loader-content {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    min-width: 200px;
}

.loading-message {
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 500;
}

.global-loader-content .spinner-border {
    width: 3rem;
    height: 3rem;
}
