﻿/*🎨 Primary Palette

Navy Blue var(--color-primary) → strong, professional, trustworthy (main header/nav background)

Emerald Green #2E7D5F → money/wealth association (accents, buttons)

Cool Gray var(--color-gray) → clean background, modern feel

White #FFFFFF → main content background for clarity

🎨 Secondary Accents

Gold var(--color-gold) → luxury, prosperity (highlight numbers, key CTAs)

Dark Charcoal var(--color-dark) → text color for good readability*/

/*Link Blue #1565C0 (hover: #0D47A1)

Danger Red #C62828

Warning Orange #EF6C00*/



body {
    min-height: 100vh;
    max-height: 100vh;
    height: 100vh;
    position: relative;
    overflow: hidden;
    overflow-y: auto;
}
.bg-img {
    background-image: url('../../images/bg2.jpg');
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: -1;
    opacity: .1;
}
.app-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.custom-navbar {
    position: relative;
}

.main-menu-container-web {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    width: 100%;
    /*    background-color: var(--color-dark);*/
    background-color: var(--color-primary);
    padding: 4px;
}

.main-menu-wrapper,
.user-section {
    /*    flex: 1 1 0;*/
    display: flex;
    align-items: center;
}

.site-logo {
    flex: 0 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-content: center;
    margin: 0;
    font-family: "Aref Ruqaa", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 30px;
    color: #FFFFF0;
    text-align: center;
    /*    padding-right:8px;*/
    /*    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;*/
    pointer-events: none; /* So clicks pass through if needed */
}

    .site-logo span {
        color: var(--color-button);
        margin-right:4px;

    }

    .site-logo img {
        width: 50px;
        margin-left: 4px
    }

.main-menu-wrapper {
    justify-content: flex-start;
}

.user-section {
    justify-content: flex-end;
}

.main-menu {
    color: white;
    text-align: center;
}

    .main-menu li {
        margin: 0 16px;
    }

        .main-menu li:first-child {
            margin-right: 0;
        }

        .main-menu li a {
            color: #FFFFF0;
            font-size: 14px;
            text-decoration: none;
        }

        .main-menu li:last-child {
            margin-right: auto;
        }

.user-container {
    cursor: pointer;
    font-size: 12px;
}

.user-info-box {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    color: var(--color-button);
}

.user-container img {
    width: 35px;
    margin: 0 16px 0 8px;
}

.user-info-data {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    color: var(--color-bg-secondary);
}

.user-actions-box {
    position: absolute;
    left: 8px;
    top: 58px;
    /*    width: 450px;*/
    background-color: var(--color-primary);
    border: 1px solid var(--color-gray);
    border-radius: 8px;
    color: var(--color-bg-secondary);
    box-shadow: 4px 18px 23px -19px rgba(0,0,0,0.75);
    -webkit-box-shadow: 4px 18px 23px -19px rgba(0,0,0,0.75);
    -moz-box-shadow: 4px 18px 23px -19px rgba(0,0,0,0.75);
    max-height: 500px;
    overflow:hidden;
    transition: max-height 400ms ease-in-out;
}

    .user-actions-box.hide {
        opacity: 0;
        pointer-events: none;
        max-height: 0px;
        transition: max-height 400ms ease-in-out, opacity 10ms ease-in-out 400ms;
    }

    .user-actions-box ul {
        list-style: none; /* remove bullets */
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column; /* vertical layout */
        gap: 12px; /* space between items */
        color: var(--color-gray);
        margin:8px 0px;
    }

        .user-actions-box ul li {
            display: flex;
            align-items: center;
            justify-content: flex-start;
            gap: 10px; /* space between icon and text */
            padding: 10px 12px;
            border-bottom: 1px solid var(--color-bg-secondary);
            ; /* gray separator */
            cursor: pointer;
            transition: background-color 0.2s ease;
            color: var(--color-gray);
            padding: 8px 32px;
        }

            .user-actions-box ul li:last-child {
                border-bottom: none; /* remove line after last item */
            }

            .user-actions-box ul li:hover {
            }

            .user-actions-box ul li span {
                font-size: 15px;
                color: var(--color-gray);
            }

                .user-actions-box ul li span i {
                    font-size: 15px;
                    color: var(--color-gray);
                }

                .user-actions-box ul li span form a, .user-actions-box ul li  a {
                    font-size: 15px;
                    color: var(--color-gray);
                    text-decoration: none;
                }

                .user-actions-box ul li span a {
                    font-size: 15px;
                    color: var(--color-gray);
                    text-decoration: none;
                }

            /* optional: make icons slightly tinted */
            .user-actions-box ul li i {
                color: #666;
                font-size: 16px;
            }



.main-menu-container-mob {
    display: none;
}

.menu-box-mob {
    display: none;
}

.main-container {
    flex: 1;
    display: flex;
    flex-direction: row;
    width: 100%;
    /*    min-height: 100%;*/
    /*    height: 100%;*/
    /*    max-height: 100%;*/
    /*    overflow-y: auto;*/
    justify-content: flex-start;
    align-items: flex-start;
}

.side-menu {
    min-height: 100%;
    background-color: #f1f1e0;
    width: 20vw;
    /*    border-left: 1px solid #D4B483;*/
}

.user-menu {
    /*    background-color: red;*/
    min-height: 100%;
    max-height: 100%;
    height: 100%;
}

.user-menu-header {
    display: flex;
    flex-direction: column;
    background-color: var(--color-primary);
    padding: 8px 16px;
    margin-bottom: 32px;
}

.user-menu-header-first-row {
    display: flex;
    flex-direction: row;
    margin-bottom: 32px;
    justify-content: space-between;
}

.site-logo-user-menu {
    font-family: "Aref Ruqaa", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 30px !important;
    color: #FADA5E;
    line-height: 24px
}

.user-menu-actions-close img {
    width: 20px;
}

.user-menu-box-header-second-row {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 32px;
    color: #F1F3F2;
    font-size: 12px
}

    .user-menu-box-header-second-row img {
        width: 80px;
        margin-left: 16px;
    }

.user-menu-mob-body {
}

    .user-menu-mob-body ul {
        list-style: none;
        padding: 0;
        margin: 0;
        overflow: hidden;
    }

        .user-menu-mob-body ul li {
            width: 100%;
            padding: 0;
            margin: 0;
            display: flex;
            justify-content: flex-start;
            align-items: center;
            padding: 8px;
            transition: all ease 500ms;
        }

            .user-menu-mob-body ul li:hover {
                background-color: var(--color-primary);
                transition: all ease 500ms;
            }

                .user-menu-mob-body ul li:hover a, .user-menu-mob-body ul li:hover a:hover {
                    color: white;
                    transition: all ease 500ms;
                }

            .user-menu-mob-body ul li img {
                width: 35px;
            }

            .user-menu-mob-body ul li:not(:last-child) {
                /*        border-bottom: 1px solid #3C6E47;*/
            }

            .user-menu-mob-body ul li a,
            .user-menu-mob-body ul li form a {
                display: block;
                width: 100%;
                padding: 16px 20px;
                color: #333333;
                text-decoration: none;
                font-size: 1.1rem;
                background: transparent;
                transition: background 0.2s, color 0.2s;
            }

                .user-menu-mob-body ul li a:hover,
                .user-menu-mob-body ul li form a:hover {
                    /*                        background: #f5f5f5;*/
                    color: #333333;
                    text-decoration: none;
                    border-radius: 0;
                }

            .user-menu-mob-body ul li form {
                margin: 0;
                padding: 0;
            }

.main-body {
    flex: 1 1 auto;
    width: 100%;
    height: max-content;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    margin: 32px 8px;
    background-color: white;
    border-radius: 24px;
    box-shadow: 20px 29px 22px -32px rgba(0,0,0,0.75);
    -webkit-box-shadow: 20px 29px 22px -32px rgba(0,0,0,0.75);
    -moz-box-shadow: 20px 29px 22px -32px rgba(0,0,0,0.75);
    padding: 24px 8px;
}

.mian-footer {
    /*    background-color: red;*/
    text-align: center;
    margin-top: auto;
    font-size: 12px;
    border-top: 1px solid black;
    /*    flex: 1 1 auto;*/
}

.menu-down-angle {
    color: var(--color-gray);
    padding: 16px;
    font-size: 18px;
    line-height: 0;
}


.body-menu-box{
    padding-right:8px;
  display:flex;
  flex-direction:row;
  justify-content:flex-start;
  align-items:center;
  width:100%;
  gap:16px;
  margin-bottom:32px
/*  background-color:red;*/

}
.body-menu-item, .body-menu-item:hover, .body-menu-item:active {
    text-decoration: none;
    color: var(--color-accent);
}
  
.body-menu-item-login, .body-menu-item-login:hover, .body-menu-item-login:active {
    background-color: var(--color-primary);
    color: var(--color-bg-secondary);
    padding: 8px;
    border-radius: 8px
}

.body-menu-item-last {
    margin-right: auto;
    margin-left: 8px;
}
.goto-img {
    width: 30px;
    margin-right: auto;
    margin-left: 4px;
    align-self: flex-end;
    /*    margin-left: 24px*/
}






/*CHECKBOX ========================================>*/



.checkbox-wrapper {
    display: flex;
/*    flex-direction: row-reverse;*/
    justify-content: flex-start;
    align-items: flex-start;
}
.checkbox-wrapper-12 {
    position: relative;
    display: flex;
/*    background-color: red;*/
    justify-content: flex-start;
    align-items: flex-start;
/*    width: 50px;*/
margin: 0 8px;
}

.checkbox-wrapper-12 > svg {
    position: absolute;
    top: -130%;
    right: -170%;
    width: 110px;
    pointer-events: none;
}

.checkbox-wrapper-12 * {
    box-sizing: border-box;
}

.checkbox-wrapper-12 input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
    margin: 0;
}

    .checkbox-wrapper-12 input[type="checkbox"]:focus {
        outline: 0;
    }

    .checkbox-wrapper-12 .cbx {
        width: 24px;
        height: 24px;
        top: calc(50vh - 12px);
        right: calc(50vw - 12px);
    }

        .checkbox-wrapper-12 .cbx input {
            position: absolute;
            top: 0;
            right: 0;
            width: 24px;
            height: 24px;
            border: 2px solid #bfbfc0;
            border-radius: 50%;
        }

        .checkbox-wrapper-12 .cbx label {
            width: 24px;
            height: 24px;
            background: none;
            border-radius: 50%;
            position: absolute;
            top: 0;
            right: 0;
            -webkit-filter: url("#goo-12");
            filter: url("#goo-12");
            transform: trasnlate3d(0, 0, 0);
            pointer-events: none;
        }

        .checkbox-wrapper-12 .cbx svg {
            position: absolute;
            top: 5px;
            right: 4px;
            z-index: 1;
            pointer-events: none;
        }

        .checkbox-wrapper-12 .cbx svg path {
            stroke: #fff;
            stroke-width: 3;
            stroke-linecap: round;
            stroke-linejoin: round;
            stroke-dasharray: 19;
            stroke-dashoffset: 19;
            transition: stroke-dashoffset 0.3s ease;
            transition-delay: 0.2s;
        }

    .checkbox-wrapper-12 .cbx input:checked + label {
        animation: splash-12 0.6s ease forwards;
    }

        .checkbox-wrapper-12 .cbx input:checked + label + svg path {
            stroke-dashoffset: 0;
        }

@-moz-keyframes splash-12 {
    40% {
        background: var(--color-success);
        box-shadow: 0 -18px 0 -8px var(--color-success), 16px -8px 0 -8px var(--color-success), 16px 8px 0 -8px var(--color-success), 0 18px 0 -8px var(--color-success), -16px 8px 0 -8px var(--color-success), -16px -8px 0 -8px var(--color-success);
    }

    100% {
        background: var(--color-success);
        box-shadow: 0 -36px 0 -10px transparent, 32px -16px 0 -10px transparent, 32px 16px 0 -10px transparent, 0 36px 0 -10px transparent, -32px 16px 0 -10px transparent, -32px -16px 0 -10px transparent;
    }
}

@-webkit-keyframes splash-12 {
    40% {
        background: var(--color-success);
        box-shadow: 0 -18px 0 -8px var(--color-success), 16px -8px 0 -8px var(--color-success), 16px 8px 0 -8px var(--color-success), 0 18px 0 -8px var(--color-success), -16px 8px 0 -8px var(--color-success), -16px -8px 0 -8px var(--color-success);
    }

    100% {
        background: var(--color-success);
        box-shadow: 0 -36px 0 -10px transparent, 32px -16px 0 -10px transparent, 32px 16px 0 -10px transparent, 0 36px 0 -10px transparent, -32px 16px 0 -10px transparent, -32px -16px 0 -10px transparent;
    }
}

@-o-keyframes splash-12 {
    40% {
        background: var(--color-success);
        box-shadow: 0 -18px 0 -8px var(--color-success), 16px -8px 0 -8px var(--color-success), 16px 8px 0 -8px var(--color-success), 0 18px 0 -8px var(--color-success), -16px 8px 0 -8px var(--color-success), -16px -8px 0 -8px var(--color-success);
    }

    100% {
        background: var(--color-success);
        box-shadow: 0 -36px 0 -10px transparent, 32px -16px 0 -10px transparent, 32px 16px 0 -10px transparent, 0 36px 0 -10px transparent, -32px 16px 0 -10px transparent, -32px -16px 0 -10px transparent;
    }
}

@keyframes splash-12 {
    40% {
        background: var(--color-success);
        box-shadow: 0 -18px 0 -8px var(--color-success), 16px -8px 0 -8px var(--color-success), 16px 8px 0 -8px var(--color-success), 0 18px 0 -8px var(--color-success), -16px 8px 0 -8px var(--color-success), -16px -8px 0 -8px var(--color-success);
    }

    100% {
        background: var(--color-success);
        box-shadow: 0 -36px 0 -10px transparent, 32px -16px 0 -10px transparent, 32px 16px 0 -10px transparent, 0 36px 0 -10px transparent, -32px 16px 0 -10px transparent, -32px -16px 0 -10px transparent;
    }
}

.hint-message {
    background-color: var(--color-warning);
    width:100%;
    text-align:center;
    padding:8px;
    color:white;
    font-size:12px;
}

    .hint-message a {
        color:white;
        padding:0 4px;
    }


    @media (max-width: 991px) {
/*        .main-body {
        padding: 24px 8px;
    }*/

    .site-logo {
        right: 0%;
    }

    .main-menu-container-mob {
        display: flex !important;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        position: relative;
        width: 100%;
        background-color: var(--color-dark);
        padding: 16px 8px;
        display: block;
    }

    .toggle-menu {
        margin-left: auto;
        cursor: pointer;
        z-index: 2;
    }

        .toggle-menu img {
            width: 20px;
        }

    .site-logo-mob {
        flex: 0 0 auto;
        margin: 0;
        font-family: "Aref Ruqaa", serif;
        font-weight: 400;
        font-style: normal;
        font-size: 20px !important;
        color: #FFFFF0;
        text-align: center;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: 50%;
        transform: translate(-50%, -50%);
        z-index: 1;
        pointer-events: none;
    }

    .user-container-mob {
    }

    .menu-box-mob {
        background-color: #FAFAF7;
        /*background-color:#D4B483;*/
        position: absolute;
        z-index: 1000000000000;
        min-width: 100vw;
        max-width: 100vw;
        min-width: 100vw;
        min-height: 100vh;
        max-height: 100vh;
        height: 100vh;
        top: 0;
        right: -100%;
        display: flex;
        flex-direction: column;
        transition: right ease-in-out 200ms
    }

    .menu-box-mob-show {
        right: 0;
        transition: right ease-in-out 200ms
    }

    .menu-mob-header {
        display: flex;
        flex-direction: column;
        background-color: #3C6E47;
        padding: 8px 16px;
        margin-bottom: 32px;
    }

    .menu-box-header-first-row {
        display: flex;
        flex-direction: row;
        margin-bottom: 32px;
        justify-content: space-between;
    }

    .site-logo-mob-menu {
        font-family: "Aref Ruqaa", serif;
        font-weight: 400;
        font-style: normal;
        font-size: 30px !important;
        color: #FADA5E;
        line-height: 24px
    }

    .user-actions-close img {
        width: 20px;
    }

    .menu-box-header-second-row {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        margin-bottom: 32px;
        color: #F1F3F2
    }

        .menu-box-header-second-row img {
            width: 80px;
            margin-left: 16px;
        }

    .menu-box-header-second-user-data-box {
    }

    .menu-mob-user-info-name {
    }

    .menu-mob-body {
    }

        .menu-mob-body ul {
            list-style: none;
            padding: 0;
            margin: 0;
            overflow: hidden;
        }

            .menu-mob-body ul li {
                width: 100%;
                padding: 0;
                margin: 0;
            }

                .menu-mob-body ul li:not(:last-child) {
                    border-bottom: 1px solid #fada5ead;
                }

                .menu-mob-body ul li a,
                .menu-mob-body ul li form a {
                    display: block;
                    width: 100%;
                    padding: 16px 20px;
                    color: #333333;
                    text-decoration: none;
                    font-size: 1.1rem;
                    background: transparent;
                    transition: background 0.2s, color 0.2s;
                }

                    .menu-mob-body ul li a:hover,
                    .menu-mob-body ul li form a:hover {
                        /*                        background: #f5f5f5;*/
                        color: #333333;
                        text-decoration: none;
                        border-radius: 0;
                    }

                .menu-mob-body ul li form {
                    margin: 0;
                    padding: 0;
                }


    .side-menu {
        display: none;
    }
}
@media (min-width: 1024px) {
    .main-body {
        margin: 24px 200px;
    }
    }