﻿/* Main Rules */

@import url('https://cdn-uicons.flaticon.com/2.6.0/uicons-brands/css/uicons-brands.css');
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200;300;400;500;600&display=swap');


@font-face {
    font-family: 'Cairo', sans-serif;
    src: url(../fonts/Cairo-Bold.ttf);
}


@font-face {
    font-family: 'ruaq';
    src: url('../fonts/Ruaq/RuaqArabic-Regular.ttf');
}
@font-face {
    font-family: 'theYearofHandicrafts';
    src: url('../fonts/TheYearofHandicrafts/TheYearofHandicrafts-Regular.otf');
}
*{
     font-family: 'theYearofHandicrafts' !important;
}

/*
@import url(//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css);
*/
/*
@font-face {
    font-family: Effra_Std_Rg;
    src: url(../fonts/Effra_Std_Rg.ttf);
}
*/
/** {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'ruaq';
}*/

body {
    overflow-x: hidden !important;
    direction: rtl;
    background-color: #F5F5F5 !important;
}


img {
    display: block;
}


a {
    display: block;
    text-decoration: none;
    color: var(--gray-600, #485253);
}


    a:hover {
        color: var(--gray-600, #485253);
    }


.margin-bot{
    margin-bottom:2rem !important;
}


    nav.breadcrumb ul {
        display:flex !important;
    }

        nav.breadcrumb ul li:last-child {
            color: rgba(114, 119, 119, 1);
        }
        nav.breadcrumb ul li {
            position: relative;
            padding-inline: 1rem;
            font-weight: 400;
            font-size: 16px;
            color: #406E5A
        }
            nav.breadcrumb ul li a {
                color: #406E5A
            }

            nav.breadcrumb ul li:first-child {
                color: #0B4D5B;
            }
            nav.breadcrumb ul li:first-child a {
                color: #0B4D5B;
            }
                nav.breadcrumb ul li:not(:last-child)::after {
                    content: ">";
                    top: 0;
                    left: -.25rem;
                    position: absolute;
                    padding: 0;
                    color: #406E5A;
                }
.error {
    width: 100%;
    display: block;
    color: red !important;
    font-size: 14px !important;
}

.user-account {
    position: relative;
    border-radius: 0.25rem;
    text-align: center;
    padding: 0.5rem 0.25rem !important;
    color: var(--color-green-700);
}
.topbar-user-name {
    color: #177286;
    font-weight: bold;
}

.user-account i {
    font-size: 24px
}

.form-check .form-check-input {
    border: 2px soild #bbbbbc !important;
    border-block-end-color: gray;
    border-block-start-color: gray;
    border-inline-end-color: gray;
    border-inline-start-color: gray;
    
}

.w-33 {
    width: 33% !important;

}
.stat-section-header {
    font-size : 26px!important
}

.stat-section-header, .stat-num {
    color: #177286;
    font-weight: 700 !important;
    margin-right: 20px
}

.span-title {
    width: 558px;
    flex-shrink: 0;
    color: #727777; 
    text-align: right;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 40px;
}

.text-banner {
    color: #406E5A;
}
.about-volunteers {
    background-color: #177286 !important
}

.about-volunteers h2 {
    color:white !important;
    font-weight:700
}

.about-volunteers h5 {
    color:white !important
}
.vol-text {
    color:white !important;
    font-weight :700 !important;
    font-size:12px
}
.vol-span {
    font-size: 32px !important;
    color: #177286 !important;
    font-weight:700 !important
}

.volunteer-opport h2 {
    color: #177286;
    font-weight :700 !important
}

.volunteer-opport p {
    color: #727777;
    font-weight: 700;
    line-height: 26px;
    font-size: 18px
}
.vol-opport-ul li {
    color: #333333;
    font-weight:700;
    line-height:45px
}
.vol-opport-ul {
    margin-right:17px;
    position:relative
}

.vol-opport-ul {
    list-style-type: none; /* Remove default marker */
    padding-left: 0; /* Optional: Align list items */
}

.vol-opport-li {
    position: relative;
    padding-left: 1.5em; /* Space for custom marker */
}

.vol-opport-ul li:nth-child(1)::before {
    content: "•";
    font-size: 1.5em;
    position: absolute;
    left: 102%;
    top: -1px;
    color: #177286;
}

.vol-opport-ul li:nth-child(2)::before {
    content: "•";
    font-size: 1.5em;
    color: #EAB400;
    position: absolute;
    left: 102%;
    top: 34%;
}

.vol-opport-ul li:nth-child(3)::before {
    content: "•";
    font-size: 1.5em;
    color: #177286;
    position: absolute;
    left: 102%;
    top: 67%;
}

.w-80 {
    width:80% !important;

}

.me-6 {
    margin-right :4rem !important
}

@media (min-width:320px) and (max-width:770px) {
    .breadcrumb{
        font-size:14px
    }
    .stat-section-header, .stat-num {
        color: #177286;
        font-weight: 700 !important;
        margin-right: 12px
    }

    .span-title {
        width: 558px;
        flex-shrink: 0;
        color: #727777;
        text-align: right;
        font-size: 8px;
        font-style: normal;
        font-weight: 700;
        line-height: 40px;
    }

    .stat-section-header {
        font-size: 16px !important
    }
    .file-btn-sm{
        margin:auto;
    }
    .navbar {
        margin-bottom: 42px;
    }
    .main-start-section{
        background:#fff !important;
    }
    .bg-img-sm{
        display:none !important;
    }
    .login-btn-sm p{
        font-size:small !important;
    }
 }


form-select {
    border-radius: 1rem !important;
}
.custom-content-height {
    min-height: 50vh;
    max-height: fit-content;
 
}
/*footer {
    position: absolute;
    bottom: 0;
}*/

.primary-btn {
    background: #406E5A !important;
    border-radius: 6px !important;
    color: #fff !important;
    font-weight: 500 !important;
    font-size: 16px !important;
    border: none !important;
    padding: 16px 33px !important;
    width:250px;
}

.search-container {
    background-color:#fff !important;
    margin-top:2rem ;
    border-radius:12px;
    padding:1rem 1rem;
}

.form-control, .form-select {
    border-radius: 12px !important;
    background-color: #fff;
/*    height: 36px;*/
}

label.form-label {
    font-weight:400;
    font-size:16px;
}


.btn-outline-primary-customed {
    background: transparent;
    color: var(--color-green-700);
    border-color: var(--color-green-700) !important;
}

    .btn-outline-primary-customed:hover {
        background: var(--color-green-700);
        color: var(--color-white);
    }

.btn-text-primary-customed {
    background: transparent; 
    color: var(--color-ink-700) !important;
}

    .btn-text-primary-customed:hover {
        color: var(--color-green-700);
    }
    .badge {
        display: inline-flex;
        align-items: center;
        gap: var(--space-2);
        padding: var(--space-2) var(--space-4);
        border-radius: var(--radius-pill);
        font-size: var(--text-small);
        font-weight: 500;
        line-height: 1;
    }
.badge-warning {
    background: var(--color-gold-100);
    color: var(--color-gold-700);
}

.badge-info {
    background: var(--color-cream-darker);
    color: var(--color-ink-700);
}

.badge-success {
    background: var(--color-green-100);
    color: var(--color-green-700);
}

.badge-secondary {
    background: rgba(186, 186, 186, 1);
}

.badge-danger {
    background: rgba(194, 44, 44, 0.3);
}

.badge-purple {
    background: rgba(123, 97, 166, 0.2);
    color: #5b3f8c;
}

.badge-orange {
    background: rgba(232, 146, 58, 0.25);
    color: #b35c12;
}

.custom-status-menu {
    min-width: 250px;
    border-radius: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
}

.btn-accept {
    background-color: #406E5A !important;
    color: white !important;
    border-radius: 6px !important;
    padding: 7px 24px !important;
    border: none;
    font-size: 16px;
    font-weight: 500;
}

.btn-reject {
    background-color: #C22C2C !important;
    color: white !important;
    border-radius: 6px !important;
    padding: 7px 24px !important;
    border: none;
    font-size: 16px;
    font-weight: 500;
}


/*TOOLTIP*/
.my-custom-tooltip-container {
    position: relative;
    display: inline-flex;
    vertical-align: middle;
}

.my-custom-tooltip-box {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    background-color: #ffffff;
    color: #444;
    padding: 15px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border: 1px solid #f0f0f0;
    width: 260px;
    font-size: 0.85rem;
    line-height: 1.6;
    text-align: center;
    z-index: 9999;
    pointer-events: none;
    overflow: visible;
    height: auto;
    display: block;
    top: 50%;
    left: 130%;
    transform: translateY(-50%);
    bottom: auto;
}

    .my-custom-tooltip-box::after {
        content: "";
        position: absolute;
        top: 50%;
        right: 100%; /* ليكون السهم على الحافة اليسرى للصندوق */
        margin-top: -10px; /* لتوسيط السهم عمودياً */
        /* رسم المثلث */
        border-width: 10px;
        border-style: solid;
        /* اللون الأبيض يجب أن يكون جهة اليمين ليشير لليسار */
        border-color: transparent #ffffff transparent transparent;
        left: auto; /* إلغاء أي قيم سابقة */
    }

/* الظهور عند الـ Hover */
.my-custom-tooltip-container:hover .my-custom-tooltip-box {
    visibility: visible;
    opacity: 1;
}


/*NEW STYLE*/

@font-face {
    font-family: 'Handicrafts';
    src: url('../fonts/Handicrafts/TheYearofHandicrafts-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Handicrafts';
    src: url('../fonts/Handicrafts/TheYearofHandicrafts-Medium.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Handicrafts';
    src: url('../fonts/Handicrafts/TheYearofHandicrafts-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Handicrafts';
    src: url('../fonts/Handicrafts/TheYearofHandicrafts-Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Handicrafts';
    src: url('../fonts/Handicrafts/TheYearofHandicrafts-Black.woff2') format('woff2');
    font-weight: 900;
    font-display: swap;
}

/* ============================================
   DESIGN TOKENS
   ============================================ */
:root {
    --color-green-900: #2a4a3c;
    --color-green-800: #34594a;
    --color-green-700: #406E5A;
    --color-green-500: #6a8f7e;
    --color-green-100: #e3ebe7;
    --color-gold-700: #b8983e;
    --color-gold-500: #cfb26b;
    --color-gold-300: #e3d2a3;
    --color-gold-100: #f4ecd5;
    --color-brown-500: #c09f81;
    --color-cream: #fcf3ed;
    --color-cream-darker: #f5e9dd;
    --color-white: #fcfcfc;
    --color-ink-900: #1f2a24;
    --color-ink-700: #2a4a3c;
    --color-ink-500: #5a6a62;
    --color-ink-300: #8a9a92;
    --color-line: rgba(64, 110, 90, 0.12);
    --color-line-on-dark: rgba(252, 252, 252, 0.14);
    --font-display: 'Handicrafts', 'Tajawal', system-ui, sans-serif;
    --text-display: clamp(3.5rem, 10vw, 8rem);
    --text-h1: clamp(2.25rem, 4.5vw, 3.5rem);
    --text-h2: clamp(1.625rem, 3vw, 2.25rem);
    --text-h3: clamp(1.25rem, 2vw, 1.5rem);
    --text-body-lg: 1.125rem;
    --text-body: 1rem;
    --text-small: 0.875rem;
    --text-caption: 0.75rem;
    --text-overline: 0.6875rem;
    --leading-tight: 1.15;
    --leading-snug: 1.35;
    --leading-normal: 1.6;
    --leading-relaxed: 1.85;
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.5rem;
    --space-6: 2rem;
    --space-7: 3rem;
    --space-8: 4rem;
    --space-9: 6rem;
    --space-10: 8rem;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-pill: 999px;
    --shadow-sm: 0 1px 2px rgba(31,42,36,.04), 0 1px 3px rgba(31,42,36,.06);
    --shadow-md: 0 4px 8px rgba(31,42,36,.04), 0 8px 24px rgba(31,42,36,.06);
    --shadow-lg: 0 12px 32px rgba(31,42,36,.08), 0 24px 56px rgba(31,42,36,.06);
    --shadow-gold: 0 8px 24px rgba(207,178,107,.28);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --duration-fast: 200ms;
    --duration-base: 400ms;
    --duration-slow: 700ms;
    --max-w-content: 1280px;
}

/* ============================================
   BASE
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    font-family: 'Handicrafts';
}


html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
}

body {
    margin: 0;
    font-family: var(--font-display);
    font-size: var(--text-body);
    line-height: var(--leading-normal);
    color: var(--color-ink-900);
    background: var(--color-cream);
    overflow-x: hidden;
}

img, svg {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
}

::selection {
    background: var(--color-gold-300);
    color: var(--color-ink-900);
}

/* ============================================
   UTILITY: Container & Buttons
   ============================================ */
.container {
    max-width: var(--max-w-content);
    margin-inline: auto;
    padding-inline: var(--space-5);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-6);
    font-family: inherit;
    font-size: var(--text-body);
    font-weight: 600;
    line-height: 1;
    border: 1.5px solid transparent;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all var(--duration-base) var(--ease-out);
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: -0.005em;
}

.btn__icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform var(--duration-base) var(--ease-out);
}

.btn:hover .btn__icon {
    transform: translateX(-4px);
}

.btn--primary {
    background: var(--color-gold-500);
    color: var(--color-ink-900) !important;
    box-shadow: var(--shadow-gold);
}

    .btn--primary:hover {
        background: var(--color-gold-700);
        color: var(--color-white) !important;
        transform: translateY(-2px);
    }

.btn--outline-light {
    background: transparent;
    color: var(--color-white) !important;
    border-color: rgba(252,252,252,.4);
}

    .btn--outline-light:hover {
        background: rgba(252,252,252,.08);
        border-color: var(--color-white) !important;
    }

.btn--lg {
    padding: var(--space-5) var(--space-7);
    font-size: var(--text-body-lg);
}

.primary-title {
    font-size: 36px;
    font-weight: 700;
    color: #406E5A;
}

.sub-title {
    font-size: 16px;
    font-weight: 400;
    color: #CFB26B;
}

.customed-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-6);
    font-family: var(--font-body);
    font-size: var(--text-body);
    font-weight: 600;
    line-height: 1;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all var(--duration-base) var(--ease-out);
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: -0.005em;
}

.customed-primary-btn {
    background: var(--color-green-700);
    color: var(--color-white) !important;
}


    .customed-primary-btn:hover {
        background: var(--color-green-900);
        transform: translateY(-2px);
    }
}

.upload-evidence-content {
    padding-left: 3rem;
}

.evidence-file-icon {
    color: var(--color-gold-500);
    flex-shrink: 0;
}

.page-link {
    position: relative;
    display: block;
    color: #406E5A !important;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #dee2e6;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}