﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */
* {
    font-family: Vazirmatn FD;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
    text-decoration: none;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    direction: rtl;
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}


/* Mehdi Custom Styles */
.ltr {
    direction: ltr;
    text-align: left;
}

/* -------------------------------------------------- */
/* Dark Mode overrides for site-level elements        */
/* -------------------------------------------------- */

/* Theme toggle button — visible in both themes */
[data-theme-toggle] {
    cursor: pointer;
    transition: color 0.2s, opacity 0.2s;
}

[data-theme-toggle]:hover {
    opacity: 0.75;
}

/* Ensure the footer respects the body background */
[data-bs-theme="dark"] .footer {
    border-top-color: #374151 !important;
    color: #9ca3af;
}

/* Feature & stat cards on the home page */
[data-bs-theme="dark"] .feature-card {
    background: #1e2132;
    border-color: #374151;
}

[data-bs-theme="dark"] .feature-card:hover {
    border-color: #667eea;
}

[data-bs-theme="dark"] .feature-title {
    color: #e5e7eb;
}

[data-bs-theme="dark"] .feature-description {
    color: #9ca3af;
}

[data-bs-theme="dark"] .stats-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

[data-bs-theme="dark"] .stat-label {
    color: #9ca3af;
}