:root {
    --brand-red: #EC222A;
    --brand-red-light: #FFE6E7;
    --gray-text: #555;
    --border-color: #e0e0e0;
}

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

.caveat-font {
    font-family: 'Caveat', cursive;
    font-size: 1.2rem;
}

.hero {
    padding: 60px 0;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

.hero .highlight-red {
    color: #EC222A;
}

.hero .highlight-yellow {
    color: #FFD700;
    font-weight: 700;
    font-size: 26px;
}

.search-box {
    display: flex;
    align-items: center;
    background: #fff;
    margin: 20px 0;
}

.search-box input {
    border: none;
    outline: none;
    flex-grow: 1;
    border: 1px solid #ccc;
    padding: 10px;
}


.icon-search {
    color: #ccc;
}

input::placeholder {
    color: #ccc !important;
}

.search-box button {
    background: none;
    border: none;
    border: 1px solid #ccc;
    font-size: 1.2rem;
}

.lang-switch {
    font-size: 14px;
    color: #555;
}

.hero-img {
    max-width: 100%;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero .search-box {
        flex-direction: column;
        gap: 10px;
    }

}

.navbar-nav {
    padding: 0;
}

@media (min-width: 992px) {
    .navbar-nav {
        text-align: center;
    }
}

@media (max-width: 991.98px) {
    .responsive-stack {

    }
}

/* about section */
.forget-box {
    background: #fff url('images/bg-icons.png') no-repeat;
    background-position: left center, right center;
    background-size: contain;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    padding: 3rem 2rem;
    max-width: 900px;
    margin: auto;
    text-align: center;
}

@media (max-width: 768px) {
    .forget-box {
        background-size: 80px;
        background-position: left top, right bottom;
    }
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #343a40;
    margin-bottom: 3rem;
    max-width: 500px;
    margin: auto;

}

.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease-in-out;
    margin-bottom: 2rem;
    background-color: #ffffff;
}


.card-body {
    padding: 2.5rem 1.5rem;
    text-align: center;
}

.card-title {
    font-size: 18px;
    font-weight: bold;
    color: #343a40;
    margin-bottom: 1rem;
}

.card-text {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.card-image {
    height: 120px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.border-image {
    border: 1px solid #EEEEEE;

}

.card-icon {
    font-size: 3rem;
    color: #dc3545;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.red-text {
    color: #EC222A;
}

/* footer */
.footer {
    background-color: #ffffff;
    padding: 3rem 0 0 0;
    /* border-top: 1px solid #e9ecef; */
    box-shadow: 0px -29px 29px 0px rgba(195, 195, 195, 0.08);
    box-shadow: #ccc;
    color: #6c757d;
}


.footer-logo img {
    max-height: 50px;
    margin-bottom: 1rem;
}

.social-icons a {
    color: #303030;
    font-size: 20px;
    margin-right: 15px;
    border: 1px solid #303030;
    border-radius: 5px;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icons a {
    text-decoration: none !important;
}


.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.3s ease;
}


.download-app img {
    max-height: 45px;
    margin-bottom: 10px;
    display: block;
}

.qr-code img {
    padding: 5px;
    border-radius: 8px;
}

.copyright {
    padding: 15px;
    border-top: 1px solid #e9ecef;
    font-size: 0.9rem;
}

/* about page */
.section-title-box {
    position: relative;
    display: inline-block;
    padding: 10px 25px;
    color: #333;
    font-weight: 600;
    font-size: 32px;
    line-height: 120%;
    letter-spacing: 0;
}

/* الزاويتين العلويتين */
.section-title-box::before,
.section-title-box::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 15px;
    border: 1px solid #f44336;
    box-sizing: border-box;
}

.section-title-box::before {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
    border-radius: 4px 0 0 0;
}

.section-title-box::after {
    top: 0;
    right: 0;
    border-left: none;
    border-bottom: none;
    border-radius: 0 4px 0 0;
}

/* الزاويتين السفليتين */
.section-title-box .corner {
    position: absolute;
    width: 25px;
    height: 15px;
    border: 1px solid #f44336;
    box-sizing: border-box;
}

.section-title-box .bottom-left {
    bottom: 0;
    left: 0;
    border-top: none;
    border-right: none;
    border-radius: 0 0 0 4px;
}

.section-title-box .bottom-right {
    bottom: 0;
    right: 0;
    border-top: none;
    border-left: none;
    border-radius: 0 0 4px 0;
}


.handwritten {
    font-family: 'Caveat', cursive;
    font-size: 1.25rem;
    color: #00134d;
    transform: rotate(-3.6deg) translateY(-40px);
}


.about-box {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 40px 30px;
    position: relative;
    z-index: 2;
}

.about-image {
    margin-top: -170px;
}

.title {
    font-size: 44px;
}

.description {
    max-width: 600px;
    font-size: 20px;
}

@media (max-width: 768px) {
    .about-image {
        margin-top: 0;
        margin-bottom: 20px;
    }

    .title {
        font-size: 30px;
    }

    .description {
        font-size: 16px;
    }
}

/* parteners */
.form-container {
    max-width: 600px;
    margin: 60px auto;
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.form-title {
    text-align: center;
    margin-bottom: 30px;
}

.form-title span {
    color: #f44336;
    font-weight: bold;
}

.form-title strong {
    font-weight: bold;
}

.form-check-inline {
    margin-right: 20px;
}

.btn-submit {
    background-color: #f44336;
    color: white;
    width: 100%;
    border-radius: 8px;
}


.phone-input {
    display: flex;
    align-items: center;
}

.phone-input img {
    width: 30px;
    margin-right: 8px;
}


@media (max-width: 576px) {
    .form-container {
        padding: 20px;
    }
}

.section-title-custom {
    border: 2px dashed #e63946;
    padding: 10px 30px;
    border-radius: 10px;
    color: #111;
    font-weight: bold;
}

@media (max-width: 767px) {
    .section-title-custom {
        font-size: 1.3rem;
    }
}

@media (max-width: 767px) {
    .d-flex.flex-wrap.align-items-start.justify-content-start {
        flex-direction: column;
        align-items: center;
    }

    .title-shape,
    .position-absolute {
        display: none;
    }

    .title-shape {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        text-align: center;
        margin-left: 0 !important;
        margin-top: 20px !important;
    }

    .form-container {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin: 20px auto;
        padding: 20px;
    }
}

/* how it work */
.how-it-work-title {
    font-weight: 600;
    font-size: 60px;
}

.how-it-work-title-card {
    color: #505050;

}

.video-slide {
    display: none;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.video-slide.active {
    display: block;
}

.slider-controls {
    margin-top: 20px;
    text-align: center;
}

.slider-controls button {
    background-color: #d1d1d1;
    border: none;
    border-radius: 6px;
    padding: 5px 12px;
    margin: 0 5px;
    font-size: 20px;
    color: #fff;
}


video {
    width: 100%;
    height: 300px;
    background-color: #333;
    object-fit: cover;
}

/* kit info */
.kit-card {
    max-width: 450px;
    margin: auto;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0px 0px 20px #00000014;
    padding: 30px;
}

.contact-btn {
    width: 70px;
    height: 70px;
    font-size: 12px;
}

.sos-btn {
    background-color: #D9D9D9;
    color: #fff;
    border: none;
}

.send-location-btn {
    border: 1px solid #EC222A;
    color: #EC222A;
}

.blood-type {
    background-color: #EC222A;
    color: white;
    padding: 5px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.kit-header img {
    height: 40px;
}

.barcode {
    font-size: 14px;
}

.contact-btn {
    width: 70px;
    height: 70px;
    border-radius: 6px;
    font-size: 11px;
    line-height: 1.1;
    padding: 6px 4px;
    border: 1.2px solid #EC222A;
    background-color: #EC222A;
    color: #fff;
    text-align: center;
}

.contact-btn i {
    font-size: 22.26px;
    display: block;
    margin-bottom: 7px;
}

.contact-row {
    gap: 8px;
}

/* faq */
.faq-section {
    position: relative;
    padding: 80px 0;
}

.faq-title {
    font-size: 36px;
    font-weight: 600;
    color: #505050;
}

.faq-title img {
    margin-inline-start: 10px;
}

.faq-box {
    max-width: 600px;
    margin: 0 auto;
}

.faq-img-left,
.faq-img-right {
    position: absolute;
    z-index: 0;
}

.faq-img-left {
    left: 0;
    bottom: 80px;
}

.faq-img-right {
    right: 0;
    top: 80px;
}

.accordion-button {
    background-color: #fff;
    box-shadow: 0px 0px 20px #00000014 !important;
    border-radius: 12px !important;
    margin-bottom: 12px;
}

.accordion-item {
    border: none;
    background-color: transparent;
}

.accordion-body {
    color: #505050;
    font-weight: 500;
}

.faq-img-left {
    position: absolute;
    bottom: 0%;
    left: 60px;
    z-index: 0;
}

.faq-img-right {
    position: absolute;
    top: 80px;
    right: 60px;
    z-index: 0;
}

@media (max-width: 768px) {

    .faq-img-left,
    .faq-img-right {
        display: none;
    }
}

@media (max-width: 768px) {

    .faq-img-left,
    .faq-img-right {
        display: none;
    }
}

/* error-section */
.error-section {
    padding-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
}

.error-image {
    max-width: 100%;
    height: auto;
}

.error-text h1 {
    font-size: 52px;
    font-weight: 700;
    color: #505050;
}

.error-text p {
    font-size: 20px;
    color: #929292;
}

.btn-error {
    background-color: #EC222A;
    color: #fff;
    padding: 12px 80px;
    font-size: 14px;
    border-radius: 8px;
    border: none;
}


/* carousel mobile  */
.tabs-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    background: #f5f5f5;
    width: 300px;
    margin: auto;
    margin-top: 50px;
    margin-bottom: 20px;
    padding: 7px;
    border-radius: 5px;

}

.tabs-filter button {
    border: none;
    background: #f5f5f5;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 500;
    color: #333;
    margin: 0 5px;
    transition: 0.3s;
    cursor: pointer;
}

.tabs-filter .active {
    background-color: #fff;
    color: #c61c23;
}

.mobile-frame {
    position: relative;
    max-width: 320px;
    margin: 0 auto;
}

.mobile-frame img.phone {
    width: 100%;
    display: block;
}

.carousel-inner img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    padding: 40px 25px;
}

.carousel-control-prev,
.carousel-control-next {
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    border-radius: 5px;
    border: 1px solid #EC222A;
    padding: 20px;
    width: 40px;
    height: 40px;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    color: #EC222A;
    font-size: 18px;
    transition: background-color 0.3s ease;
}


.carousel-control-prev {
    left: -20px;
}

.carousel-control-next {
    right: -20px;
}


.carousel-control-prev.disabled,
.carousel-control-next.disabled {
    pointer-events: none;
    opacity: 0.3;
}

.carousel-control-next {
    right: -40px;
}

.carousel-control-prev {
    left: -40px;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.custom-arrow {
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: 1px solid #c61c23cc;
    border-radius: 5%;
    color: #c61c23;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.carousel-control-prev.custom-arrow {
    left: -50px;
}

.carousel-control-next.custom-arrow {
    right: -50px;
}


.action-buttons button {
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    margin-top: 130%;
}

.btn-upload {
    background-color: #585858;
    color: #fff;
}

.btn-outline {
    background-color: transparent !important;
    border: 1px solid #505050 !important;
    color: #505050 !important;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: 0.3s;
}

.download-print {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
}

.btn-download {
    background-color: #ec1c24;
    color: #fff;
}

.btn-print {
    border: 1px solid #ec1c24;
    color: #ec1c24;
}

/* buy-new-kit */
.btn-red {
    background-color: #ec1c24;
    color: white;
    border-radius: 8px;
    font-weight: 500;
}

.btn-outline-red {
    border: 1px solid #ec1c24;
    color: #ec1c24;
    background: white;
    border-radius: 8px;
}

.kit-tab.active {
    background-color: #ec1c24;
    color: white;
}

.kit-tab {
    border: none;
    background: #f2f2f2;
    color: #333;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
}

.kit-box {
    width: 180px;
    background: #EEEEEE;
    border-radius: 10px;
    /*margin: 10px;*/
    position: relative;
}


.kit-header {
    background-color: #4CAF50;
    color: white;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    padding: 5px 8px;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.kit-desc {
    padding: 0 15px 0 15px;

}

.kit-footer {
    margin-top: 8px;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 15px;

}

.kit-footer button {
    width: 100%;

}

.kit-grayed {
    filter: grayscale(100%);
    opacity: 0.5;
}

.kit-box img.qr {
    width: 100%;
    height: auto;
    margin-top: 5px;
    margin-bottom: 5px;
}

.barcode {
    height: 44px;
    background: #000;
    margin-top: 4px;
    width: 100%;
}

.kit-box strong {
    font-size: 14px;
}



/* carousel-in-kit */
.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 8px;
    border-radius: 50%;
    background-color: #d3d3d3;
}

.carousel-indicators .active {
    background-color: #EC222A;
    width: 30px;
    height: 8px;
    border-radius: 12px;

}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.orders-section .card {
    max-width: 500px;
    margin: auto;
}

/* invoice */

.card {
    position: relative;
    z-index: 1;
}

.btn-outline-danger {
    color: #dc3545;
    border-color: #dc3545;
}


/* my kit  */


/* active-pro-kit */


.step-indicator {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 10px;
}

.step-indicator span {
    flex: 1;
    height: 6px;
    border-radius: 50px;
    background-color: #ffe6e7;
    transition: all 0.3s ease;
}

.step-indicator .active {
    background-color: #ec222a;
}

.pin-input {
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 24px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.pin-input:focus {
    outline: 2px solid #ec222a;
    border-color: #ec222a;
}

#activateBtn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

#activateBtn {
    background-color: #ec222a;
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 6px;
    margin-top: 20px;
}

#activateBtn:disabled {
    background-color: #ccc;
    color: #fff;
}

/* step-2 */
.main-container {
    max-width: 700px;
    margin: 40px auto;
}

.personal-info-box {
    border: none !important;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    padding: 20px;
    border-radius: 10px;
    background-color: #fff;
}

.icon-row {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 25px 0;
    color: var(--brand-red);
    font-size: 1.8rem;
}


.form-control {
    border-radius: 8px;
    border: 1px solid var(--border-color);
    padding: 12px;
}

.form-control:focus {
    border-color: var(--brand-red);
    box-shadow: 0 0 0 2px var(--brand-red-light);
}

.form-label {
    font-weight: 500;
    color: var(--gray-text);
    margin-bottom: 8px;
}

.personal-info-box {
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 25px 25px 25px;
    margin-top: 30px;
    position: relative;
}

.personal-info-box .legend-title {
    position: absolute;
    top: 5px;
    left: 20px;
    bottom: 10px;
    padding: 15px;
    font-size: 1.1rem;
    color: var(--gray-text);
    font-weight: 500;
}

.personal-info-box .legend-title i {
    color: var(--brand-red);
    margin-right: 8px;
}

.input-group .country-code {
    border: 1px solid var(--border-color);
    border-right: none;
    background-color: #f8f9fa;
    border-radius: 8px 0 0 8px;
}

.input-group .form-control {
    border-radius: 0 8px 8px 0;
}

/* contact */
.contact-box {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin: 30px auto;
}

.contact-box h5 i {
    color: #ec222a;
    margin-right: 8px;
}

.form-control::placeholder {
    color: #ccc;
    font-size: 14px;
}

.form-switch .form-check-input {
    width: 2.5em;
    height: 1.4em;
    background-color: #ccc;
    border: none;
}

.form-switch .form-check-input:checked {
    background-color: #ec222a;
}

.form-switch .form-check-input:focus {
    box-shadow: none;
}

.flag-select {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0.5rem;
}

.flag-select img {
    width: 30px;
    margin-right: 10px;
}

.form-control:focus {
    box-shadow: none;
    border-color: #ec222a;
}

.custom-box {
    border-radius: 15px;
    margin-bottom: 20px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.form-check.form-switch .form-check-input {
    border-color: #EC222A;
}

.form-check-input:checked {
    background-color: #EC222A;
    border-color: #EC222A;
}

.form-check-input:focus {
    box-shadow: none;
}

.flag-select {
    display: flex;
    align-items: center;
    gap: 8px;
}

.flag-select img {
    width: 30px;
}

.btn-active {
    background-color: #EC222A;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 30px;
}

/* step3 */

.step-indicator span {
    display: inline-block;
    width: 80px;
    height: 4px;
    border-radius: 50px;
    margin: 0 4px;
}

.kit-number {
    font-weight: 600;
    color: #333;
    font-size: 18px;
}

.success-msg {
    color: #999;
    font-size: 14px;
}

.device-icons i {
    font-size: 24px;
    color: #EC222A;
    margin: 0 10px;
}

.btn-outline-red {
    border: 1px solid #EC222A;
    color: #EC222A;
    background-color: white;
    border-radius: 8px;
}

.btn-red {
    background-color: #EC222A;
    color: white;
    border: none;
    border-radius: 8px;
}

.notice {
    font-size: 12px;
    color: #999;
    margin-top: 30px;
}

.step-status {
    font-size: 13px;
}

.step-status .complete {
    color: green;
    font-weight: 500;
    margin-right: 6px;
}

/* profile */

.profile-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    max-width: 650px;
    width: 100%;
}

.profile-tabs .nav-link {
    color: #6c757d;
    border: none;
    font-size: 18px;
}

.profile-tabs .nav-link.active {
    color: #dc3545;
    font-size: 18px;
}

.profile-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.profile-header img.profile-pic {
    width: 80px;
    height: 80px;
    border-radius: 10%;
    object-fit: cover;
}

.profile-header .user-id {
    font-weight: bold;
}

.profile-header .barcode {
    width: 150px;
    filter: grayscale(1);
}

.form-label {
    margin-bottom: 0.5rem;
    color: #495057;
}

.form-control {
    border-radius: 0.5rem;
    border: 1px solid #ced4da;
    padding: 0.75rem;
}

.form-control:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

.input-group .input-group-text {
    border-radius: 0.5rem 0 0 0.5rem;
    background-color: transparent;
}

.input-group-flag {
    width: 24px;
}

.custom-file-input {
    border: 2px dashed #ced4da;
    border-radius: 0.5rem;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    color: #6c757d;
}


.btn-save {
    background-color: #dc3545;
    border-color: #dc3545;
    border-radius: 5px;
    padding: 0.75rem 2rem;
}


.delete-account-link {
    color: #dc3545;
    text-decoration: none;
    font-weight: 500;
}


/* change pass */
.password-input {
    border: 1px solid #ddd;
    padding-right: 2.5rem;
}

.password-toggle-icon {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    color: #888;
    cursor: pointer;
}

/* renew kit  */

.progress-container {
    max-width: 300px;
    margin: 0 auto;
}

.progress-bar {
    background-color: #ec222a !important;
}

.kit-card {
    border: 1px solid #eee;
    border-radius: 16px;
    background: #fff;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease-in-out;
    height: 100%;
}


.kit-header img {
    width: 100px;
}

.kit-valid {
    font-weight: bold;
}

.kit-info {
    font-size: 14px;
    color: #333;
}

.kit-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    margin: 15px 0;
}

.btn-pay {
    border: 1px solid #ec222a;
    color: #ec222a;
    border-radius: 8px;
    padding: 8px 20px;
    transition: 0.3s;
}


/* renewkit step2 */
.step-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 10px;
}

.step-progress div {
    width: 100px;
    height: 4px;
    background-color: #EC222A;
    border-radius: 10px;
}

.card-box {
    border: 1px solid #ddd;
    padding: 25px;
    border-radius: 8px;
    background-color: #fafafa;
}

.total-price {
    font-size: 20px;
    color: #EC222A;
}

.btn-pay {
    background-color: #e60000;
    color: white;
    padding: 10px 30px;
    font-weight: bold;
}


.summary-box {
    border: 1px solid #ddd;
    padding: 25px;
    border-radius: 8px;
    background-color: white;
}

.summary-box .form-control {
    height: 38px;
}

/* card-kit */
.step-progress {
    height: 4px;
    border-radius: 2px;
    overflow: hidden;
    margin: 1rem 0;
    gap: 5px;
}

.step-progress-bar .active {
    width: 33.33%;
    height: 100%;
    background-color: #f44336;
}

.step-text {
    font-size: 14px;
    color: #666;
}

.step-active {
    color: green;
}

.price-tag {
    background-color: #ffe5e5;
    color: #f44336;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 14px;
    display: inline-block;
}

.card-custom {
    border: none;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    background-color: #F9F9F9;
    padding: 20px;
    text-align: center;
}

.kit-image {
    width: 150px;
    height: 150px;
    object-fit: contain;
    background-color: #ffcc3f;
    border-radius: 50%;
    margin-bottom: 1rem;
    padding: 15px;
}

.choose-btn {
    background-color: #f44336;
    color: white;
    border-radius: 6px;
}


.arrow-btn {
    border-radius: 6px;
    width: 40px;
    height: 40px;
    color: #000;
}

.card-custom {
    width: 90%;
    min-height: 480px;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
    text-align: center;
    margin: 0 auto;
}

.step-completed {
    background-color: #e60000;
    width: 33%;
}

.step-inactive {
    background-color: #ffdada;
    width: 33%;
}

.order-summary {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
}

.btn-continue {
    background-color: #e60000;
    color: white;
    padding: 12px;
    border-radius: 6px;
    width: 100%;
    border: none;
}


.form-label {
    font-weight: 500;
}

.form-control {
    border-radius: 8px;
}

/* nav-home */

.navbar {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    padding: 0.5rem 1rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 0.8rem;
}

.navbar-nav .nav-link.active {
    color: #e00000;
}

.icon-btn {
    font-size: 1.2rem;
    margin-left: 1rem;
    color: #505050;
    cursor: pointer;
}

.profile-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    margin-left: 1rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 8px;
}

.icon-btn {
    font-size: 1.2rem;
    cursor: pointer;
}

.profile-img {
    width: 35px;
    height: 35px;
    border-radius: 5px;
    object-fit: cover;
}

.custom-toggler {
    background-color: rgb(236 34 42);
    border-color: white;
}

.navbar-toggler-icon {
    color: white !important;

}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 0;
    border-top: 1px solid #ddd;
    box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.05);
    z-index: 999;
}

.bottom-item {
    text-align: center;
    font-size: 14px;
    color: #666;
    flex: 1;
}

.bottom-item i {
    font-size: 22px;
    display: block;
    margin-bottom: 4px;
}

.bottom-item.active,
.bottom-item.active i {
    color: #e00000;
    font-weight: 600;
}

.badge-dot {
    position: absolute;
    top: 0px;
    right: 35px;
    width: 7px;
    height: 7px;
    background: #EC222A;
    border-radius: 50%;
}

@media (max-width: 576px) {
    .kit-box {
        width: 100% !important;
    }

    .input-group {
        max-width: 100% !important;
    }

}

@media (max-width: 576px) {
    .custom-arrow {
        font-size: 1rem;
        padding: 4px 7px;
    }

    .mobile-frame {
        max-width: 270px;
    }
}

.faq-section .container-card {
    max-width: 600px;
    width: 50%;
}

@media (max-width: 768px) {
    .faq-section .container-card {
        width: 100%;
        padding: 0 15px;
    }
}

/* Chrome, Safari, Edge, Opera */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type="number"] {
    -moz-appearance: textfield;
}


.btn-red:hover,
.btn-red:focus,
.btn-red:active {
    background-color: inherit !important;
    color: inherit !important;
    border-color: inherit !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

/* Style for the main chat container */
.chat-container {
    display: flex;
    height: 80vh; /* Set a fixed height for the container */
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    overflow: hidden;
    background-color: #f8f9fa;
}

/* Sidebar for chat list */
.chat-list {
    flex: 0 0 30%; /* Sidebar takes 30% of the width */
    border-right: 1px solid #ddd;
    overflow-y: auto; /* Add scroll if content overflows */
}

/* Individual chat item in the list */
.chat-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s;
}

.chat-item:hover, .chat-item.active {
    background-color: #e9ecef;
}

.chat-item img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 1rem;
}

.chat-item .chat-details {
    flex-grow: 1;
    overflow: hidden;
}

.chat-item .chat-name {
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.chat-item .chat-message {
    font-size: 0.9em;
    color: #6c757d;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-item .chat-time {
    font-size: 0.8em;
    color: #6c757d;
    margin-left: 1rem;
    white-space: nowrap;
}

/* Main chat window */
.chat-window {
    flex: 1; /* Takes the remaining space */
    display: flex;
    flex-direction: column;
}

/* Header of the chat window */
.chat-header {
    padding: 1rem;
    border-bottom: 1px solid #ddd;
    background-color: #fff;
    font-weight: bold;
}

/* Area for displaying messages */
.chat-messages {
    flex-grow: 1;
    padding: 1rem;
    overflow-y: auto; /* Scrollable message area */
    background-color: #f1f3f6;
    display: flex;
    flex-direction: column;
}

/* Individual message bubble */
.message {
    max-width: 70%;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    word-wrap: break-word;
}

.message.sent {
    background-color: #007bff;
    color: white;
    align-self: flex-end; /* Align sent messages to the right */
    border-bottom-right-radius: 0.25rem;
}

.message.received {
    background-color: #fff;
    color: #333;
    align-self: flex-start; /* Align received messages to the left */
    border: 1px solid #ddd;
    border-bottom-left-radius: 0.25rem;
}

/* Footer with message input form */
.chat-input {
    display: flex;
    padding: 1rem;
    border-top: 1px solid #ddd;
    background-color: #fff;
}

.chat-input input {
    flex-grow: 1;
    border-radius: 2rem;
    border: 1px solid #ddd;
    padding: 0.5rem 1rem;
}

.chat-input button {
    margin-left: 1rem;
    border-radius: 50%;
    width: 45px;
    height: 45px;
}

.message-time {
    font-size: 12px;
}

.custom-dropdown-notifications {
    position: absolute;
    top: 100%; /* تحت الزر مباشرة */
    width: 280px;
    max-height: 320px;
    overflow: auto;
    text-align: start;
    z-index: 1050;
}

/* الوضع الإنجليزي (LTR) - تفتح شمال */
html[dir="ltr"] .custom-dropdown-notifications {
    left: 0;
    right: auto;
}

/* الوضع العربي (RTL) - تفتح يمين */
html[dir="rtl"] .custom-dropdown-notifications {
    right: 0;
    left: auto;
}

/*.active {*/
/*    background-color: #ec2029 !important;*/
/*    color: white !important;*/
/*}*/

.bg-red{
    background-color: #ec2029 !important;
    color: white !important;
}

