/* * اسم الملف: style.css
 * المسار: css/style.css
 * الوظيفة: هذا الملف يحتوي على جميع التصميمات والألوان الأساسية، الظلال، وحركات (Animations) التطبيق لضمان توحيد الشكل في كل الصفحات وتقليل حجم الكود.
 */

 :root {
    --primary: #111827;
    --accent: #d97706; 
    --bg-light: #f3f4f6;
    --card-shadow: 0 4px 20px rgba(0,0,0,0.05);
    --floating-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-light);
    color: #1f2937;
    margin: 0;
    padding-bottom: 90px;
    overflow-x: hidden;
}

.floating-card {
    background: white;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
    border: 1.5px solid transparent;
}

.floating-card:active {
    transform: scale(0.98);
}

.service-checkbox:checked + div {
    border-color: var(--accent);
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.15);
}

.service-checkbox:checked + div i {
    color: var(--accent);
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

.progress-container {
    width: 100%;
    background: #e5e7eb;
    border-radius: 20px;
    height: 8px;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #111827, var(--accent));
    width: 25%;
    border-radius: 20px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.bottom-nav {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    display: flex;
    justify-content: space-around;
    padding: 12px 10px;
    box-shadow: var(--floating-shadow);
    z-index: 1000;
    border: 1px solid #f3f4f6;
}

.nav-item {
    color: #9ca3af;
    font-size: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1;
}

.nav-item span {
    font-size: 9px;
    font-weight: bold;
    opacity: 0;
    transform: translateY(5px);
    transition: all 0.3s ease;
    color: var(--primary);
    white-space: nowrap;
}

.nav-item.active {
    color: var(--primary);
    transform: translateY(-4px);
}

.nav-item.active span {
    opacity: 1;
    transform: translateY(0);
}

.view { display: none; animation: fadeIn 0.4s ease-out forwards; }
.view.active { display: block; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.premium-input {
    width: 100%;
    padding: 15px 18px;
    background: #ffffff;
    border: 1.5px solid #e5e7eb;
    border-radius: 14px;
    outline: none;
    transition: all 0.2s ease;
    font-size: 14px;
    color: #111827;
}

.premium-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(17, 24, 39, 0.05);
    background: #ffffff;
}

#global-loader {
    backdrop-filter: blur(5px);
    transition: opacity 0.3s ease;
}

::-webkit-scrollbar { display: none; }
/* نجوم  */
#star-rating i {
    cursor: pointer;
    transition: transform 0.2s;
}
#star-rating i:active {
    transform: scale(1.3);
}