:root {
    --egyptian-black: #0a0a0a;
    --egyptian-charcoal: #1a1a1a;
    --egyptian-dark-charcoal: #111111;
    --egyptian-gold: #d4af37;
    --egyptian-dark-gold: #b8941f;
    --egyptian-light-gold: #f4e4bc;
    --egyptian-bronze: #cd7f32;
    --gradient-gold: linear-gradient(45deg, #d4af37, #b8941f);
    --gradient-dark: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    --hieroglyph-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Playfair Display', serif;
    background-color: var(--egyptian-black);
    color: var(--egyptian-light-gold);
    line-height: 1.6;
}

.hieroglyph-font {
    font-family: 'Cinzel', serif;
}
/* Hieroglyphic Background Pattern */
.hieroglyph-pattern {
    position: relative;
}

    .hieroglyph-pattern::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: radial-gradient(circle at 15% 25%, rgba(212, 175, 55, 0.05) 0%, transparent 25%), radial-gradient(circle at 85% 75%, rgba(212, 175, 55, 0.03) 0%, transparent 25%);
        pointer-events: none;
    }
/* Hieroglyphic Separator */
.hieroglyph-separator {
    text-align: center;
    margin: 3rem 0;
    position: relative;
}

    .hieroglyph-separator::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(to right, transparent, rgba(212, 175, 55, 0.3), transparent);
    }

    .hieroglyph-separator span {
        background: var(--egyptian-dark-charcoal);
        padding: 0 2rem;
        font-size: 1.5rem;
        color: rgba(212, 175, 55, 0.7);
        letter-spacing: 1rem;
        position: relative;
        z-index: 2;
    }

@keyframes scroll-hieroglyphs {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Floating Hieroglyphs */
.floating-hieroglyph {
    position: absolute;
    font-size: 2rem;
    color: rgba(212, 175, 55, 0.1);
    pointer-events: none;
    animation: float 6s ease-in-out infinite;
    text-shadow: var(--hieroglyph-shadow);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}
/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(10px);
    z-index: 50;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .nav-logo img {
        width: 2.5rem;
        height: 2.5rem;
        border-radius: 50%;
        background: linear-gradient(45deg, var(--egyptian-gold), var(--egyptian-darkGold));
        padding: 0.25rem;
    }

.nav-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--egyptian-gold);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--egyptian-lightGold);
    text-decoration: none;
    transition: color 0.3s ease;
}

    .nav-link:hover {
        color: var(--egyptian-gold);
    }
.btn-language {
    background: transparent;
    border: 1px solid var(--egyptian-gold);
    color: var(--egyptian-gold);
    transition: all 0.3s ease;
}

    .btn-language:hover {
        background: var(--egyptian-gold);
        color: var(--egyptian-black);
    }
/* Form Container */
.form-container {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--egyptian-gold);
    border-radius: 15px;
    padding: 2rem;
    margin-left: 2rem;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.form-title {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: var(--egyptian-charcoal);
    margin-bottom: 2rem;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--egyptian-gold);
}

/* Form Styles */
.form-label {
    color: var(--egyptian-charcoal);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-control {
    background: rgba(244, 228, 188, 0.1);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    color: var(--egyptian-charcoal);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

    .form-control:focus {
        background: rgba(244, 228, 188, 0.2);
        border-color: var(--egyptian-gold);
        color: var(--egyptian-charcoal);
        box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
    }

    .form-control::placeholder {
        color: rgba(45, 45, 45, 0.6);
    }
/* Hero Section */
/* Hero Section - Updated */
/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--egyptian-black) 0%, var(--egyptian-charcoal) 100%);
    overflow: hidden;
    padding-top: 5rem; /* Space for fixed navbar */
}

.egyptian-pattern {
    position: relative;
}

    .egyptian-pattern::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: radial-gradient(circle at 25% 25%, rgba(212, 175, 55, 0.1) 0%, transparent 25%), radial-gradient(circle at 75% 75%, rgba(212, 175, 55, 0.05) 0%, transparent 25%);
        pointer-events: none;
    }

.hero-image-container {
    position: relative;
    width: 100%;
    height: 100vh;
}

.hero-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.hero-overlay {
    position: absolute;
    inset: 25% 0 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    max-width: 1000px;
    padding: 2rem;
    position: relative;
    z-index: 10;
}

.hero-overlay-title {
    font-size: 4rem;
    font-weight: 700;
    color: var(--egyptian-gold);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8), 0 0 30px rgba(212, 175, 55, 0.5);
    animation: fade-in 1s ease-out;
}

.hero-overlay-subtitle {
    font-size: 1.5rem;
    color: var(--egyptian-lightGold);
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.6;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    animation: fade-in 1s ease-out 0.3s both;
}

/* Floating Hieroglyphs */
.floating-hieroglyph {
    position: absolute;
    font-size: 2rem;
    color: rgba(212, 175, 55, 0.3);
    pointer-events: none;
    animation: float 6s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    z-index: 5;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hero-overlay-title {
        font-size: 2.5rem;
    }

    .hero-overlay-subtitle {
        font-size: 1.2rem;
    }

    .floating-hieroglyph {
        font-size: 1.5rem;
    }

    .hero-content {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-overlay-title {
        font-size: 2rem;
    }

    .hero-overlay-subtitle {
        font-size: 1rem;
    }
}



.hieroglyph-bg {
    position: absolute;
    font-size: 2rem;
    color: var(--egyptian-gold);
    opacity: 0.1;
    user-select: none;
}

.hero-title {
    font-size: 2rem;
    font-weight: bold;
    color: var(--egyptian-gold);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--egyptian-light-gold);
    margin-bottom: 2rem;
    max-width: 200px;
}

.btn-primary-gold {
    background: linear-gradient(45deg, var(--egyptian-gold), var(--egyptian-dark-gold));
    border: none;
    color: var(--egyptian-black);
    font-weight: bold;
    padding: 12px 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

    .btn-primary-gold:hover {
        background: linear-gradient(45deg, var(--egyptian-dark-gold), var(--egyptian-gold));
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
        color: var(--egyptian-black);
    }

.btn-outline-gold {
    background: transparent;
    border: 2px solid var(--egyptian-gold);
    color: var(--egyptian-gold);
    font-weight: bold;
    padding: 10px 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

    .btn-outline-gold:hover {
        background: var(--egyptian-gold);
        color: var(--egyptian-black);
    }

/* Features Section */
.features {
    background-color: var(--egyptian-charcoal);
    padding: 80px 0;
}

.feature-card {
    background: rgba(26, 26, 26, 0.7);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

    .feature-card:hover {
        border-color: var(--egyptian-gold);
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(212, 175, 55, 0.2);
    }

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(45deg, var(--egyptian-gold), var(--egyptian-dark-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: var(--egyptian-black);
}

/* Books Section */
.books {
    content: '𓁹 𓐍 𓏏 𓎛 𓋹 𓈖 𓊪 𓂀';
    background: linear-gradient(135deg, var(--egyptian-black) 0%, var(--egyptian-charcoal) 100%);
    padding: 80px 0;
}

.book-card {
    content: '𓁹 𓐍 𓏏 𓎛 𓋹 𓈖 𓊪 𓂀';
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

    .book-card:hover {
        content: '𓁹 𓐍 𓏏 𓎛 𓋹 𓈖 𓊪 𓂀';
        border-color: var(--egyptian-gold);
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(212, 175, 55, 0.2);
    }

.book-card-light {
    background: rgba(229, 229, 229, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.book-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.book-card:hover .book-image {
    transform: scale(1.05);
}

.book-content {
    padding: 1.5rem;
}

.book-title {
    color: var(--egyptian-gold);
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.book-author {
    color: var(--egyptian-light-gold);
    opacity: 0.8;
    margin-bottom: 1rem;
}

.book-price {
    color: var(--egyptian-gold);
    font-size: 1.5rem;
    font-weight: bold;
}

.badge-featured {
    background: var(--egyptian-gold);
    color: var(--egyptian-black);
    font-weight: bold;
}
/* Main Content */
.main-content {
    background: linear-gradient(135deg, var(--egyptian-black) 0%, var(--egyptian-charcoal) 100%);
    min-height: 100vh;
    padding-top: 100px;
}

.page-header {
    background: linear-gradient(135deg, var(--egyptian-charcoal) 0%, var(--egyptian-black) 100%);
    padding: 30px 0;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

    .page-header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: radial-gradient(circle at 25% 25%, rgba(212, 175, 55, 0.1) 0%, transparent 25%), radial-gradient(circle at 75% 75%, rgba(212, 175, 55, 0.05) 0%, transparent 25%);
    }

.page-title {
    font-size: 3rem;
    font-weight: bold;
    color: var(--egyptian-gold);
    text-align: center;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
}

.page-subtitle {
    text-align: center;
    color: var(--egyptian-light-gold);
    font-size: 1.2rem;
    position: relative;
    z-index: 2;
}

.page-header2 {
    background: linear-gradient(135deg, var(--egyptian-charcoal) 0%, var(--egyptian-black) 100%);
    padding: 20px 0;
    margin-bottom: 40px;
    margin-top: 40px;
    position: relative;
    overflow: hidden;
}

    .page-header2::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: radial-gradient(circle at 25% 25%, rgba(212, 175, 55, 0.1) 0%, transparent 25%), radial-gradient(circle at 75% 75%, rgba(212, 175, 55, 0.05) 0%, transparent 25%);
    }

.page-title2 {
    font-size: 2rem;
    font-weight: bold;
    color: var(--egyptian-gold);
    text-align: center;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
}

/* Filters */
.filters-section {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 3rem;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--egyptian-gold);
    color: var(--egyptian-gold);
    padding: 8px 20px;
    border-radius: 25px;
    margin: 5px;
    transition: all 0.3s ease;
}

    .filter-btn:hover,
    .filter-btn.active {
        background: var(--egyptian-gold);
        color: var(--egyptian-black);
    }

/* Book Cards */
.book-card {
    background: rgba(26, 26, 26, 0.9);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

    .book-card:hover {
        border-color: var(--egyptian-gold);
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(212, 175, 55, 0.3);
    }

.book-image-container {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.book-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.book-card:hover .book-image {
    transform: scale(1.1);
}

.book-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(26, 26, 26, 0.9), transparent 50%);
}

.book-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--egyptian-gold);
    color: var(--egyptian-black);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.book-content {
    padding: 1.5rem;
}

.book-title {
    color: var(--egyptian-gold);
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.book-author {
    color: var(--egyptian-light-gold);
    opacity: 0.9;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.book-description {
    color: var(--egyptian-light-gold);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.book-rating {
    margin-bottom: 1rem;
}

.star {
    color: var(--egyptian-gold);
    font-size: 1.1rem;
}

    .star.empty {
        color: rgba(212, 175, 55, 0.3);
    }

.book-price-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.book-price {
    color: var(--egyptian-gold);
    font-size: 1.5rem;
    font-weight: bold;
}

.price-old {
    color: rgba(244, 228, 188, 0.6);
    text-decoration: line-through;
    font-size: 1rem;
    margin-left: 10px;
}

.book-actions {
    display: flex;
    gap: 10px;
}
/* Footer */
.footer {
    background-color: var(--egyptian-black);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding: 60px 0 30px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--egyptian-gold);
    text-align: center;
    margin-bottom: 3rem;
}

/* RTL Support */
[dir="rtl"] {
    text-align: right;
}



    [dir="rtl"] .d-flex {
        flex-direction: row-reverse;
    }

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.glow {
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    }

    to {
        box-shadow: 0 0 30px rgba(212, 175, 55, 0.8);
    }
}

@media (max-width: 768px) {
    .form-container {
        margin-left: 0;
        margin-top: 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

.login-container {
    min-height: calc(100vh - 76px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.login-card {
    background: rgba(45, 45, 45, 0.9);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    max-width: 450px;
    width: 100%;
}
.refreshregistertoken {
    background: rgba(45, 45, 45, 0.9);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 15px;
}
.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

    .login-header h2 {
        font-family: 'Cinzel', serif;
        color: var(--egyptian-gold);
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }

    .login-header p {
        color: var(--egyptian-light-gold);
        opacity: 0.8;
    }

.form-floating .form-control {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--egyptian-light-gold);
    border-radius: 10px;
}

    .form-floating .form-control:focus {
        background: rgba(26, 26, 26, 0.9);
        border-color: var(--egyptian-gold);
        box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25);
        color: var(--egyptian-light-gold);
    }

.form-floating label {
    color: rgba(244, 228, 188, 0.7);
}

.btn-egyptian {
    background: linear-gradient(45deg, var(--egyptian-gold), var(--egyptian-dark-gold));
    border: none;
    color: var(--egyptian-black);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-family: 'Cinzel', serif;
}

    .btn-egyptian:hover {
        background: linear-gradient(45deg, var(--egyptian-dark-gold), var(--egyptian-gold));
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
        color: var(--egyptian-black);
    }

.forgot-password {
    color: var(--egyptian-gold);
    text-decoration: none;
    font-size: 0.9rem;
}

    .forgot-password:hover {
        color: var(--egyptian-light-gold);
        text-decoration: underline;
    }

.signup-link {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

    .signup-link a {
        color: var(--egyptian-gold);
        text-decoration: none;
        font-weight: 600;
    }

        .signup-link a:hover {
            color: var(--egyptian-light-gold);
            text-decoration: underline;
        }

.checked-color {
    color: orange;
}

.button-radius {
    border: 1px solid; /* adjust border color and width as needed */
    border-radius: 10px 10px 10px 10px; /* top-left and top-right corners rounded, bottom-left and bottom-right corners straight */
    padding: 10px 20px; /* adjust padding for button text and spacing */
}

.card-margin {
    margin: 1%;
}

.cart-margin {
    margin-top: 1%;
}

.add-book-div {
    margin-bottom: 2%;
    float: right;
}






.rating {
    float: left;
    border: none;
}

    .rating:not(:checked) > input {
        position: absolute;
        top: -9999px;
        clip: rect(0, 0, 0, 0);
    }

    .rating:not(:checked) > label {
        float: right;
        width: 1em;
        padding: 0 .1em;
        overflow: hidden;
        white-space: nowrap;
        cursor: pointer;
        font-size: 200%;
        line-height: 1.2;
        color: #ddd;
    }

        .rating:not(:checked) > label:before {
            content: '★ ';
        }

    .rating > input:checked ~ label {
        color: #f70;
    }

    .rating:not(:checked) > label:hover, .rating:not(:checked) > label:hover ~ label {
        color: gold;
    }

    .rating > input:checked + label:hover, .rating > input:checked + label:hover ~ label, .rating > input:checked ~ label:hover, .rating > input:checked ~ label:hover ~ label, .rating > label:hover ~ input:checked ~ label {
        color: #ea0;
    }

    .rating > label:active {
        position: relative;
    }

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}



.card-columns .card {
    margin-bottom: 0.75rem;
}

@media (min-width: 576px) {
    .card-columns {
        column-count: 3;
        column-gap: 1.25rem;
    }

        .card-columns .card {
            display: inline-block;
            width: 100%;
        }
}

.text-muted {
    color: #9faecb !important;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.input-group {
    position: relative;
    display: flex;
    width: 100%;
}

.login-margin {
    margin-top: 5%;
    margin-bottom: 10%;
}

.register-panel-color {
    background-color: #f70;
}

.account-block {
    padding: 0;
    background-image: url(https://www.bootdey.com/image/500x500/FFB6C1/000000);
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
    position: relative;
}

    .account-block .overlay {
        -webkit-box-flex: 1;
        -ms-flex: 1;
        flex: 1;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: rgba(0, 0, 0, 0.4);
    }

    .account-block .account-testimonial {
        text-align: center;
        color: #fff;
        position: absolute;
        margin: 0 auto;
        padding: 0 1.75rem;
        bottom: 3rem;
        left: 0;
        right: 0;
    }

.text-theme {
    color: #303434 !important;
}

.btn-theme {
    background-color: #5369f8;
    border-color: #5369f8;
    color: #fff;
}

.gutters-sm {
    margin-right: -8px;
    margin-left: -8px;
}

    .gutters-sm > .col, .gutters-sm > [class*=col-] {
        padding-right: 8px;
        padding-left: 8px;
    }

.mb-3, .my-3 {
    margin-bottom: 1rem !important;
}

.bg-gray-300 {
    background-color: #e2e8f0;
}

.h-100 {
    height: 100% !important;
}

.shadow-none {
    box-shadow: none !important;
}

a {
    text-decoration: none;
}

.border-info {
    border-left: 5px solid #0dcaf0 !important;
}

.border-danger {
    border-left: 5px solid #fd3550 !important;
}

.border-success {
    border-left: 5px solid #15ca20 !important;
}

.border-warning {
    border-left: 5px solid #ffc107 !important;
}

.bg-gradient-scooter {
    background: #17ead9;
    background: -webkit-linear-gradient( 45deg, #17ead9, #6078ea) !important;
    background: linear-gradient( 45deg, #17ead9, #6078ea) !important;
}

.widgets-icons-2 {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ededed;
    font-size: 27px;
    border-radius: 10px;
}

.rounded-circle {
    border-radius: 50% !important;
}

.text-white {
    color: #fff !important;
}

.ms-auto {
    margin-left: auto !important;
}

.bg-gradient-bloody {
    background: #f54ea2;
    background: -webkit-linear-gradient( 45deg, #f54ea2, #ff7676) !important;
    background: linear-gradient( 45deg, #f54ea2, #ff7676) !important;
}

.bg-gradient-ohhappiness {
    background: #00b09b;
    background: -webkit-linear-gradient( 45deg, #00b09b, #96c93d) !important;
    background: linear-gradient( 45deg, #00b09b, #96c93d) !important;
}

.bg-gradient-blooker {
    background: #ffdf40;
    background: -webkit-linear-gradient( 45deg, #ffdf40, #ff8359) !important;
    background: linear-gradient( 45deg, #ffdf40, #ff8359) !important;
}

.blur {
    filter: blur(5px);
    -webkit-filter: blur(5px);
    -moz-filter: blur(5px);
    -o-filter: blur(5px);
    -ms-filter: blur(5px);
}

.card-img-top {
    max-height: 200px;
    min-height: 200px;
    object-fit: scale-down;
}
/* Cart Container */
.cart-container {
    background: rgba(45, 45, 45, 0.9);
    border: 2px solid var(--egyptian-gold);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin: 100px auto 50px;
    padding: 30px;
}

.cart-header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--egyptian-gold);
    padding-bottom: 20px;
}

.cart-title {
    font-family: 'Cinzel', serif;
    color: var(--egyptian-gold);
    font-size: 2.5rem;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Cart Table */
.cart-table {
    background: rgba(26, 26, 26, 0.8);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
}

.table {
    color: var(--egyptian-light-gold);
    margin-bottom: 0;
}

    .table thead th {
        background: var(--egyptian-gold);
        color: var(--egyptian-black);
        font-weight: 600;
        border: none;
        padding: 15px;
        text-align: center;
    }

    .table tbody td {
        border-color: rgba(212, 175, 55, 0.2);
        padding: 20px 15px;
        vertical-align: middle;
        text-align: center;
    }

    .table tbody tr:hover {
        background: rgba(212, 175, 55, 0.1);
    }
/* Product Image */
.product-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid var(--egyptian-gold);
}

/* Quantity Controls */
.quantity-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.quantity-btn {
    background: var(--egyptian-gold);
    color: var(--egyptian-black);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-weight: bold;
    transition: all 0.3s ease;
}

    .quantity-btn:hover {
        background: var(--egyptian-dark-gold);
        transform: scale(1.1);
    }

.quantity-input {
    width: 60px;
    text-align: center;
    background: rgba(244, 228, 188, 0.1);
    border: 1px solid var(--egyptian-gold);
    color: var(--egyptian-light-gold);
    border-radius: 5px;
    padding: 5px;
}

/* Action Buttons */
.delete-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

    .delete-btn:hover {
        background: #c82333;
        transform: translateY(-2px);
    }

/* Cart Summary */
.cart-summary {
    background: rgba(26, 26, 26, 0.9);
    border: 2px solid var(--egyptian-gold);
    border-radius: 10px;
    padding: 25px;
    margin-top: 30px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

    .summary-row.total {
        border-bottom: 2px solid var(--egyptian-gold);
        font-size: 1.3rem;
        font-weight: bold;
        color: var(--egyptian-gold);
    }

/* Discount Section */
.discount-section {
    background: rgba(45, 45, 45, 0.8);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.discount-input {
    background: rgba(244, 228, 188, 0.1);
    border: 1px solid var(--egyptian-gold);
    color: var(--egyptian-light-gold);
    border-radius: 5px;
}

    .discount-input:focus {
        background: rgba(244, 228, 188, 0.15);
        border-color: var(--egyptian-gold);
        box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
        color: var(--egyptian-light-gold);
    }

/* Buttons */
.btn-egyptian {
    background: linear-gradient(45deg, var(--egyptian-gold), var(--egyptian-dark-gold));
    color: var(--egyptian-black);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

    .btn-egyptian:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
        color: var(--egyptian-black);
    }

.btn-outline-egyptian {
    background: transparent;
    color: var(--egyptian-gold);
    border: 2px solid var(--egyptian-gold);
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

    .btn-outline-egyptian:hover {
        background: var(--egyptian-gold);
        color: var(--egyptian-black);
        transform: translateY(-3px);
    }

/* Empty Cart */
.empty-cart {
    text-align: center;
    padding: 60px 20px;
}

    .empty-cart i {
        font-size: 80px;
        color: var(--egyptian-gold);
        margin-bottom: 20px;
    }

    .empty-cart h3 {
        color: var(--egyptian-gold);
        font-family: 'Cinzel', serif;
        margin-bottom: 15px;
    }

.profile-header {
    background: linear-gradient(135deg, var(--egyptian-charcoal), var(--egyptian-black));
    border: 2px solid var(--egyptian-gold);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

    .profile-header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, var(--egyptian-gold), var(--egyptian-dark-gold), var(--egyptian-gold));
    }

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--egyptian-gold);
    background: linear-gradient(135deg, var(--egyptian-gold), var(--egyptian-dark-gold));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--egyptian-black);
    margin: 0 auto 1rem;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

.profile-name {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--egyptian-gold);
    text-align: center;
    margin-bottom: 0.5rem;
}

.profile-email {
    text-align: center;
    color: var(--egyptian-light-gold);
    opacity: 0.8;
}

/* Sidebar */
.profile-sidebar {
    background: linear-gradient(135deg, var(--egyptian-charcoal), var(--egyptian-black));
    border: 2px solid var(--egyptian-gold);
    border-radius: 15px;
    padding: 1.5rem;
    height: fit-content;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
}

    .sidebar-menu li {
        margin-bottom: 0.5rem;
    }

    .sidebar-menu a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1rem;
        color: var(--egyptian-light-gold);
        text-decoration: none;
        border-radius: 10px;
        transition: all 0.3s ease;
        background: rgba(212, 175, 55, 0.05);
        border: 1px solid transparent;
    }

        .sidebar-menu a:hover,
        .sidebar-menu a.active {
            background: rgba(212, 175, 55, 0.1);
            border-color: var(--egyptian-gold);
            color: var(--egyptian-gold);
            transform: translateX(5px);
        }

    .sidebar-menu i {
        margin-right: 0.5rem;
        width: 20px;
    }

/* Profile Content */
.profile-content {
    background: linear-gradient(135deg, var(--egyptian-charcoal), var(--egyptian-black));
    border: 2px solid var(--egyptian-gold);
    border-radius: 15px;
    padding: 2rem;
}

.profile-section {
    margin-bottom: 2rem;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: var(--egyptian-gold);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--egyptian-gold);
}

.info-group {
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.info-label {
    color: var(--egyptian-gold);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.info-value {
    color: var(--egyptian-light-gold);
    font-size: 1.1rem;
}

.btn-egyptian {
    background: linear-gradient(135deg, var(--egyptian-gold), var(--egyptian-dark-gold));
    color: var(--egyptian-black);
    border: none;
    border-radius: 25px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

    .btn-egyptian:hover {
        background: linear-gradient(135deg, var(--egyptian-dark-gold), var(--egyptian-gold));
        color: var(--egyptian-black);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    }

.btn-egyptian-outline {
    background: transparent;
    color: var(--egyptian-gold);
    border: 2px solid var(--egyptian-gold);
    border-radius: 25px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .btn-egyptian-outline:hover {
        background: var(--egyptian-gold);
        color: var(--egyptian-black);
        transform: translateY(-2px);
    }

/* Stats Cards */
.stats-card {
    background: linear-gradient(135deg, var(--egyptian-charcoal), var(--egyptian-black));
    border: 2px solid var(--egyptian-gold);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

    .stats-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
    }

.stats-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--egyptian-gold);
    margin-bottom: 0.5rem;
}

.stats-label {
    color: var(--egyptian-light-gold);
    font-size: 0.9rem;
}

/* Form Styles */
.form-control {
    background: rgba(212, 175, 55, 0.05);
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 10px;
    color: var(--egyptian-light-gold);
    padding: 0.75rem 1rem;
}

    .form-control:focus {
        background: rgba(212, 175, 55, 0.08);
        border-color: var(--egyptian-gold);
        color: var(--egyptian-light-gold);
        box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
    }

.form-label {
    color: var(--egyptian-gold);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background: var(--egyptian-black);
    border-top: 2px solid var(--egyptian-gold);
    padding: 2rem 0;
    text-align: center;
    margin-top: 3rem;
}

/* Language Selector */
.language-selector {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 1000;
}

.language-btn {
    background: var(--egyptian-gold);
    color: var(--egyptian-black);
    border: none;
    border-radius: 50px;
    padding: 0.5rem 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .language-btn:hover {
        background: var(--egyptian-dark-gold);
        transform: scale(1.05);
    }

/* Responsive */
@media (max-width: 768px) {
    .profile-header {
        padding: 1.5rem;
    }

    .profile-avatar {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }

    .profile-name {
        font-size: 1.5rem;
    }

    .profile-content,
    .profile-sidebar {
        margin-bottom: 1rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Hidden class for language switching */
.hidden {
    display: none !important;
}
/* Book Cards */
.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.book-card {
    background: rgba(26, 26, 26, 0.9);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

    .book-card:hover {
        border-color: var(--egyptian-gold);
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(212, 175, 55, 0.2);
    }

.book-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(45deg, var(--egyptian-charcoal), var(--egyptian-gold));
}

.book-info {
    padding: 20px;
}

.book-id {
    background: var(--egyptian-gold);
    color: var(--egyptian-black);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 10px;
}

.book-name {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--egyptian-gold);
    margin-bottom: 10px;
}

.book-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0;
    flex-wrap: wrap;
    gap: 10px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
}

    .stat-item i {
        color: var(--egyptian-gold);
    }

.price-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.price {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--egyptian-gold);
}

.total-price {
    font-size: 0.9rem;
    color: var(--egyptian-light-gold);
    opacity: 0.8;
}

.star-rating {
    display: flex;
    gap: 2px;
}

.star {
    color: var(--egyptian-gold);
    font-size: 1rem;
}

    .star.empty {
        color: rgba(212, 175, 55, 0.3);
    }

/* Add Book Button */
.add-book-btn {
    background: linear-gradient(45deg, var(--egyptian-gold), var(--egyptian-dark-gold));
    border: none;
    color: var(--egyptian-black);
    font-weight: bold;
    padding: 12px 25px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .add-book-btn:hover {
        background: linear-gradient(45deg, var(--egyptian-dark-gold), var(--egyptian-gold));
        transform: translateY(-2px);
        box-shadow: 0 8px 16px rgba(212, 175, 55, 0.4);
        color: var(--egyptian-black);
    }

/* Modal Styles */
.modal-content {
    background: var(--egyptian-charcoal);
    border: 2px solid var(--egyptian-gold);
    border-radius: 15px;
    color: var(--egyptian-light-gold);
}

.modal-header {
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    padding: 20px 25px;
}

.modal-title {
    color: var(--egyptian-gold);
    font-weight: bold;
    font-size: 1.5rem;
}

.btn-close {
    background: none;
    border: none;
    color: var(--egyptian-gold);
    font-size: 1.5rem;
    opacity: 0.8;
}

    .btn-close:hover {
        opacity: 1;
        color: var(--egyptian-gold);
    }

.modal-body {
    padding: 25px;
}

.form-label {
    color: var(--egyptian-gold);
    font-weight: 500;
    margin-bottom: 8px;
}

.form-control,
.form-select {
    background: rgba(45, 45, 45, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--egyptian-light-gold);
    border-radius: 8px;
    padding: 10px 15px;
}

    .form-control:focus,
    .form-select:focus {
        background: rgba(45, 45, 45, 1);
        border-color: var(--egyptian-gold);
        box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
        color: var(--egyptian-light-gold);
    }

    .form-control::placeholder {
        color: rgba(244, 228, 188, 0.6);
    }

.discount-options {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.form-check-input {
    background-color: rgba(45, 45, 45, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

    .form-check-input:checked {
        background-color: var(--egyptian-gold);
        border-color: var(--egyptian-gold);
    }

.form-check-label {
    color: var(--egyptian-light-gold);
}

.file-upload-area {
    border: 2px dashed rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

    .file-upload-area:hover {
        border-color: var(--egyptian-gold);
        background: rgba(212, 175, 55, 0.05);
    }

    .file-upload-area.dragover {
        border-color: var(--egyptian-gold);
        background: rgba(212, 175, 55, 0.1);
    }

.upload-icon {
    font-size: 2rem;
    color: var(--egyptian-gold);
    margin-bottom: 10px;
}

.modal-footer {
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    padding: 20px 25px;
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.5);
    color: var(--egyptian-light-gold);
}

    .btn-secondary:hover {
        background: rgba(212, 175, 55, 0.1);
        border-color: var(--egyptian-gold);
        color: var(--egyptian-gold);
    }

.btn-primary {
    background: linear-gradient(45deg, var(--egyptian-gold), var(--egyptian-dark-gold));
    border: none;
    color: var(--egyptian-black);
    font-weight: bold;
}

    .btn-primary:hover {
        background: linear-gradient(45deg, var(--egyptian-dark-gold), var(--egyptian-gold));
        color: var(--egyptian-black);
    }

.order-card {
    background: linear-gradient(145deg, var(--egyptian-charcoal), #3a3a3a);
    border: 2px solid var(--egyptian-gold);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    overflow: hidden;
    position: relative;
}

    .order-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, var(--egyptian-gold), var(--egyptian-copper));
    }

    .order-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(212, 175, 55, 0.3);
    }

.order-header {
    background: linear-gradient(45deg, var(--egyptian-gold), var(--egyptian-copper));
    color: var(--egyptian-black);
    padding: 1rem;
    font-weight: 600;
}

.order-body {
    padding: 1.5rem;
}

.order-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.order-detail {
    color: var(--egyptian-light);
}

    .order-detail strong {
        color: var(--egyptian-gold);
    }

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-completed {
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
}

.status-pending {
    background: linear-gradient(45deg, #ffc107, #fd7e14);
    color: var(--egyptian-black);
}

.status-cancelled {
    background: linear-gradient(45deg, #dc3545, #c82333);
    color: white;
}

.btn-view-details {
    background: linear-gradient(45deg, var(--egyptian-gold), var(--egyptian-copper));
    color: var(--egyptian-black);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

    .btn-view-details:hover {
        background: linear-gradient(45deg, var(--egyptian-copper), var(--egyptian-gold));
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
    }

.modal-content {
    background: linear-gradient(145deg, var(--egyptian-charcoal), #3a3a3a);
    border: 2px solid var(--egyptian-gold);
    border-radius: 15px;
    color: var(--egyptian-light);
}

.modal-header {
    background: linear-gradient(45deg, var(--egyptian-gold), var(--egyptian-copper));
    color: var(--egyptian-black);
    border-bottom: none;
    border-radius: 13px 13px 0 0;
}

.modal-title {
    font-weight: 700;
    font-size: 1.5rem;
}

.btn-close {
    filter: invert(1);
}

.form-group {
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .order-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .page-title {
        font-size: 2rem;
    }
}
/* Rating Stars */
.rating-display {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 25px;
}

.star {
    font-size: 1.5rem;
    color: var(--egyptian-gold);
    cursor: pointer;
    transition: color 0.2s ease;
}

    .star.empty {
        color: rgba(212, 175, 55, 0.3);
    }

    .star:hover {
        color: var(--egyptian-dark-gold);
    }
/* Rating Input */
.rating-input {
    display: flex;
    gap: 5px;
    margin-bottom: 15px;
}

    .rating-input .star {
        font-size: 1.8rem;
        cursor: pointer;
        transition: all 0.2s ease;
    }

        .rating-input .star:hover,
        .rating-input .star.selected {
            color: var(--egyptian-gold);
            transform: scale(1.1);
        }

/* Responsive */
@media (max-width: 768px) {
    .book-info h1 {
        font-size: 2rem;
    }

    .book-price {
        font-size: 1.5rem;
    }

    .btn-egyptian {
        width: 100%;
        justify-content: center;
        margin-bottom: 10px;
    }
}

.book-cover {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

    .book-cover:hover {
        transform: scale(1.05);
    }

.book-info h1 {
    color: var(--egyptian-gold);
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.book-author {
    font-size: 1.3rem;
    color: var(--egyptian-light-gold);
    margin-bottom: 20px;
    font-style: italic;
}

.book-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: justify;
}

.book-price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--egyptian-gold);
    margin-bottom: 20px;
}

.original-price {
    text-decoration: line-through;
    color: #888;
    font-size: 1.2rem;
    margin-right: 10px;
}
/* Toast Notification */
.toast-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 1000;
}

.toast-egyptian {
    background: linear-gradient(45deg, var(--egyptian-gold), var(--egyptian-dark-gold));
    color: var(--egyptian-black);
    border: none;
}

.book-details-container {
    background: rgba(26, 26, 26, 0.9);
    border: 2px solid var(--egyptian-gold);
    border-radius: 15px;
    padding: 30px;
    margin: 20px 0;
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
}
/* About Sections */
.about-section {
    padding: 4rem 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    color: #d4af37;
    text-align: center;
    margin-bottom: 3rem;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.about-card {
    background: rgba(45, 45, 45, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

    .about-card:hover {
        transform: translateY(-5px);
        border-color: rgba(212, 175, 55, 0.5);
    }

.card-icon {
    font-size: 3rem;
    color: #d4af37;
    margin-bottom: 1rem;
}

.card-title {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: #d4af37;
    margin-bottom: 1rem;
}

.card-text {
    color: #f4e4bc;
    line-height: 1.8;
}

.mission-section {
    background: rgba(45, 45, 45, 0.3);
    padding: 4rem 2rem;
    margin: 4rem 0;
}

.mission-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.mission-text {
    font-size: 1.2rem;
    color: #f4e4bc;
    line-height: 1.8;
    margin-bottom: 2rem;
}
/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    position: relative;
    padding: 4rem 0;
    text-align: center;
    overflow: hidden;
}

    .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: radial-gradient(circle at 25% 25%, rgba(212, 175, 55, 0.1) 0%, transparent 25%), radial-gradient(circle at 75% 75%, rgba(212, 175, 55, 0.05) 0%, transparent 25%);
        pointer-events: none;
    }

.hero-decorations {
    position: absolute;
    inset: 0;
    opacity: 0.1;
}

    .hero-decorations::before {
        content: "𓂀";
        position: absolute;
        top: 20%;
        left: 10%;
        font-size: 4rem;
        color: #d4af37;
    }

    .hero-decorations::after {
        content: "𓁹";
        position: absolute;
        bottom: 20%;
        right: 10%;
        font-size: 3rem;
        color: #d4af37;
    }

.hero-content2 {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-title2 {
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #d4af37;
    margin-bottom: 1.5rem;
}

.hero-subtitle2 {
    font-size: 1.3rem;
    color: #f4e4bc;
    max-width: 600px;
    margin: 0 auto;
}
/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    position: relative;
    padding: 4rem 0;
    text-align: center;
    overflow: hidden;
}

    .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: radial-gradient(circle at 25% 25%, rgba(212, 175, 55, 0.1) 0%, transparent 25%), radial-gradient(circle at 75% 75%, rgba(212, 175, 55, 0.05) 0%, transparent 25%);
        pointer-events: none;
    }

.hero-decorations {
    position: absolute;
    inset: 0;
    opacity: 0.1;
}

    .hero-decorations::before {
        content: "𓊪";
        position: absolute;
        top: 20%;
        left: 15%;
        font-size: 4rem;
        color: #d4af37;
    }

    .hero-decorations::after {
        content: "𓈖";
        position: absolute;
        bottom: 20%;
        right: 15%;
        font-size: 3rem;
        color: #d4af37;
    }




/* Contact Section */
.contact-section {
    padding: 4rem 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    background: rgba(45, 45, 45, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    padding: 3rem;
}

.contact-form-container {
    background: rgba(45, 45, 45, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    padding: 3rem;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    color: #d4af37;
    margin-bottom: 2rem;
}


.contact-text {
    /* Aligns text to the right, as seen in the screenshot */
    text-align: right;
}

    /* Styles the title (h4) */
    .contact-text h4 {
        color: rgb(212, 175, 55); /* This is the gold color from your border */
        margin: 0; /* Removes default margins */
        font-size: 1rem; /* Adjust as needed */
    }

    /* Styles the email address (p) */
    .contact-text p {
        color: #f0f0f0; /* A light, off-white color for the email */
        margin: 0; /* Removes default margins */
        font-size: 0.9rem; /* Adjust as needed */
    }

/* Styles the icon */
.contact-icon {
    color: rgb(212, 175, 55); /* The same gold color */
    font-size: 1.75rem; /* Makes the icon larger */
}
/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

    .form-group label {
        color: #d4af37;
        font-weight: 500;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 1rem;
        border: 1px solid rgba(212, 175, 55, 0.3);
        border-radius: 6px;
        background-color: rgba(26, 26, 26, 0.8);
        color: #f4e4bc;
        font-family: inherit;
        font-size: 1rem;
        transition: border-color 0.3s ease;
    }

        .form-group input:focus,
        .form-group textarea:focus,
        .form-group select:focus {
            outline: none;
            border-color: #d4af37;
        }

    .form-group textarea {
        resize: vertical;
        min-height: 120px;
    }

.submit-btn {
    background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
    color: #1a1a1a;
    border: none;
    padding: 1rem 2rem;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .submit-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
    }

    .submit-btn:active {
        transform: translateY(0);
    }

/* Map Section */
.map-section {
    background: rgba(45, 45, 45, 0.3);
    padding: 4rem 2rem;
    margin: 4rem 0;
    text-align: center;
}

.map-placeholder {
    background: rgba(26, 26, 26, 0.8);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4af37;
    font-size: 1.2rem;
    max-width: 1200px;
    margin: 0 auto;
}
/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info,
    .contact-form-container {
        padding: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }
}
/* Scholars Section */
.scholars {
    background: linear-gradient(135deg, var(--egyptian-charcoal) 0%, var(--egyptian-black) 50%, var(--egyptian-charcoal) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

    .scholars::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.08) 0%, transparent 25%), radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.05) 0%, transparent 25%);
    }

.scholar-card {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
}

    .scholar-card:hover {
        border-color: var(--egyptian-gold);
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(212, 175, 55, 0.3);
    }

.scholar-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.scholar-card:hover .scholar-image {
    transform: scale(1.1);
}

.scholar-content {
    padding: 1.5rem;
    text-align: center;
}

.scholar-name {
    color: var(--egyptian-gold);
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.scholar-title {
    color: var(--egyptian-light-gold);
    opacity: 0.9;
    margin-bottom: 1rem;
    font-style: italic;
}

.scholar-description {
    color: var(--egyptian-light-gold);
    opacity: 0.8;
    font-size: 0.9rem;
    line-height: 1.6;
}

.scholar-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--egyptian-gold);
    color: var(--egyptian-black);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}
/* Features Section */
.features {
    background-color: var(--egyptian-charcoal);
    padding: 80px 0;
}

.feature-card {
    background: rgba(26, 26, 26, 0.7);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

    .feature-card:hover {
        border-color: var(--egyptian-gold);
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(212, 175, 55, 0.2);
    }

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(45deg, var(--egyptian-gold), var(--egyptian-dark-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: var(--egyptian-black);
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--egyptian-gold);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}
/* Animations */
.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.glow {
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    }

    to {
        box-shadow: 0 0 30px rgba(212, 175, 55, 0.8);
    }
}

.scholar-glow {
    animation: scholarGlow 3s ease-in-out infinite alternate;
}

@keyframes scholarGlow {
    from {
        box-shadow: 0 0 25px rgba(212, 175, 55, 0.4);
        border-color: rgba(212, 175, 55, 0.5);
    }

    to {
        box-shadow: 0 0 35px rgba(212, 175, 55, 0.7);
        border-color: var(--egyptian-gold);
    }
}

@media (max-width: 768px) {
    .hero-overlay-title {
        font-size: 2.5rem;
    }

    .hero-overlay-subtitle {
        font-size: 1.1rem;
    }


    .section-title {
        font-size: 2rem;
    }

    .scholar-name {
        font-size: 1.2rem;
    }
}

[dir="rtl"] {
    text-align: right;
}

    [dir="rtl"] .genral-row-reverse {
        flex-direction: row-reverse;
    }

.ui-autocomplete-input {
    z-index: 1051 !important; /* Higher than Bootstrap modal (1050) */
}
