/* ================================
   Dr. Ayat Clinic - Custom Styles
   ================================ */

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #fdf6f0;
}
::-webkit-scrollbar-thumb {
    background: #c96929;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a04f1f;
}

/* Custom slow bounce animation */
@@keyframes bounce-slow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.animate-bounce-slow {
    animation: bounce-slow 3s ease-in-out infinite;
}

/* Line clamp utility */
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* RTL fixes */
[dir="rtl"] .ms-2 { margin-inline-start: 0.5rem; }
[dir="rtl"] .me-2 { margin-inline-end: 0.5rem; }

/* Form field focus glow */
input:focus, select:focus, textarea:focus {
    box-shadow: 0 0 0 4px rgba(201, 105, 41, 0.1);
}

/* Validation summary styling */
.field-validation-error {
    color: #ef4444;
    font-size: 0.875rem;
    display: block;
    margin-top: 0.25rem;
}

.input-validation-error {
    border-color: #ef4444 !important;
}

/* Smooth fade-in for cards */
@@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}
