/* RTL (Sağdan Sola) Desteği */
body[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

body[dir="rtl"] .ltr {
    direction: ltr;
    text-align: left;
}

body[dir="rtl"] .flex-row {
    flex-direction: row-reverse;
}

body[dir="rtl"] .space-x-4 > * + * {
    margin-right: 1rem;
    margin-left: 0;
}

/* Scroll-to-top Butonu Hover Efektleri */
.scroll-to-top:hover .rectangle {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.scroll-to-top:hover {
    filter: drop-shadow(0 0 10px rgba(239, 68, 68, 0.6));
}

.toast-notification {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 1rem;
    border-radius: 0.5rem;
    border-left: 4px solid #ef4444;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.toast-notification.show {
    transform: translateX(0);
}

.loading-spinner {
    border: 2px solid #f3f3f3;
    border-top: 2px solid #ef4444;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .mobile-hidden {
        display: none !important;
    }
}

@media (min-width: 769px) {
    .desktop-hidden {
        display: none !important;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #ef4444;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        color: black !important;
        background: white !important;
    }
} 