/* ======== General Styles ======== */
:root {
    --primary-red: #e74c3c;
    --primary-pink: #f06a8a;
    --dark-bg: #210c0e;
    --dark-red-bg: #4f151b;
    --text-light: #f0f0f0;
}

body {
    font-family: "Cairo", sans-serif;
    background: linear-gradient(135deg, var(--dark-red-bg), var(--dark-bg));
    color: var(--text-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}
.row {
    margin: 0;
    padding: 0;
}
/* For Webkit-based browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, var(--primary-red), var(--primary-pink));
    border-radius: 10px;
    border: 3px solid var(--dark-bg);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-pink);
}

/* For Firefox */
html {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-red) var(--dark-bg);
}
/* ========
   Preloader Styles
   ======== */

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--dark-bg);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader-icon {
    font-size: 5rem; /* حجم أيقونة القلب */
    color: var(--primary-pink);
    /* Animation */
    animation: pulse 1.5s ease-in-out infinite;
}

/* Keyframes for the pulsing animation */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

/* Class to hide the preloader */
.preloader-hidden {
    opacity: 0;
    visibility: hidden;
}
/* ======== Header / Navbar ======== */
header {
    background-color: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
/* ========
   Responsive Navbar Styles
   ======== */

.navbar {
    background-color: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-brand .logo-icon {
    color: var(--primary-red);
    font-size: 1.8rem;
}

.navbar-brand .logo-text {
    font-weight: 700;
    font-size: 1.1rem;
}

/* --- Hamburger Icon Color --- */
.navbar-toggler {
    border-color: rgba(255, 107, 139, 0.5);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(240, 106, 138, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(240, 106, 138, 0.25);
}

.nav-link {
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--primary-pink);
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: rgba(10, 5, 6, 0.9);
        border-radius: 10px;
        margin-top: 1rem;
        padding: 1.5rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
        text-align: center;
    }

    .nav-link {
        padding: 0.75rem 0;
        font-size: 1.1rem;
    }

    .auth-buttons {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .auth-buttons .btn {
        width: 100%;
    }
}
.logo-icon {
    color: var(--primary-red);
    font-size: 1.8rem;
}

.logo-text {
    font-weight: 700;
}

.nav a,
.text-end a {
    transition: color 0.3s ease, background-color 0.3s ease;
}

.btn-danger {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
}

.btn-danger:hover {
    background-color: #c0392b;
    border-color: #c0392b;
}

/* ======== Hero Section ======== */
.hero-section {
    flex-grow: 1; /* يجعل هذا القسم يملأ المساحة المتبقية */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 15px;
}

/* Animated Icons */
.hero-icons {
    margin-bottom: 2rem;
    animation: fadeIn 1s ease-out;
}

.hero-icons i {
    font-size: 4rem;
    margin: 0 1rem;
    animation: float 4s ease-in-out infinite;
}

.hero-icons .fa-heart {
    color: var(--primary-pink);
}

.hero-icons .fa-droplet {
    color: var(--primary-red);
    animation-delay: 0.5s; /* لجعل حركة الأيقونات مختلفة */
}

/* Main Title */
.main-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-pink);
    line-height: 1.3;
    text-shadow: 0 0 15px rgba(240, 106, 138, 0.4);
    animation: fadeInDown 1.2s ease-out 0.3s both;
}

/* Description Box */
.description-box {
    background-color: rgba(27, 4, 7, 0.5);
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
    max-width: 600px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 1.2s ease-out 0.6s both;
}

.description-box p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.description-box .prayer {
    font-weight: 700;
    color: var(--primary-pink);
    margin-bottom: 0;
}

/* Call to Action Button */
.btn-cta {
    background: linear-gradient(45deg, var(--primary-red), var(--primary-pink));
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 12px 40px;
    border-radius: 50px;
    border: none;
    box-shadow: 0 5px 20px rgba(231, 76, 60, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 1.2s ease-out 0.9s both;
}

.btn-cta:hover {
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(240, 106, 138, 0.5);
}

/* ======== Footer ======== */
footer {
    background-color: rgba(0, 0, 0, 0.2);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ======== Animations (Keyframes) ======== */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ======== Media Queries for Responsiveness ======== */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }

    .hero-icons i {
        font-size: 3rem;
    }

    .description-box {
        padding: 1.5rem;
    }
}

@media (max-width: 992px) {
    .navbar .text-end {
        width: 100%;
        margin-top: 1rem;
        display: flex;
        justify-content: center;
    }
}
/* ========
   Services Page Styles
   ======== */

.services-section {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 15px;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-pink);
    text-shadow: 0 0 15px rgba(240, 106, 138, 0.4);
    animation: fadeInDown 1s ease-out 0.2s both;
}

.section-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
    animation: fadeInDown 1s ease-out 0.4s both;
}

.service-card-link {
    text-decoration: none;
    color: var(--text-light);
    display: block; /* لجعل الرابط يملأ مساحة العمود */
}

.service-card {
    background-color: rgba(10, 5, 6, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    height: 100%;
    transition: transform 0.3s ease, border-color 0.3s ease,
        box-shadow 0.3s ease;
}

/* Hover effect */
.service-card-link:hover .service-card {
    transform: translateY(-10px);
    border-color: var(--primary-pink);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.service-card i {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* Animation for cards */
.row .col-lg-5:nth-child(1) {
    animation: fadeInUp 1s ease-out 0.6s both;
}

.row .col-lg-5:nth-child(2) {
    animation: fadeInUp 1s ease-out 0.8s both;
}
/* ========
   Login/Register Form Styles
   ======== */

.form-section {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 15px;
}

.login-box {
    background-color: rgba(10, 5, 6, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    max-width: 450px;
    width: 100%;
    text-align: center;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.form-icon {
    font-size: 2.5rem;
    color: var(--primary-pink);
    margin-bottom: 1rem;
}

.form-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Custom styles for Bootstrap form controls */
.form-control {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    text-align: right;
}

.form-control:focus {
    background-color: transparent;
    color: white;
    border-color: var(--primary-pink);
    box-shadow: 0 0 0 0.25rem rgba(240, 106, 138, 0.25);
}

.form-floating > label {
    color: rgba(255, 255, 255, 0.5);
    background-color: transparent;
    left: auto;
    right: 0;
}

/* Fix for floating labels in dark mode */
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: var(--primary-pink);
    background-color:transparent !important;
}
.form-floating>.form-control-plaintext~label::after, .form-floating>.form-control:focus~label::after, .form-floating>.form-control:not(:placeholder-shown)~label::after, .form-floating>.form-select~label::after
{
    background-color:transparent !important;
}
.btn-form-submit {
    background-color: var(--primary-red);
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 12px 0;
    border: none;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-form-submit:hover {
    background-color: #c0392b;
    transform: translateY(-3px);
}

.form-links p {
    margin-bottom: 0.5rem;
}

.form-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.form-links a:hover {
    color: white;
    text-decoration: underline;
}

.form-links .highlight-link {
    color: var(--primary-pink);
    font-weight: 700;
}
/* ========
   Register Form Specific Styles
   ======== */

.register-box {
    background-color: rgba(10, 5, 6, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    max-width: 550px;
    width: 100%;
    text-align: center;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.form-subtitle {
    color: rgba(255, 255, 255, 0.7);
    margin-top: -1.5rem;
    margin-bottom: 2.5rem;
}

.form-control:disabled,
.form-control[readonly] {
    background-color: rgba(0, 0, 0, 0.2);
    opacity: 0.7;
}

.form-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: right;
    padding-right: 0.25rem;
}

.login-box,
.register-box {
    animation: fadeInUp 1s ease-out 0.2s both;
}
/* ========
   Forgot Password Form Styles
   ======== */

.forgot-box {
    background-color: rgba(10, 5, 6, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    max-width: 450px;
    width: 100%;
    text-align: center;
    animation: fadeInUp 1s ease-out 0.2s both;
}
/* ========
   FAQ Page Styles
   ======== */

.faq-section {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 15px;
}

.accordion-container {
    max-width: 800px;
    width: 100%;
}

.accordion-item {
    background-color: rgba(10, 5, 6, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
    border-radius: 10px !important;
}

.accordion {
    --bs-accordion-border-width: 0;
}

.accordion-header {
    font-weight: 700;
}

.accordion-button {
    color: var(--text-light);
    font-weight: 700;
    font-size: 1.1rem;
}

.accordion-button:not(.collapsed) {
    background-color: transparent;
    color: var(--primary-pink);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, 0);
}

.accordion-button,
.accordion-collapse {
    background-color: transparent !important;
}

.accordion-button::after {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f078";

    transform: rotate(0deg);
    transition: transform 0.3s ease;

    margin-right: auto;
    margin-left: 0;
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(-180deg);
}

.accordion-body {
    text-align: right;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    border-top: 1px solid rgba(240, 106, 138, 0.3);
}

.accordion-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.accordion-item:nth-child(1) {
    animation-delay: 0.3s;
}
.accordion-item:nth-child(2) {
    animation-delay: 0.4s;
}
.accordion-item:nth-child(3) {
    animation-delay: 0.5s;
}
.accordion-item:nth-child(4) {
    animation-delay: 0.6s;
}
.accordion-item:nth-child(5) {
    animation-delay: 0.7s;
}
/* ========
   Contact Page Styles
   ======== */

.contact-section {
    flex-grow: 1;
    display: flex;
    align-items: center;
    padding: 60px 15px;
}

.contact-card {
    background-color: rgba(10, 5, 6, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: right;
}

.contact-card h3 {
    font-weight: 700;
    color: var(--text-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.contact-info .info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-info .info-item i {
    font-size: 1.5rem;
    color: var(--primary-pink);
    margin-left: 1rem;
    margin-top: 0.25rem;
}

.contact-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.contact-info p {
    margin-bottom: 0;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    direction: ltr;
    text-align: right;
}

.contact-info span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.contact-section .col-lg-6 {
    animation: fadeInUp 1s ease-out 0.4s both;
}
.contact-section .col-lg-5 {
    animation: fadeInUp 1s ease-out 0.6s both;
}
/* ========
   Text Pages (Privacy, Terms) Styles
   ======== */

.text-page-section {
    flex-grow: 1;
    display: flex;
    align-items: center;
    padding: 60px 15px;
}

.text-card {
    background-color: rgba(10, 5, 6, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem 3rem;
    max-width: 900px;
    width: 100%;
    animation: fadeInUp 1s ease-out 0.2s both;
    text-align: right;
}

.text-page-title {
    font-weight: 900;
    color: var(--primary-pink);
    margin-bottom: 0.5rem;
}

.text-card hr {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 1.5rem 0;
}

.text-card h2 {
    font-weight: 700;
    color: var(--text-light);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.text-card p,
.text-card li {
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.8);
}

.text-card ul {
    padding-right: 1.5rem;
}

/* Footer Links */
footer a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-pink);
}
/* public/css/style.css */

/* Custom Styles for SweetAlert2 */
.swal-popup-custom {
    background-color: var(--dark-bg) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 15px !important;
}

.swal-title-custom {
    color: var(--primary-pink) !important;
    font-weight: 700 !important;
}

.swal2-html-container {
    color: var(--text-light) !important;
}

.swal-button-custom {
    background: linear-gradient(
        45deg,
        var(--primary-red),
        var(--primary-pink)
    ) !important;
    color: white !important;
    border-radius: 50px !important;
    padding: 10px 30px !important;
    font-weight: 700 !important;
    border: none !important;
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3) !important;
    transition: transform 0.2s ease !important;
}

.swal-button-custom:hover {
    transform: translateY(-3px);
}

.swal-button-custom.swal-button-error {
    background: var(--primary-red) !important;
}

.swal-button-custom.swal-button-info {
    background: #3498db !important; /* لون أزرق للمعلومات */
}

/* Customizing icon colors */
.swal2-icon.swal2-success .swal2-success-ring {
    border-color: #f06a8a !important;
}
.swal2-icon.swal2-success [class^="swal2-success-line"] {
    background-color: var(--primary-pink) !important;
}

.swal2-icon.swal2-error {
    border-color: var(--primary-red) !important;
    color: var(--primary-red) !important;
}

.swal2-icon.swal2-info {
    border-color: #3498db !important;
    color: #3498db !important;
}
.contact-info a {
    color: #fff;
    text-decoration: none;
}
select {
    background-color: transparent !important;
    color: white !important;
}
select option {
    color: var(--dark-bg) !important;
}
/* =========================================
       Custom Radio Button Group Styles
       ========================================= */

.btn-group-radio {
    display: flex;
    gap: 1rem;
    /* مسافة بين الأزرار */
}

/* Custom styles for the radio button labels */
.btn-radio-custom {
    --bs-btn-color: rgba(255, 255, 255, 0.7);
    --bs-btn-bg: transparent;
    --bs-btn-border-color: rgba(255, 255, 255, 0.2);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: rgba(240, 106, 138, 0.1);
    --bs-btn-hover-border-color: var(--primary-pink);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--primary-pink);
    --bs-btn-active-border-color: var(--primary-pink);

    width: 100%;
    /* لجعل الزرين يملآن المساحة بالتساوي */
    padding: 0.75rem 1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Style for the icon inside the button */
.btn-radio-custom i {
    transition: transform 0.3s ease;
}

/* Animate the icon on hover/active */
.btn-radio-custom:hover i {
    transform: scale(1.2);
}

/* Override Bootstrap's default active box-shadow to match our theme */
.btn-check:focus + .btn-radio-custom,
.btn-radio-custom:focus {
    box-shadow: 0 0 0 0.25rem rgba(240, 106, 138, 0.25);
}

/* Style for the active/checked state */
.btn-check:checked + .btn-radio-custom {
    color: #fff;
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
    transform: translateY(-2px);
}
/* يمكنك وضع هذا الـ CSS في ملف style.css الرئيسي */
.search-box-wrapper {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.search-box {
    text-align: center;
}
.search-icon {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
}
.results-title {
    color: var(--primary-pink);
    border-bottom: 2px solid var(--primary-red);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}
.result-card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}
.result-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
}
.result-card .card-header h4 {
    margin: 0;
    color: #fff;
}
.blood-type-badge {
    background: var(--primary-red);
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-weight: bold;
}
.result-card .card-body {
    padding: 1rem;
    color: #ddd;
}
.result-card .card-body p {
    margin-bottom: 0.75rem;
}
.result-card .card-body i {
    color: var(--primary-pink);
    margin-left: 0.5rem;
    width: 20px;
    text-align: center;
}
.result-card .card-footer {
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.2);
    text-align: left;
}
.extra-section-card {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
    color: #fff;
}
/* أنماط خاصة بصفحة 404 فقط */
.error-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh; /* لجعلها تملأ معظم الشاشة */
    text-align: center;
    color: var(--text-light);
}
.error-code {
    font-size: 8rem;
    font-weight: 900;
    color: var(--primary-red);
    text-shadow: 0 0 20px rgba(231, 76, 60, 0.3);
    line-height: 1;
}
.error-message {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-pink);
    margin-top: 0;
    margin-bottom: 1.5rem;
}
.error-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}
.error-section .btn-cta {
    background: linear-gradient(45deg, var(--primary-red), var(--primary-pink));
    color: white;
    font-size: 1rem;
    font-weight: 700;
    padding: 10px 30px;
    border-radius: 50px;
    border: none;
    box-shadow: 0 5px 20px rgba(231, 76, 60, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}
.error-section .btn-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(240, 106, 138, 0.5);
}
.toggle-request-link {
    color: var(--primary-pink);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}
.toggle-request-link:hover {
    color: #fff;
}
.request-section {
    border: 1px solid rgba(240, 106, 138, 0.3);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    background-color: rgba(0, 0, 0, 0.1);
}
.request-section-title {
    color: var(--primary-pink);
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: bold;
}
.section-divider {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    line-height: 0.1em;
    margin: 2.5rem 0;
}
.section-divider span {
    background: rgba(10, 5, 6, 0.9);
    padding: 0 10px;
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
}
.btn-close {
    margin-left: 0 !important;
}
.results-title {
    color: var(--primary-pink);
    border-bottom: 2px solid var(--primary-red);
    padding-bottom: 0.5rem;
}
.request-history-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.request-history-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.2);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}
.blood-type-badge {
    background: var(--primary-red);
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.9em;
}
.request-history-card .card-body {
    flex-grow: 1;
}
.request-status {
    margin-bottom: 1rem;
}
.request-history-card .card-footer {
    background-color: rgba(0, 0, 0, 0.2);
    border-top-color: rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

/* Customizing Bootstrap Pagination for Dark Theme */
.pagination .page-link {
    background-color: var(--dark-bg);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--primary-pink);
}
.pagination .page-item.active .page-link {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    color: #fff;
}
.pagination .page-item.disabled .page-link {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.1);
}
