/* START INDEX PAGE CSS  */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {

    --primary-color: #c5a06e;
    --secondary-color: #dbcbb8;
    --text-color: rgba(134, 112, 74, 1);
    --bg-color: #fff;
    --sidebar-bg: #f9f4ec;
    --hover-color: rgba(110, 74, 135, 1);



    --main-font: 'Manrope', sans-serif;
    --alt-font: 'Manrope', sans-serif;
}

body {
    font-family: var(--main-font);
    color: var(--text-color);
    background-position: left top;
}

.container {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 300px;
    display: flex;
    flex-direction: column;
    padding: 60px 0px 70px;
    border-right: 0.1px solid rgba(134, 112, 74, 1);
    transition: transform 0.3s ease;
    z-index: 999;
    padding-bottom: 20px !important;
}

.sidebar-nav {
    position: relative;
}

label span.optional_note {
	font-size:14px;
	font-style:italic;
	color:#825b9d;
}

.sidebar-logo img {
    max-width: 220px;
    height: auto;
}

.sidebar-nav ul {
    list-style: none;
    padding-left: 0;
}

.sidebar-nav ul li {
    margin-bottom: 0px;
}

.has-submenu {
    position: relative;
}

.submenu-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 16px;
    color: var(--text-color);
    padding: 25px 50px;
    transition: color 0.3s ease;
    letter-spacing: 1px;
    padding: 25px 50px 10px 50px !important;
}

.submenu-toggle:hover {
    color: var(--hover-color);
}

.submenu-toggle .arrow {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.submenu {
    list-style: none;
    padding-left: 50px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.submenu li {
    margin-bottom: 0;
}

.submenu li a {
    text-decoration: none;
    color: var(--text-color);
    padding: 10px 50px;
    transition: color 0.2s ease;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.submenu li a:hover {
    color: var(--hover-color);
}


.has-submenu.open .submenu {
    max-height: 400px;
    padding-bottom: 10px;
}

.has-submenu.open .arrow {
    transform: rotate(180deg);
}

.submenu-toggle-2[data-active="true"]::after,
.submenu-toggle-3[data-active="true"]::after {
    content: "";
    position: absolute;
    right: 53px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: radial-gradient(55.56% 66.67% at 50% 22.22%, #C6AAD9 0%, #775A8B 100%);
    border-radius: 50%;
}

.sidebar-nav ul li a.active {
    color: var(--hover-color);
    position: relative;
}

.sidebar-nav ul li.open>.submenu {
    display: block !important;
}

.submenu-toggle-2,
.submenu-toggle-3 {
    position: relative;
    padding-right: 20px;
}


.has-submenu-2 {
    position: relative;
}

.submenu-2 {
    list-style: none;
    padding-left: 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.has-submenu-2.open .submenu-2 {
    max-height: 300px;
}

.submenu-3 {
    list-style: none;
    padding-left: 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.submenu-2 li {
    margin: 0px 0px 0px 50px;
    border-left: 0.1px solid rgba(134, 112, 74, 0.75);
}

.submenu-3 li {

    margin: 0px 0px 0px 35px;
    border-left: 0.1px solid rgba(134, 112, 74, 0.75);
}

.submenu-2 li a {
    padding: 10px 30px;
    font-size: 13px;
}

.submenu-3 li a {
    padding: 10px 20px;
    font-size: 13px;
}

.has-submenu-3.open .submenu-3 {
    max-height: 300px;
}


.li-1 {
    border-bottom: 0.1px solid rgba(134, 112, 74, 0.75);
}

.li-2 {
    border-top: 0.1px solid rgba(134, 112, 74, 0.75);
    border-bottom: 0.7px solid rgba(134, 112, 74, 0.75);
}

.li-3 {
    border-bottom: 0.1px solid rgba(134, 112, 74, 0.75);
}

.sidebar-logout a {
    display: block;
    text-decoration: none;
    color: var(--text-color);
    padding: 28px 50px;
    text-align: left;
    font-weight: 600;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sidebar-logout a:hover {
    color: var(--hover-color);
}

.sidebar.open {
    transform: translateX(0);
}


.main-content {
    padding: 10px 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: auto;
}

.top-header {
    background-color: transparent;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.top-left {
    display: flex;
    align-items: center;
}

.top-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.welcome-text {
    font-size: 16px;
    font-weight: 500;
    font-family: var(--alt-font);
    color: var(--text-color);

}

.top-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.top-nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.2s ease;
    font-family: var(--alt-font);
    font-size: 16px;
}

.top-nav ul li a:hover {
    color: var(--hover-color);
}

/* START NOTIFICATIONS CSS --------------  */

.notification-item {
    position: relative;
    display: inline-block;
}

.notif-toggle {
    display: none;
}

.notification-icon {
    position: relative;
    display: inline-block;
    cursor: pointer;
    font-size: 16px;
    background-color: transparent;
    border: none;
    color: #86704a;
}

.notification-dot {
    position: absolute;
    top: 2px;
    right: -1px;
    width: 8px;
    height: 8px;
    background-color: rgba(247, 116, 116, 1);
    border-radius: 50%;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
    border: 2px solid #e2d9c8;
}

.notification-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 300px;
    background-color: rgba(255, 251, 244, 1);
    border-radius: 4px 0 4px 4px;
    display: none;
    z-index: 999;
    font-family: var(--main-font);
    padding: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.notif-toggle:checked+.notification-icon+.notification-dropdown {
    display: block;
}

.notif-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--hover-color);
    padding-bottom: 8px;
    margin-bottom: 8px;
}

.notif-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--hover-color);
}

.notif-mark-all-read {
    font-size: 13px;
    color: var(--main-font);
    text-decoration: none;
    cursor: pointer;
    font-weight: 500;
}

.notif-mark-all-read:hover {
    text-decoration: underline;
}

.notif-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 300px;
    overflow-y: auto;
    flex-direction: column;
    gap: 0px !important;
}

.notif-list li {
    padding: 12px 10px 12px 0px;
    border-bottom: 1px solid var(--request-card-border);
    position: relative;
    display: flex;
    justify-content: space-between;
}

.notif-list li:last-child {
    border-bottom: none;
}

.notif-row {
    display: flex;
    flex-direction: column;
}

.notif-user {
    font-size: 13px;
    font-weight: 700;
    color: var(--data-color);
    margin-bottom: 4px;
}

.notif-text {
    font-size: 12px;
    color: var(--data-color);
    font-weight: 600;
}

.notif-time {
    font-size: 12px;
    color: var(--text-color);
}

.notif-close {
    font-size: 16px;
    color: rgba(219, 130, 130, 1);
    cursor: pointer;
    text-align: right;
}

.notif-list li:hover {
    background-color: #fafafa;
}

.notif-footer {
    border-top: 1px solid var(--request-card-border);
    padding-top: 8px;
    text-align: left;
    margin-top: 8px;
}

.notif-view-all {
    font-size: 14px;
    color: var(--hover-color) !important;
    text-decoration: none;
    font-weight: 700 !important;
}

.notif-view-all:hover {
    text-decoration: underline;
}

.notification-item:focus-within .notification-dropdown {
    display: block;
}

.notification-item:focus-within .notification-icon i {
    color: #6a4b8f;
}

@media (min-width:300px) and (max-width: 600px) {
    .notification-dropdown {
        right: -150px;
    }
}

/* END NOTIFICATIONS CSS --------------  */

.sidebar-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    font-size: 35px;
}

.dashboard {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px;
}

.card-info h3 {
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 600;
}

.card {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 90%;
    border-radius: 16px;
    transition: box-shadow 0.2s ease;
    -webkit-border-radius: 16px;
    -moz-border-radius: 16px;
    -ms-border-radius: 16px;
    -o-border-radius: 16px;
    transition: 0.3s ease all;
    -webkit-transition: 0.3s ease all;
    -moz-transition: 0.3s ease all;
    -ms-transition: 0.3s ease all;
    -o-transition: 0.3s ease all;
}

.card img {
    display: block;
    border-radius: 16px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-border-radius: 16px;
    -moz-border-radius: 16px;
    -ms-border-radius: 16px;
    -o-border-radius: 16px;

}

.card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 110%;
    background: linear-gradient(0deg,
            rgba(110, 74, 135, 0.95) 0%,
            rgba(110, 74, 135, 0.65) 30%,
            rgba(110, 74, 135, 0.30) 65%,
            rgba(110, 74, 135, 0.00) 100%);
    transform: translateY(100%);
    transition: transform .45s cubic-bezier(.2, .9, .25, 1);
    pointer-events: none;
}

.card-info:has(.card:hover) h3 {
    color: #6e4a87;
    z-index: 1;
}

.request-dashboard .card-info:has(.card:hover) h3 {
    color: #ffffff;
}

.card:hover::after {
    transform: translateY(0);
}


.recent-requests {
    padding: 20px;
}

.recent-requests h2 {
    margin-bottom: 20px;
    color: var(--text-color);
    font-family: var(--alt-font);
    font-weight: 600;
    font-size: 20px;
}

.recent-requests table {
    width: 100%;
    border-collapse: collapse;
    background-color: transparent;
    border-radius: 8px;
    overflow: hidden;
}

.table-info {
    border: 0.1px solid rgba(134, 112, 74, 0.75);
    padding: 0px 40px;
    border-radius: 16px;
    -webkit-border-radius: 16px;
    -moz-border-radius: 16px;
    -ms-border-radius: 16px;
    -o-border-radius: 16px;
}

.recent-requests table thead {
    background-color: transparent;
}

.recent-requests table thead th {
    padding: 10px;
    text-align: left;
    font-weight: 600;
    color: var(--text-color);
    font-size: 14px;
}

.recent-requests table tbody td {
    padding: 24px 10px;
    border-top: 0.1px solid rgba(134, 112, 74, 0.75);
    color: rgba(0, 0, 0, 1);
	    font-size: 14px;

}

.amount-requested {
    text-align: center !important;
}

.amount-approved {
    text-align: center !important;
}

.request-status {
    text-align: center !important;
}

.view-request {
    text-decoration: none;
    font-size: 14px;
    color: var(--text-color);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.status {
    font-weight: 700;
}

.requested {
    background-color: rgba(232, 213, 244, 1);
    padding: 5px 7px;
    border-radius: 5px;
	font-size:13px !important;
}

.approved {
    background-color: rgba(172, 231, 193, 1);
    padding: 5px 7px;
    border-radius: 5px;
	font-size:13px !important;
}

.rejected {
    background-color: rgba(219, 130, 130, 1);
    padding: 10px 15px;
    border-radius: 5px;
    color: #fff;
}

.view-all {
    text-align: right;
    text-decoration: none;
    float: right;
    color: var(--hover-color);
    font-size: 16px;
    margin-top: 15px;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    transition: color 0.3s ease-in-out;
    -webkit-transition: color 0.3s ease-in-out;
    -moz-transition: color 0.3s ease-in-out;
    -ms-transition: color 0.3s ease-in-out;
    -o-transition: color 0.3s ease-in-out;
}

.view-all:hover {
    color: var(--text-color);
}

.footer {
    margin-top: auto;
    background-color: transparent;
    padding: 10px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-color);
    margin: 0 5px;
    font-size: 14px;
    font-weight: 500;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-links {
    margin-bottom: 10px;
}

.ar-text {
    font-family: 'Tajawal' !important;
}

@media (min-width: 500px) {
    .footer-links {
        margin-bottom: 0;
    }
}



.copyright {
    color: var(--text-color);
    font-size: 14px;
    font-weight: 500;
}

@media screen and (max-width: 1199px) {
    .main-content {
        padding: 20px;
    }
}

@media screen and (max-width: 992px) {
    .dashboard {
        grid-template-columns: repeat(2, 1fr);
    }

    .main-content {
        padding: 0;
    }

    .table-info {
        padding: 0;
    }
}

@media screen and (max-width: 1124px) {
    .dashboard {
        grid-template-columns: repeat(2, 1fr);
    }

    .main-content {
        padding: 0;
    }

    .sidebar-logo img {
        max-width: 180px;
        height: auto;
    }

    .top-nav ul {
        display: flex;
    }

    .sidebar-toggle {
        display: block;
        color: #000;
    }

    .table-info {
        padding: 0;
    }
}

@media screen and (max-width: 1124px) {
    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        transform: translateX(-100%);
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
        z-index: 1100;
        transition: transform 0.3s ease;
    }

    .sidebar.open {
        transform: translateX(0);
        background-color: #e1d9c8;
    }

    body:has(.sidebar.open)::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.45);
        z-index: 1000;
        pointer-events: none !important;
    }

    .sidebar {
        pointer-events: auto !important;
    }

    body:has(.sidebar.open)::before {
        cursor: pointer;
    }

    .main-content {
        margin-left: 0;
    }

    .top-header {
        justify-content: space-between;
    }

    .table-info {
        padding: 0;
    }
}


@media (min-width: 820px) and (max-width: 920px) {
    .sidebar-logo img {
        max-width: 200px;
        padding: 15px;
    }
}

@media screen and (max-width: 768px) {
    .dashboard {
        grid-template-columns: repeat(2, 1fr);
        padding: 20px;
    }
}

@media screen and (max-width: 576px) {
    .dashboard {
        grid-template-columns: 1fr;
        padding: 10px;
    }

    .card-info h3 {
        font-size: 18px;
    }

    .card {
        border-radius: 20px;
    }

    .card img {
        border-radius: 12px;
    }
}

@media screen and (max-width: 576px) {
    .recent-requests h2 {
        font-size: 20px;
    }

    .recent-requests table thead th,
    .recent-requests table tbody td {
        padding: 12px 10px;
        font-size: 14px;
    }

    .table-info {
        overflow-x: auto;
    }
}

/* END INDEX PAGE CSS  */


/* -------------------------------------------------------------------------------------- */


/* START LOADER CSS */

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.spinner {
    position: relative;
    width: 120px;
    height: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.spinner div {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: rgba(250, 232, 191, 1);
    animation: bounce 1.5s infinite ease-in-out, colorChange 3s infinite ease-in-out;
    position: absolute;
}

.spinner div:nth-child(1) {
    animation-delay: 0s;
    left: 0;
}

.spinner div:nth-child(2) {
    animation-delay: 0.2s;
    left: 30px;
}

.spinner div:nth-child(3) {
    animation-delay: 0.4s;
    left: 60px;
}

.spinner div:nth-child(4) {
    animation-delay: 0.6s;
    left: 90px;
}

.spinner div:nth-child(5) {
    animation-delay: 0.8s;
    left: 120px;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes colorChange {
    0% {
        background-color: rgba(96, 81, 55, 1);
    }

    25% {
        background-color: rgba(250, 232, 191, 1);
    }

    50% {
        background-color: rgba(96, 81, 55, 1);
    }

    75% {
        background-color: rgba(250, 232, 191, 1);
    }

    100% {
        background-color: rgba(96, 81, 55, 1);
    }
}

/* END LOADER CSS */


/* -------------------------------------------------------------------------------------- */


/* START LOGIN PAGE CSS  */

/* ==========================
  Login layout — simple & natural
  - NO position: fixed
  - NO display: flex
  - Centering using margin: auto
  - Logo stable in place
  ========================== */

.login-body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 1fr;
    width: 100%;
    background: none;
    font-family: var(--main-font);
}

.login-left,
.login-right {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-sizing: border-box;
    display: grid;
    place-items: center;
}

.login-left {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

.login-right {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    position: relative;
}


.login-right .login-logo {
    display: block;
    width: 260px;
    margin: 60px auto 30px;
    box-sizing: border-box;
    z-index: 5;
}

.login-right .login-logo img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 60px;
}

.login-container {
    max-width: 420px !important;
    width: 100%;
    padding: 20px !important;
    box-sizing: border-box;
    text-align: center;
    margin: auto;
    background: transparent;
    z-index: 4;
    margin-top: 40px;
	margin-bottom:40px;
}

@media (min-width: 1400px) {
    .login-container {
        max-width: 480px;
    }
}

@media (max-width: 900px) {
    .login-body {
        grid-template-columns: 1fr;
    }

    .login-right {
        grid-column: 1 / -1;
        min-height: 100vh;
        position: relative;
        display: grid;
        place-items: center;
    }

    .login-left {
        display: none;
    }

    .login-right .login-logo {
        position: absolute;
        top: 40px;
        left: 50%;
        transform: translateX(-50%);
        width: 260px;
        margin: 0;
        z-index: 10;
    }

    .login-container {
        max-width: 92%;
        padding: 12px;
        margin: 0 auto;
    }

    .login-right .inputs-row {
        gap: 0;
        justify-content: space-between;
    }
}

.login-left,
.login-right {
    pointer-events: auto;
}

.login-container,
.login-container * {
    pointer-events: auto;
}

.uae-pass {
    background-color: #000;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
	padding:5px;
	overflow:hidden;
}

.login-input-group {
    position: relative;
    margin-bottom: 15px;
    font-family: var(--main-font);
}

.login-input-group label {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    font-size: 16px;
    color: rgba(40, 40, 40, 1);
    font-family: var(--main-font);
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    pointer-events: none;
}

.login-input-group input {
    width: 100%;
    padding: 15px;
    padding-left: 10px;
    margin-top: 5px;
    border: 1px solid rgba(223, 206, 168, 1);
    border-radius: 3px;
    font-size: 14px;
    background-color: rgba(223, 206, 168, 1);
    transition: all 0.3s ease;
    position: relative;
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-family: var(--main-font);
    bottom: 7px;
    position: relative;
}

.login-options a {
    font-size: 13px;
    color: rgba(250, 232, 191, 1);
    text-decoration: none;
    letter-spacing: 0.3px;
}

.login-options label {
    font-size: 13px;
    color: rgba(250, 232, 191, 1);
    font-family: var(--main-font);
}

.login-options a:hover {
    text-decoration: underline;
}

.login-btn {
    width: 100%;
    padding: 12px;
    background-color: rgba(110, 74, 135, 1);
    color: rgba(255, 239, 202, 1);
    border: none;
    border-radius: 3px;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -ms-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
    font-size: 16px;
    font-family: var(--main-font);
    letter-spacing: 1px;
    font-weight: 500;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
}

.login-btn:hover {
    background-color: rgb(91, 59, 114);
}


.login-input-group input:focus {
    border-color: rgba(110, 74, 135, 1);
    outline: none;
}

.login-input-group input:focus+label,
.login-input-group input:not(:placeholder-shown)+label {
    top: -10px;
    left: 2px;
    font-size: 12px;
    color: rgba(223, 206, 168, 1);
    margin-top: 5px;
    font-weight: 500;
}

.login-input-group input:placeholder-shown+label {
    color: transparent;
}


.login-input-group input:hover+label,
.login-input-group input:focus+label,
.login-input-group input:not(:placeholder-shown)+label {
    top: -10px;
    left: 2px;
    font-size: 12px;
    color: rgba(223, 206, 168, 1);
    margin-top: 5px;
    font-weight: 500;
}


.login-input-group input::placeholder {
    color: rgba(40, 40, 40, 1);
}

.reset-yourpassword {
    text-decoration: none;
    color: #FFEFCA;
    width: 100%;
    display: block;
    height: 100%;
}

.uae-pass-btn {
    width: 100%;
    border-radius: 3px;
    cursor: pointer;
    text-align: center;
    background-color: #000;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
}

.uae-pass-btn img {
    max-width: 100%;
    border-radius: 3px;
}

.uae-pass-btn:hover {
    opacity: 0.9;
}

.error-message {
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 12px 16px;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
    font-size: 14px;
    margin: 10px 0;
}


.or-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
}

.login-title {
    font-size: 15px;
    color: rgba(250, 232, 191, 1);
    padding-bottom: 28px;
}

.or-line {
    flex: 1;
    height: 1px;
    background-color: rgba(200, 178, 129, 1);
}

.or-text {
    padding: 0 5px;
    font-size: 15px;
    color: rgba(255, 239, 202, 1);
    font-family: var(--main-font);
    letter-spacing: 1px;
    font-weight: 500
}

input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background-color: rgba(96, 81, 55, 1);
    border: 1.5px solid rgba(250, 232, 191, 1);
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    top: 3px;
    margin-right: 3px;
}

input[type="checkbox"]:checked {
    background-color: rgba(96, 81, 55, 1);
    border: 1px solid rgba(250, 232, 191, 1);
}

input[type="checkbox"]:checked::after {
    content: '\2713';
    color: #fff;
    position: absolute;
    top: -4px;
    left: 1px;
    font-size: 15px;
    font-weight: 500;
}

.login-title h2 {
    font-family: var(--main-font);
    color: #fff;
    font-weight: 400;
    font-size: 38px;
    letter-spacing: 0.3px;
    margin-bottom: 40px;
}

.login-content p {
    font-family: var(--main-font);
    color: #fff;
    font-size: 12px;
    margin-bottom: 35px;
    letter-spacing: 0.5px;
    font-weight: 400;
}

.back-login {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.back-login a {
    font-family: var(--main-font);
    text-decoration: none;
    color: rgba(255, 239, 202, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    font-size: 14px;
}

.back-login a:hover {
    text-decoration: underline;
}

.success-message {
    display: none;
    background-color: rgba(172, 216, 188, 1);
    color: rgba(21, 87, 45, 1);
    border: 1px solid rgba(48, 128, 77, 1);
    padding: 15px 10px;
    margin-top: 50px;
    text-align: center;
    border-radius: 3px;
    font-size: 12px;
    font-family: var(--main-font);
    letter-spacing: 0.3px;
    font-weight: 500;
    max-width: 315px;
    position: relative;
    left: 13px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
}

.otp-input-group {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 0px;
    margin-bottom: 20px;
}

.otp-input {
    width: 40px;
    height: 40px;
    font-size: 20px;
    text-align: center;
    border: 2px solid rgba(255, 239, 202, 1);
    border-radius: 5px;
    background-color: rgba(255, 239, 202, 1);
    margin: 0 5px;
}

.otp-input:focus {
    outline: none;
    background-color: rgba(255, 239, 202, 1);
    border-color: var(--hover-color);
}

.otp-input::placeholder {
    content: "●" !important;
    color: #332f2f !important;
}

/* END LOGIN PAGE CSS  */


/* -------------------------------------------------------------------------------------- */


/* START COMPLETE REGISTRATION PAGE CSS  */

.complete-registration-container {
    background: linear-gradient(90deg, #855DA1 0%, #6E4A87 100%);
    color: rgba(246, 241, 230, 1);
    border-radius: 16px;
    padding: 20px 40px 30px 20px;
    margin: 20px;
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-family: var(--main-font);
    -webkit-border-radius: 16px;
    -moz-border-radius: 16px;
    -ms-border-radius: 16px;
    -o-border-radius: 16px;
}

.registration-header {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1 1 auto;
    width: 100%;
    margin-bottom: 0px;
    margin-left: 25px;
}

.registration-title {
    font-size: 20px;
    font-weight: 500;
    font-family: var(--main-font);
    color: rgba(246, 241, 230, 1);
}

.registration-steps {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: unset;
    flex: 2 1 auto;
    margin: 0 22px;
    min-width: 300px;
    font-family: var(--main-font);
}

.registration-steps::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 8px;
    width: calc(87% - 16px);
    height: 1px;
    background-color: rgba(177, 138, 203, 1);
    z-index: 1;
}

.step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    z-index: 2;
    cursor: pointer;
    top: 13px;
}

.step-icon {
    width: 16px;
    height: 16px;
    background-color: rgba(223, 206, 168, 1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #7e5799;
    transition: background-color 0.3s;
    position: relative;
    z-index: 3;
}

.step-label {
    margin-top: 3px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.1px;
    color: rgba(223, 206, 168, 1);
}

.step.completed .step-icon {
    background-color: rgba(177, 138, 203, 1);
    color: #7e5799;
    font-weight: bold;
}

.step.completed .step-label {
    color: rgba(177, 138, 203, 1);
}

.step.active .step-icon {
    background-color: #f9e5c3;
    color: #6a4b8f;
    font-weight: bold;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
}

.complete-registration-btn {
    background-color: rgba(232, 213, 244, 1);
    color: rgba(0, 0, 0, 1);
    border: none;
    padding: 8px 24px;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    flex: 0 0 auto;
    margin-top: 1rem;
    letter-spacing: 0.3px;
    font-family: var(--main-font);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    font-size: 15px;
    text-decoration: none;
    display: inline-block;
}

.complete-registration-btn:hover {
    transform: translateY(-2px);
}

@media (max-width: 768px) {

    /* Stack elements vertically and center content on tablets and small screens */
    .complete-registration-container {
        flex-direction: column;
        align-items: center;
        padding: 20px;
        /* maintain padding while centering content */
    }

    .registration-header {
        flex-direction: column;
        align-items: center;
        margin-left: 0;
        gap: 10px;
        text-align: center;
    }

    .registration-steps {
        margin: 20px 0;
        flex-wrap: wrap;
        justify-content: center;
        position: relative;
    }

    .step {
        align-items: center;
        margin: 5px;
    }

    .registration-steps::before {
        left: 0;
        width: 100%;
    }

    .complete-registration-btn {
        margin-top: 20px;
    }
}

@media (max-width: 480px) {

    /* Fine-tuning typography and spacing on very small screens */
    .registration-title {
        font-size: 20px;
    }

    .step-label {
        font-size: 13px;
    }

    .complete-registration-btn {
        padding: 8px 16px;
        font-size: 14px;
    }
}


/* END COMPLETE REGISTRATION PAGE CSS  */


/* -------------------------------------------------------------------------------------- */


/* START CREATE PROFILE PAGE CSS  */

.wrapper {
    padding: 20px;
    font-family: var(--main-font);
}

.form-container {
    flex: 1;
    padding: 15px 00px 30px 00px;
}

.create-title {
    text-align: left;
    font-family: var(--main-font);
    font-size: 20px;
    color: rgba(134, 112, 74, 1);
    font-weight: 600;
}

.progressbar {
    display: flex;
    justify-content: center;
    margin: 10px 0 30px;
    position: relative;
    border-bottom: 0.5px solid rgb(134 112 74 / 80%);
    padding-bottom: 35px;
    gap: 60px;
}

.progress-step-container {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 100px;
}

.progress-step {
    width: 16px;
    height: 16px;
    background-color: #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    z-index: 1;
    color: rgba(134, 112, 74, 1);
    border: 2px solid rgba(134, 112, 74, 1);
    font-size: 10px;
    font-weight: bold;
}

.progress-step::before {
    content: attr(data-step-number);
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    display: none;
}

.progress-step.active {
    background-color: rgba(130, 91, 157, 1);
    color: #ebe5d6;
    border: 2px solid rgba(130, 91, 157, 1);
}

.progress-step.active+.steps-label {
    color: rgba(130, 91, 157, 1);
    font-weight: bold;
    font-family: var(--main-font);
}

.steps-label {
    margin-top: 5px;
    font-size: 15px;
    color: #666;
    text-align: left;
    font-family: var(--main-font);
}

.connector {
    position: absolute;
    top: 8px;
    left: calc(12px + 10px);
    right: -54px;
    height: 1px;
    background-color: rgba(134, 112, 74, 0.5);
    z-index: 0;
}

.progressbar::before {
    content: none;
}

.multi-steps {
    width: 100%;
    background-color: rgba(246, 241, 230, 0.5);
    border-radius: 16px;
    padding: 40px;
    border: 0.1px solid rgba(134, 112, 74, 1);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-step h2 {
    margin-bottom: 32px;
    font-size: 20px;
    color: rgba(108, 101, 90, 1);
    font-family: var(--main-font);
    letter-spacing: 0.3px;
}

.inputs-row {
    display: flex;
    gap: 18px;
    margin-bottom: 55px;
}

.inputs-groups {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.inputs-groups label {
    margin-top: 4px;
    cursor: pointer;
}

.inputs-groups input[type="text"],
.inputs-groups input[type="password"],

.inputs-groups input[type="email"],
.inputs-groups input[type="date"],
.inputs-groups textarea,
.inputs-groups input[type="number"],
.inputs-groups select,
span.input-look {
    border: none;
    border-bottom: 0.5px solid rgb(134 112 74 / 70%);
    background: transparent;
    outline: none;
    height: 30px;
    line-height: 20px;
    font-family: var(--main-font);
    color: rgba(108, 101, 90, 1);
    font-size: 15px;
    letter-spacing: 0.3px;
    border-radius: 0;
	padding:0px 5px;
}

span.input-look {
    display: block;
    line-height: 30px;
	color:#000;
}

.inputs-groups input[type="text"]::placeholder,
.inputs-groups input[type="date"]::placeholder,
.inputs-groups input[type="number"]::placeholder {
    color: rgba(108, 101, 90, 1);
    font-size: 15px;
    letter-spacing: 0.3px;
}


input:-webkit-autofill {
    background-color: transparent !important;
    -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
    color: rgba(108, 101, 90, 1) !important;
}

input:-webkit-autofill::first-line {
    font-family: inherit;
    font-size: inherit;
}

input:-webkit-autofill,
input:-webkit-autofill:focus,
input:-webkit-autofill:hover,
input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s;
}



.dob-placeholder {
    margin: 0 !important;
    max-height: 0 !important;
    position: relative !important;
    top: 3px !important;
    color: rgba(108, 101, 90, 1);
    font-size: 15px;
    font-weight: 500;
	padding:0px 5px;
}

.asterisk {
    color: red;
    font-size: 17px;
}

.custom-file-input {
    position: relative;
    display: inline-block;
    width: 20%;
    text-align: left;
    cursor: pointer;
}

.custom-file-input input[type="file"] {
    opacity: 0;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.custom-file-input .browse-btn {
    display: inline-block;
    background-color: transparent;
    color: rgba(130, 91, 157, 1);
    padding: 2px 2px 0px 15px;
    border-radius: 4px;
    text-align: center;
    cursor: pointer !important;
    font-family: var(--main-font);
    letter-spacing: 1.5px;
    font-size: 13px;
    font-weight: 700;
    float: right;
    position: absolute;
    top: 0px;
    right: 0px;
    min-width: 80px;
}

/* Upload file group */
.upload-file {
    flex-direction: row;
    justify-content: space-between;
    border-bottom: 0.5px solid rgb(134 112 74 / 70%);
    max-height: 31.1px;
    cursor: pointer;
    position: relative;
    padding-bottom: 5px;
}

.upload-file-result {
    position: absolute;
    top: 33px;
    font-size: 12px;
    width: 100%;
		max-width:100%;
	overflow:hidden;
	white-space: nowrap;
	padding:0px 5px;
}

.upload-file-result a:link,
.upload-file-result a:visited {
    color: #825b9d !important;
}

.upload-title {
    color: rgba(108, 101, 90, 1);
    font-size: 15px;
    letter-spacing: 0.3px;
}

.form-navigation {
    text-align: right;
    margin-top: 100px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.1px;
}

.reminder-message {
    float: left;
    color: #000;
    font-family: var(--main-font);
}

.btn {
    padding: 10px 0px 10px 30px;
    border: none;
    border-radius: 4px;
    background-color: transparent;
    color: rgba(110, 74, 135, 1);
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    font-family: var(--main-font);
    text-transform: uppercase;
    transition: 0.3s ease;
}

.prev-btn {
    color: #9B9B9B !important;
}

.btn:disabled {
    color: rgba(155, 155, 155, 1);
    cursor: not-allowed;
}

.btn:hover:not(:disabled) {
    color: rgb(89, 58, 111);
}

.submit-btn {
    color: rgba(110, 74, 135, 1);
}

.salary-input-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.salary-input-wrapper input {
    width: 100%;
    padding-right: 50px;
}

.salary-input-wrapper .currency-label {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: rgba(108, 101, 90, 1);
    font-family: var(--main-font);
    font-size: 16px;
    font-weight: 500;
}



.radio-group {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}

.radio-option {
    display: inline-flex;
    align-items: center;
    padding: 10px 5px 10px 0px;
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--main-font);
    font-size: 16px;
    font-weight: 500;
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-option span {
    color: rgba(108, 101, 90, 1);
    display: inline-block;
    padding: 8px 22px;
    border-radius: 4px;
    border: 2px solid rgba(130, 91, 157, 1);
}

.radio-option input[type="radio"]:checked+span {
    background-color: rgba(130, 91, 157, 1);
    color: #ece6d7;
    padding: 8px 22px;
    border-radius: 4px;
    border: 2px solid rgba(130, 91, 157, 1);
}

.add-button {
    display: flex;
    gap: 10px;
    margin-top: -37px;
    justify-content: end;
}

.add-member {
    float: right;
}

.add-member a {
    padding: 10px 20px;
    background-color: #825b9d;
    color: #ebe4d5;
    border-radius: 4px;
    font-family: var(--main-font);
    letter-spacing: 0.5px;
    font-weight: 500;
    font-size: 16px;
    transition: 0.3s ease;
    text-decoration: none;
}

.add-member a:hover {
    background-color: #64437b;
    color: #ebe4d5;
}

@media (max-width: 900px) {
    .inputs-row {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .wrapper {
        flex-direction: column;
    }

    .sidebar {
        width: 75%;
        border-right: none;
        border-bottom: 1px solid #ddd;
    }

    .container {
        padding: 0px;
    }
}

@media (max-width: 1024px) {
    .multi-steps {
        padding: 30px;
    }

    .progressbar {
        gap: 0px;
        padding-bottom: 30px;
        justify-content: unset;
    }

    .steps-label {
        font-size: 14px;
    }

    .connector {
        right: -8px;
    }

    .inputs-row {
        gap: 18px;
    }

    .reminder-message {
        font-size: 14px;
        display: block;
    }

    .progress-step {
        margin-right: 10px;
    }

    .add-member a {
        padding: 7px 12px;
        font-size: 13px;
    }

    .form-container {
        padding: 15px 0px 30px 0px;
    }

    .btn {
        padding: 10px 0px 5px 10px;
    }

}

@media (min-width: 1050px) and (max-width: 1400px) {
    .progressbar {
        gap: 0px !important;
        padding-bottom: 40px;
    }


}

@media (min-width: 1024px) and (max-width: 1700px) {



    .form-container {
        max-width: 100%;
        margin: auto;

    }

    .create-title {
        font-size: 20px;
    }

    .multi-steps {
        padding: 50px;
    }

    .progressbar {
        gap: 40px;
        padding-bottom: 40px;
    }

    .progress-step {
        width: 18px;
        height: 18px;
        font-size: 12px;
    }

    .steps-label {
        font-size: 15px;
    }

    .connector {
        right: -25px;
    }

    .inputs-row {
        gap: 18px;
        margin-bottom: 50px;
    }

    /*
    .inputs-groups input,
    .inputs-groups select {
        font-size: 16px;
        padding: 8px 0;
    }
	*/

    .reminder-message {
        font-size: 15px;
    }

    .btn {
        font-size: 16px;
        padding: 12px 20px;
    }

    .add-member a {
        padding: 10px 18px;
        font-size: 15px;
    }

    .form-navigation {
        margin-top: 80px;
    }
}

@media (max-width: 1324px) {

    .reminder-message {
        display: block;
        float: none;
        text-align: left;
    }
}

@media (min-width: 768px) and (max-width: 992px) {
    .form-navigation {
        align-items: center;
    }

    .inputs-groups,
    .inputs-row {
        margin-bottom: 20px;
    }

    .upload-file {
        margin-bottom: 40px;
    }

    .footer-links,
    .copyright {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .multi-steps {
        padding: 20px;
    }

    .progressbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding-bottom: 20px;
    }

    .progress-step-container {
        flex-direction: row;
        align-items: center;
    }

    .connector {
        display: none;
    }

    .inputs-row {
        flex-direction: column;
    }

    .form-navigation {
        text-align: center;
    }

    .add-member a {
        padding: 6px 10px;
        font-size: 12px;
    }

    .reminder-message {
        font-size: 13px;
        margin-bottom: 20px;
        text-align: center;
    }

    .inputs-groups,
    .inputs-row {
        margin-bottom: 20px;
    }

    .upload-file {
        margin-bottom: 40px;
    }

    .footer {
        display: block;
    }

    .footer-links,
    .copyright {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .create-title {
        font-size: 20px;
    }

    .progressbar {
        gap: 5px;
        padding-bottom: 15px;
    }

    .steps-label {
        font-size: 12px;
    }

    .multi-steps {
        padding: 15px;
    }

    .inputs-groups input[type="text"],
    .inputs-groups input[type="date"],
    .inputs-groups input[type="number"],
    .inputs-groups select {
        font-size: 14px;
        padding: 4px 0;
    }

    .custom-file-input .browse-btn {
        padding: 4px 8px;
        font-size: 12px;
    }

    .btn {
        padding: 8px 0px 8px 20px;
        font-size: 13px;
    }

    .progress-step {
        margin-right: 10px;
    }
}

/* END CREATE PROFILE PAGE CSS  */


/* -------------------------------------------------------------------------------------- */


/* START CREATE REQUEST PAGE CSS  */

.request-dashboard {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
}

.request-dashboard .card img {
    /*border: 1px solid #86704A;*/
}

.request-title {
    text-align: left;
    margin-left: 20px;
    margin-top: 30px;
    font-family: var(--main-font);
    font-size: 24px;
    color: rgba(134, 112, 74, 1);
    font-weight: 600;
}

.request-dashboard .card {
    position: relative;
    overflow: hidden;
}

.request-dashboard .card-headline {
    position: absolute;
    bottom: 15px;
    left: 7.5%;
    color: #fff;
    border-radius: 4px;
    font-size: 24px;
    text-align: left;
    white-space: nowrap;
    font-family: var(--main-font);
    font-weight: 600;
}

@media screen and (max-width: 992px) {
    .request-dashboard {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 576px) {
    .request-dashboard {
        grid-template-columns: 1fr;
    }

    .request-title {
        margin-left: 10px;
        font-size: 20px;
    }

    .request-dashboard .card-headline {
        font-size: 18px;
        bottom: 10px;
        left: 5%;
    }
}

/* END CREATE REQUEST PAGE CSS  */


/* -------------------------------------------------------------------------------------- */


/* START GENERAL AID PAGE CSS  */

.request-form-container {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: space-between;
    padding: 10px 20px 40px 20px;
    gap: 10px;
}

.request-form-content {
    flex: 1 1 550px;
    max-width: 100%;
    background-color: rgba(246, 241, 230, 0.5);
    padding: 40px;
    border-radius: 16px;
    border: 0.1px solid rgba(134, 112, 74, 1);
    min-height: 650px;
}

.upload-letter {
    color: rgba(108, 101, 90, 1);
    font-size: 16px;
    font-weight: 500px;
    font-family: var(--main-font);
    letter-spacing: 0.3px;
    margin-bottom: 5px;
}

.subtitle {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 50px;
    color: #666;
}

.help-label {
    font-weight: 700;
    color: #6C655A;
    letter-spacing: 0.1px;
    font-size: 22px;
    font-family: var(--main-font);


}

.help-select {
    background-color: transparent;
    color: #555;
    cursor: pointer;
    transition: border-color 0.2s ease;
    border: none;
    min-width: 300px;
    width: 48%;
    color: #825B9D;
    font-size: 21px;
    font-family: var(--alt-font);
    font-weight: 700;
    letter-spacing: 0.1px;
    text-indent: 140px;
}

.frmTypes {
    display: none;
}

.help-select:focus {
    outline: none;

    font-family: var(--alt-font);

}

.button-place {
    text-align: right;
    margin-top: 60px;
}

.request-form-title {
    text-align: left;
    margin-left: 20px;
    margin-top: 30px;
    font-family: var(--main-font);
    font-size: 24px;
    color: rgba(134, 112, 74, 1);
    font-weight: 600;
}

.submit-request {
    display: inline-block;
    background-color: #6E4A87;
    color: #EDE6D7;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
    font-family: var(--alt-font);
    letter-spacing: 1px;
    font-size: 14px;
    text-decoration: none;
    text-transform: uppercase;
}

.submit-request:hover {
    background-color: rgb(95, 53, 124);
    color: #EDE6D7;
}

.request-form-image {
    flex: 1 1 0px;
    display: flex;
    /*align-items: center;*/
    justify-content: center;
}

.request-form-image img {
    max-width: 100%;
    height: 650px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .request-form-container {
        flex-direction: column;
        padding: 20px 20px 40px 20px;
    }

    .request-form-image {
        margin-top: 20px;
    }
}

@media (max-width: 576px) {
    .request-form-title {
        margin-left: 20px;
        margin-top: 20px;
        font-size: 20px;
    }

    .request-form-container {
        padding: 10px 15px 30px 15px;
    }

    .request-form-content {
        padding: 20px;
        height: auto;
        min-height: auto;
    }

    .help-label {
        font-size: 18px;
    }

    .help-select {
        font-size: 18px;
        max-width: none;
    }

    .upload-letter {
        font-size: 14px;
    }

    .submit-request {
        font-size: 12px;
        padding: 10px 16px;
    }

    .request-form-image img {
        height: auto;
    }

    .button-place {
        text-align: center;
    }

    .inputs-row {
        flex-direction: column;
    }
}

/* END GENERAL AID PAGE CSS  */


/* -------------------------------------------------------------------------------------- */


/* START TRACK REQUEST PAGE CSS  */

.track-content {
    padding: 0px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: auto;
}

.content-area {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.track-title {
    text-align: left;
    margin-bottom: 20px;
    margin-top: 30px;
    font-family: var(--main-font);
    font-size: 24px;
    color: rgba(134, 112, 74, 1);
    font-weight: 600;
}

.request-card {
    flex: 2;
    background-color: rgba(246, 241, 230, 0.5);
    border: 0.1px solid rgba(134, 112, 74, 1);
    border-radius: 16px;
    padding: 30px 40px 40px 40px;
    display: flex;
    font-family: var(--main-font);
    flex-direction: column;
    gap: 20px;
}

.request-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--main-font);
}

.request-header h3 {
    font-weight: 700;
    color: #6C655A;
    letter-spacing: 0.1px;
    font-size: 21px;
    font-family: var(--main-font);
}

.status-badge {
    background-color: #D15A5A;
    padding: 7px 14px;
    color: #F6F1E6;
    border-radius: 4px;
    font-size: 15px;
    font-family: var(--main-font);
}

.timeline-container {
    padding: 15px 0;
    border-bottom: 2px solid #86704A;
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 40px;
}

.timeline {
    display: flex;
    align-items: center;
    gap: 28px;
    margin: auto;
    justify-content: center;
    font-family: var(--main-font);

}

.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    text-align: left;
    width: 160px;
}

.timeline-step .icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 5px;
    color: #86704A;
    font-size: 16px;
    font-family: var(--main-font);
}

.timeline-step.active .icon-wrapper {
    color: #825B9D;
}

.timeline-step.active .timing-label {
    color: #825B9D;
    font-weight: 700;
}

.timeline-step .timing-label {
    font-size: 15px;
    color: #86704A;
    font-weight: 500;
    font-family: var(--main-font);
}

.timeline-step span.red,
.timeline-step span.green,
.timeline-step span.default {
    position: absolute;
    top: 41px;
    font-size: 15px;
    font-weight: bold;
    color: red;
}

.timeline-step span.green {
    color: #198754;
}

.timeline-step span.default {
    color: #86704A;
}


.between-steps {
    position: absolute;
    top: 8px;
    left: 100px;
    right: -90px;
    height: 1px;
    background-color: rgba(134, 112, 74, 0.5);
    z-index: 0;
}


.request-info {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 20px;
}

.description {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 20px;
    padding-right: 60px;
}

.info-block {
    flex: 1 1 200px;
    border-bottom: 1px solid #86704a9c;
}

.description-place {
    flex: 1 1 200px;
    border-bottom: 1px solid #86704a9c;
    padding-bottom: 15px;
}

.info-block label {
    display: inline-block;
    font-weight: 500;
    margin-bottom: 10px;
    color: #201E1B;
    margin-right: 15px;
    font-family: var(--main-font);
    font-size: 16px;
}

.info-block span {
    font-size: 16px;
    color: #948A7C;
    font-family: var(--main-font);
    font-weight: 700;
    white-space: nowrap;
    /* prevent line break inside */
    display: block;
    /* treat the whole span as a block if needed */
    padding-bottom: 10px;
}

.description-place .description-title {
    display: block;
    font-weight: 500;
    margin-bottom: 10px;
    color: #201E1B;
    margin-right: 15px;
    font-family: var(--main-font);
    font-size: 16px;
}

.description-place .description-info {
    font-size: 14px;
    color: #948A7C;
    font-family: var(--main-font);
    font-weight: 700;
    word-wrap: break-word;
    /* Legacy, but still useful */
    overflow-wrap: break-word;
    /* Modern standard */
    word-break: break-word;
    /* Optional, alternative behavior */
}



.attachments {
    padding-right: 60px;
    margin-bottom: 20px;
}

.attachments-place {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    border-bottom: 1px solid #86704a9c;
    padding-bottom: 15px;
}

.attachment-title {
    display: inline-block;
    font-weight: 500;
    margin-bottom: 20px;
    color: #201E1B;
    margin-right: 15px;
    font-family: var(--main-font);
    font-size: 16px;
}

.attachments-place i {
    margin: 0px 5px 0px 2px;
}

.attachment-item {
    background-color: #B39D6F;
    color: #F6F1E6;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
    white-space: nowrap;
    font-family: var(--main-font);
    text-decoration: none;
}

.attachment-item:hover {
    background-color: rgb(146, 127, 88);
}

.application-status {
    text-align: left;
}

.application-status label {
    color: #201E1B;
    font-family: var(--main-font);
    font-weight: 500;
    font-size: 16px;
    margin-right: 10px;
}

.application-status span {
    color: #D15A5A;
    font-family: var(--main-font);
    font-weight: 700;
    font-size: 16px;
}

.admin-message-card {
    flex: 1;
    background-color: rgba(246, 241, 230, 0.5);
    border: 0.1px solid rgba(134, 112, 74, 1);
    border-radius: 16px;
    padding: 40px;
    font-family: var(--main-font);
    border-radius: 16px;
    height: auto;
}

.admin-message-card h4 {
    font-size: 22px;
    color: #825B9D;
    font-family: var(--main-font);
    border-bottom: 1px solid #86704a9c;
    margin-bottom: 20px;
    padding-bottom: 30px;
    font-weight: 700;
}

.admin-message {
    font-size: 16px;
    color: #201E1B;
    font-family: var(--main-font);
    line-height: 1.5;
    font-weight: 400;
    margin-bottom: 20px;
}

.response-time {
    font-size: 14px;
    color: #948A7C;
}

.message-date {
    font-size: 14px;
    color: #948A7C;
    margin-bottom: 60px;
    padding-bottom: 20px;
    border-bottom: 1px solid #86704a9c;
}

.my-response .title {
    display: block;
    font-weight: 700;
    margin-bottom: 20px;
    color: #7E6946;
    font-size: 22px;
    font-family: var(--main-font);
}

.my-response .inputs-groups {
    margin-bottom: 35px;
}


@media (max-width: 992px) {
    .content-area {
        flex-direction: column;
    }

    .request-card,
    .admin-message-card {
        width: 100%;
    }
}

@media (max-width: 770px) {
    .timeline {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .timeline-step {
        flex-direction: row;
        justify-content: flex-start;
        width: 200px;
    }

    .timeline-step .icon-wrapper {
        margin-bottom: 0;
        margin-right: 8px;
    }

    .between-steps {
        display: none;
    }
}

@media (max-width: 576px) {
    .track-title {
        font-size: 20px;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .request-card {
        padding: 20px 25px 30px 25px;
    }

    .request-header h3 {
        font-size: 18px;
    }

    .status-badge {
        font-size: 13px;
        padding: 5px 10px;
    }

    .timeline {
        gap: 15px;
        padding: 10px 0;
        padding-bottom: 20px;
    }

    .timeline-step {
        width: auto;
    }

    .timeline-step .timing-label {
        font-size: 13px;
    }

    .info-block label,
    .description-place .description-title,
    .attachment-title,
    .application-status label,
    .application-status span {
        font-size: 14px;
    }

    .info-block span,
    .description-place .description-info {
        font-size: 13px;
    }

    .admin-message-card {
        padding: 25px;
    }

    .admin-message-card h4 {
        font-size: 20px;
        padding-bottom: 20px;
    }

    .admin-message {
        font-size: 14px;
    }

    .response-time,
    .message-date {
        font-size: 12px;
    }

    .my-response .title {
        font-size: 20px;
    }

    .my-response .inputs-groups {
        margin-bottom: 25px;
    }


}

@media screen and (max-width: 1199px) {
    .track-content {
        padding: 20px;
    }
}

/* END TRACK REQUEST PAGE CSS  */

/* -------------------------------------------------------------------------------------- */

.FMInfoTabs {
    display: none;
}

#FMBasicInfo {
    display: block;
}

.btn:link,
.btn:visited,
.btn:hover {
    text-decoration: none;
}

.gray-btn {
    color: #9B9B9B !important;
}

.income-warper {
    position: relative;
}

.income-warper .salary-input-wrapper {
    /*display: none;*/
    margin-bottom: 45px;

}

.income-warper .salary-input-wrapper .fa {
    color: #8f2121;
}

.income-warper .salary-input-wrapper span.remove-income {
    position: absolute;
    top: 4px;
    cursor: pointer;
    z-index: 1;
    right: 0px;
}

.income-warper .salary-input-wrapper span.remove-income:hover {
    color: red;
}


.income-warper .salary-input-wrapper span.remove-income::after {
    content: attr(data-title);
    position: absolute;
    bottom: 125%;
    /* show above the element */
    left: 50%;
    transform: translateX(-50%);
    background-color: #D15A5A;
    color: #fff;
    padding: 5px 8px;
    border-radius: 4px;
    white-space: nowrap;
    font-size: 12px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 10;
}

.income-warper .salary-input-wrapper span.remove-income:hover::after {
    opacity: 1;
}


.income-warper a:link,
.income-warper a:visited {
    text-decoration: none;
    color: #6e4a87;
    position: absolute;
    right: 20px;
    top: 60px;
}

/*
.income-warper .salary-input-wrapper input {
    text-align: right;
    padding-right: 50px;
}
*/



.income-list .select-input {
    max-height: 30px;
}

.form-step h3 {
    margin-bottom: 32px;
    font-size: 16px;
    color: rgba(108, 101, 90, 1);
    font-family: var(--main-font);
    letter-spacing: 0.3px;
}

.income-warper .salary-input-wrapper label {
    color: rgba(108, 101, 90, 1);
    font-size: 15px;
    position: absolute;
}

#total-income,
#total-expenses {
    padding-top: 6px;
    color: #6e4a87;
    border-top: 1px solid #6e4a87;
    margin-top: 30px;
	padding-left: 5px;
}

#total-expenses {
    text-align: right;
}

#total-income label span {
	padding-left: 5px;
}

#total-expenses label span, #total-expenses b {
    width: 177px;
    text-align: left;
    right: 0px;
    display: inline-block;
	padding-left: 5px;

}

#total-expenses span {
   /* font-style: italic;*/
}

#total-expenses b {
    width: 213px;
}

#total-expenses label {
    position: absolute;
    bottom: 68px;
    right: 0px;
}

.purble-color * {
    color: #6e4a87 !important;
    font-weight: bold;
}

.purble-color input {
    border-color: #6e4a87 !important;
}

#total-income label {
    float: left;
    position: absolute;
    bottom: 68px;
    left: 0px;
}

#total-expenses-value,
#total-income-value {
    display: none;
}

.help-request-s0,
.help-request-s4 {
    background-color: #bba6c8;
    color: #000;
    display: inline-block;
}

.help-request-s1 {
    background-color: #D15A5A;
    color: #000000;
}

.help-request-s2 {
    /*background-color: #e0f5d5;
    color: #184500;
	*/
	
	background-color: #c6e9b4;
    color: #000000;
}

.help-request-s3 {
   /* background-color: #f4d5d5;
    color: #6c0404;*/
	
	background-color: #efa8a8;
    color: #000000;
}


.help-request-txt-s0,
.help-request-txt-s4 {
    color: #6e4a87 !important;
}

.help-request-txt-s1 {
    color: #D15A5A !important;
}

.help-request-txt-s2 {
    color: #184500 !important;
}

.help-request-txt-s3 {
    color: #6c0404 !important;
}


.info-block-footer {
    font-size: 14px;
    position: relative;
    top: 30px;
    margin-top: -25px;
}

.info-block-footer a {
    text-decoration: none;
    color: #6e4a87 !important;
}

.info-block-footer i {
    color: #184500;
    float: right;
}

@media (max-width: 1452px) {
    .info-block-footer a {
        display: inline-block;
    }

    .info-block span {
        display: block;
    }
}

@media (min-width: 772px) and (max-width: 1452px) {
    .info-block-footer {
        top: 45px;
    }
}

@media (min-width: 700px) and (max-width: 772px) {
    .request-info {
        gap: 40px;
    }

    .info-block-footer {
        top: 30px;
    }
}

@media (min-width: 517px) and (max-width: 700px) {
    .request-info {
        gap: 40px;
    }

    .info-block-footer {
        top: 40px;
    }
}

@media (max-width: 517px) {
    .request-info {
        gap: 50px;
    }
}

.pop-up {
    display: none;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 10000000;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.pop-contents {
    position: fixed;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000001;
    width: 600px;
    max-width: 100%;
    background: #ece2d8;
    border-radius: 16px;
    padding: 40px;
    border: 0.1px solid rgba(134, 112, 74, 1);
}

.pop-contents h3 {
    color: #6e4a87 !important;
    margin-bottom: 15px;
}

.pop-contents label {
    color: #6c655a !important;
}

.pop-contents a {
    text-decoration: none;
    color: #6e4a87 !important;
}

.pop-contents .close-btn {
    background: #b1a5b9 !important;
    margin-left: 10px;
    color: #6e4a87 !important;
}

.pop-up .respons-popup {
    margin: 10px 0px;
}

#form-otp {
    text-align: center !important;
}

#countdownText {
    padding: 10px 0px;
}

/* For Chrome, Safari, Edge, Opera */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* For Firefox */
input[type=number] {
    -moz-appearance: textfield;
}


/* ==== START INPUT LABELS NEW CSS==== */
.position-relative {
    position: relative;
}

.position-absolute {
    position: absolute;
}

.inputs-groups input::placeholder {
    color: transparent;
}


.inputs-groups .input-headline {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    margin-top: 0;
    font-size: 15px;
    font-weight: 500;
    color: rgba(108, 101, 90, 1);
    pointer-events: none;
    transition: top 0.3s ease, font-size 0.3s ease, color 0.3s ease;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
	padding:0px 5px;
}


.inputs-groups input:focus+.input-headline,
.inputs-groups input.has-value+.input-headline,
.inputs-groups input.has-value-alltime+.input-headline ,
.inputs-groups input:not(:placeholder-shown)+.input-headline {
    top: 100%;
    transform: translateY(0);
    font-size: 13px;
    color: rgba(108, 101, 90, 1);
}

.inputs-groups .select:focus+.select-label,
.inputs-groups .select.has-value-alltime+.select-label,
.inputs-groups .select.has-value+.select-label {
    top: 83%;
    transform: translateY(0);
    font-size: 13px;
    color: rgba(108, 101, 90, 1);
	padding:0px 5px;
}


.dob-align {
    text-align: right;
}


.upload-title {
    color: rgba(108, 101, 90, 1);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.3px;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
	padding:0px 5px;
}

/* ==== END INPUT LABELS NEW CSS==== */

/* ======================================================================================= */

/* ==== START SELECT INPUT NEW CSS==== */

.select-input select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: transparent;
    border: none;
    border-bottom: 0.5px solid rgba(134, 112, 74, 0.7);
    line-height: 20px;
    font-size: 15px;
    color: #000 !important;
    outline: none;
    padding: 0px 5px;
}

.inputs-groups .select2-container .select2-selection__rendered {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background: transparent !important;
}


.select-input::after {
    content: "▼";
    position: absolute;
    top: 55%;
    right: 5px;
    transform: translateY(-50%);
    pointer-events: none;
    color: rgb(108 101 90 / 100%);
    font-size: 13px;
}

.select-label {
    position: absolute;
    top: 33%;
    left: 0;
    transform: translateY(-50%);
    font-size: 15px;
    font-weight: 500;
    color: rgba(108, 101, 90, 1);
    pointer-events: none;
    transition: top 0.3s, font-size 0.3s, color 0.3s;
	padding:0px 5px;
}

.select-label .asterisk {
    color: red;
    font-size: 17px;
    margin-left: 2px;
}

.inputs-groups.filled .select-label {
    top: 95%;
    transform: translateY(0);
    font-size: 13px;
    color: rgba(108, 101, 90, 1);
	padding:0px 5px;
}

.inputs-groups.filled .asterisk {
    top: 45%;
    transform: translateY(0);
    font-size: 13px;
}

/* ==== END SELECT INPUT NEW CSS==== */

.select2-container--default .select2-selection--single {
    padding-top: 5px !important;
    height: 30px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    display: none;
}

.inputs-groups input[type="date"] {
    text-align: right;
}

.upload-file-result a.delete-file:link,
.upload-file-result a.delete-file:visited {
    float: right;
    background-color: #D15A5A;
    color: #F6F1E6 !important;
    display: inline-block;
    padding: 3px 5px;
    text-decoration: none;
    border-radius: 5px;
}

.upload-file-result a.delete-file:hover {
    background-color: #8f2121;
}

.number-of-family a:link,
.number-of-family a:visited {
    display: inline-block;
    padding: 3px 5px;
    background-color: #825b9d;
    color: #ebe4d5;
    font-size: 20px;
    text-decoration: none;
    width: 35px;
    text-align: center;
    position: absolute;
    left: 0px;
    border-radius: 5px;
    top: 11px;
}

.number-of-family a:first-of-type {
    right: 0px;
    left: auto;
}

.number-of-family input {
    text-align: center !important;
}

.number-of-family .input-headline {
    text-align: center;
    display: block;
    width: 100%;
}

.hidden-row {
    display: none !important;
}

.emiratesID-no {
    display: none;
}

.flex-important {
    display: flex !important;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    opacity: 0 !important;
}

.content-place {
    padding: 20px;
}

@media (min-width:1200px) and (max-width: 1500px) {
    .main-content {
        padding: 10px 20px;
    }
}

@media (min-width:1024px) and (max-width: 1250px) {
    .steps-label {
        font-size: 14px;
    }
}



@media (max-width: 768px) {
    .table-info {
        border: 0px;
        border-radius: 0px;
        text-align: center;
    }

    .table-info thead {
        display: none;
    }

    .table-info tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid rgba(134, 112, 74, 0.75);
        border-radius: 8px;
        padding: 10px;
        background: rgba(134, 112, 74, 0.1);
    }

    .table-info td {
        display: block;
        position: relative;
        padding-left: 120px !important;
    }

    .table-info td::before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        top: 10px;
        font-weight: bold;
        text-align: left;
        white-space: nowrap;
    }
}

input,
select,
textarea,
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #000 !important;
}



.select2-container--default.select2-container--disabled .select2-selection--single {
    background-color: transparent !important;
}

.verify-link {
    position: absolute;
    top: 5px;
    right: 0px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-decoration: none;
    text-transform: uppercase;
    color: rgba(130, 91, 157, 1);
}

.input-verified {
    position: absolute;
    right: 0px;
    top: 22%;
    color: #76bf76;
}

.error-message ul {
    margin: 0px 20px;
}

tr.delete-row {
    text-decoration: line-through;
    text-decoration-color: red;

}

.login-footer-links a {
    color: rgba(250, 232, 191, 1);
    font-size: 15px;
    text-decoration: none;
    display: inline-block;
    margin: 0px 6px;
}

.login-footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 30px;
    font-size: 14px;
    color: #fff;
    background-color: transparent;
    gap: 0px;
    white-space: nowrap;
}

.login-footer-links a:link:hover {
    text-decoration: underline;

}

.footer-links-pages {
    padding: 40px 20px;
}

.footer-links-pages h1 {
    margin-bottom: 40px;
    border-bottom: 1px solid #86704a;
}

.footer-links-pages button {
    padding: 10px 20px;
    background-color: #86704a;
    color: #fff;
    border: none;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 18px;
    border-radius: 6px;
}

.footer-links-pages a {
    color: #473b28;
}

.footer-links-pages p {
    padding: 5px 0;
    font-size: 16px;
}

a.flagaction {
    /*text-decoration:underline;*/
    color: #825b9d;
}

.notification-count {
    position: absolute;
    top: -5px;
    right: -10px;
    background: red;
    color: white;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 50%;
    font-weight: bold;
    line-height: 1;
}

.all-notification-messages p {
    font-family: var(--main-font);
    font-size: 20px;
    font-weight: 600;
    color: var(--data-color) !important;
    padding-bottom: 10px;
}

.notification-message {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    transition: background-color 0.2s;
    border: 1px solid #fff;
    justify-content: space-between;
    align-items: center;
    display: flex;
    font-family: var(--main-font);
}

.notification-message:hover {
    background-color: rgb(255, 251, 241);
}

.notification-title {
    font-weight: bold;
    color: #222;
    margin-bottom: 5px;

}

.notification-content {
    color: #555;
    margin-bottom: 8px;
}

.notification-time {
    font-size: 13px;
    color: #888;
    text-align: left;
}

.view-notification a {
    color: #fff;
    margin-right: 20px;
    background: var(--hover-color);
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
}



.annualexpense_divied {
    width: 140px;
    display: block;
    height: 34px;
    position: absolute;
    right: 72px;
    font-size: 14px;
    color: #6e4a87;
    bottom: -8px;
}

.other-income {
    position: absolute;
    width: 100%;
    top: 68px;
}

.tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
    color: #0077cc;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: max-content;
    background-color: #825b9d;
    color: #fff;
    text-align: center;
    padding: 6px 10px;
    border-radius: 6px;
    position: absolute;
    z-index: 1;
    bottom: 75%;
    /* position above link */
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    white-space: nowrap;
    /* prevent line breaks */
    font-size: 13px;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    /* arrow below tooltip */
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: #825b9d transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* CSS FROM PAGES ----------------------------------------- */

/* FROM CMS ALL NOTIFICATIONS.PHP */
.read {
    color: #aaa;
}

.unread {
    font-weight: bold;
}

.unread-badge {
    display: inline-block;
    padding: .35em .65em;
    font-size: .75em;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25rem;
    background-color: rgba(209, 90, 90, 1) !important;
}

.read-badge {
    display: inline-block;
    padding: .35em .65em;
    font-size: .75em;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25rem;
    background-color: rgba(124, 216, 153, 1) !important;
}


.pagination-link {
    padding: 4px 10px;
    border: 1px solid #c4b69c;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    background-color: #f4f4f4;
}

.pagination-link.active {
    background-color: #c4b69c;
    color: white;
    font-weight: bold;
    pointer-events: none;
}

.pagination-ellipsis {
    padding: 4px 10px;
    color: #999;
    font-size: 14px;
}

/* FROM INC_POPUP_SIGNUP AND INC_INFO_POPUP */
#infoModal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

#infoModal .popup-box {
    background: #fff;
    max-width: 600px;
    width: 100%;
    padding: 20px;
    border-radius: 10px;
    max-height: 90vh;
    overflow: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#infoModal .popup-box h2 {
    margin-bottom: 20px;
    color: var(--text-color);
    font-family: var(--alt-font);
    font-weight: 600;
    border-bottom: 1px solid #86704a3d;
    padding-bottom: 15px;
}

#infoModal .popup-box p {
    color: rgba(0, 0, 0, 1);
    font-family: var(--alt-font);
    font-weight: 500;
}

#infoModal .popup-box button {
    margin-top: 25px;
    padding: 10px 20px;
    background: #6E4a87;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    letter-spacing: 1px;
    font-family: var(--alt-font);
    text-transform: uppercase;
    font-size: 14px;
}

@media (max-width: 600px) {
    #infoModal .popup-box {
        position: relative;
        transform: none;
        top: 50% !important;
        left: 0;
        transform: translate(0, -50%) !important;
        -webkit-transform: translate(0, -50%) !important;
        -moz-transform: translate(0, -50%) !important;
        -ms-transform: translate(0, -50%) !important;
        -o-transform: translate(0, -50%) !important;
    }
}

/* FROM HEADER.PHP */
.sidebar-nav ul li a.active::before {
    content: "";
    position: absolute;
    right: 53px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: radial-gradient(55.56% 66.67% at 50% 22.22%, #C6AAD9 0%, #775A8B 100%);
    border-radius: 50%;
}

.sidebar-nav .submenu {
    max-height: none !important;
    overflow: visible !important;
    display: block !important;
    padding-bottom: 10px;
}

.sidebar-logout {
    margin-top: 0 !important;
    border-top: none;
}

.sidebar-logo {
    margin-bottom: 0 !important;
    padding-bottom: 45px;
    border-bottom: 0.1px solid rgba(134, 112, 74, 0.75);
    text-align: center;
}

.sidebar-copyright {
    width: 300px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-color);
    margin-top: auto;
    text-align: center;
    pointer-events: none;
}

.sidebar-nav .submenu li svg {
    margin-right: 10px;
}

/* FROM CMS_RESET_PASSWORD.PHP */
.newpassword-login {
    width: 100%;
    padding: 12px 24px;
    background-color: rgba(110, 74, 135, 1);
    color: rgba(255, 239, 202, 1);
    border: none;
    border-radius: 3px;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -ms-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
    font-size: 16px;
    font-family: var(--main-font);
    letter-spacing: 1px;
    font-weight: 500;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
    text-decoration: none;
    text-transform: uppercase;

}

.success {
    background-color: rgba(172, 216, 188, 1);
    color: rgba(21, 87, 45, 1);
    border: 1px solid rgba(48, 128, 77, 1);
    padding: 15px 10px;
    margin-bottom: 50px;
    text-align: center;
    border-radius: 3px;
    font-size: 16px;
    font-family: var(--main-font);
    letter-spacing: 0.3px;
    font-weight: 500;
    max-width: 315px;
    position: relative;
    left: 13px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;

}

.error {
    background-color: rgba(219, 130, 130, 1);
    background-color: rgba(219, 130, 130, 1);
    color: rgba(70, 28, 28, 1);
    border: 1px solid rgba(70, 28, 28, 1);
    padding: 15px 10px;
    margin-bottom: 30px;
    text-align: center;
    border-radius: 3px;
    font-size: 16px;
    font-family: var(--main-font);
    letter-spacing: 0.3px;
    font-weight: 500;
    max-width: 315px;
    position: relative;
    left: 13px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
}

/* FROM CMS_REQUEST_HISTORY.PHP */
@media (max-width: 768px) {
    .table-info thead {
        display: none;
    }

    .table-info,
    .table-info tbody,
    .table-info tr,
    .table-info td {
        display: block;
        width: 100%;
        padding: 10px;
    }

    .table-info {
        border-radius: 8px;
        border: 0.1px solid rgba(134, 112, 74, 1);
    }

    .table-info tbody tr {
        margin-bottom: 12px;
        background: #e3daca;
        border-radius: 12px;
        padding: 12px 12px 14px 12px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
        border: 1px solid rgba(134, 112, 74, 0.08);
        position: relative;
        border: 0.1px solid rgba(134, 112, 74, 1);
    }

    .table-info tbody td {
        padding: 10px 16px 10px 120px;
        text-align: left;
        position: relative;
        border: none;
        white-space: normal;
    }

    .table-info tbody td::before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        top: 16px;
        font-weight: bold;
        text-align: left;
        line-height: 1;
        white-space: nowrap;
    }

    .table-info tbody td:last-child {
        padding-left: 16px;
        padding-right: 16px;
        text-align: right;
    }

    .table-info tbody td .requested,
    .table-info tbody td .help-request-s2,
    .table-info tbody td .approved {
        margin-top: -2px;
        display: inline-block;
    }
}


.login-input-group input:focus + label,
.login-input-group input:valid + label,
.login-input-group input:-webkit-autofill + label {
    top: -10px; 
	text-aliagn:left;
}

input:-internal-autofill-selected + label{
    top: -10px;
	text-aliagn:left;
}


.subtitle-black label {
    color: #000000;
    font-size: 16px;
    font-weight: 600;
}

.subtitle-black .radio-group .radio-option span {
padding: 6px 0px !important;
width: 50px;
text-align: center;
}

.subtitle-black .radio-group {gap: 5px;}

.notif-text a {
font-size: 13px !important;
white-space: normal;
text-overflow: unset;
    overflow-wrap: anywhere;
    text-align: start;
}

.notif-list li {
flex-direction: column;
}

.time-close {
flex-direction: row-reverse;
    justify-content: space-between;
    margin-top: 10px;
    border-bottom: 1px solid #86704a57;
    align-items: center;
}

.notif-close {
    font-size: 20px;
    text-align: center;
}

 #language-change {
      position: fixed;
      top: 20px;
      right: 20px;
      z-index: 1000;
      padding: 10px 20px;
      background-color: transparent;
      color: rgba(255, 239, 202, 1);
      border: none;
      border-radius: 4px;
      cursor: pointer;
      font-size: 18px;
      font-weight: 500;
      transition: background-color 0.3s ease;
      font-family: var(--main-font);
      width: 100px;
		text-align: center;
	 text-decoration: none;
    }

    #language-change:hover {
      text-decoration: underline;
    }
	
.notif-tabs {
          display: flex;
          margin-top: 10px;
        }

        .notif-tab {
          background: transparent;
          border: none;
          padding: 4px 10px;
          cursor: pointer;
          font-weight: bold;
          font-size: 12px;
        }
		
		

        .notif-tab.active {
          background: transparent;
          border-bottom: 2px solid var(--hover-color);
          font-weight: bold;
          font-size: 12px;

        }

        .notif-list {
          list-style: none;
          margin: 0;
          padding: 0;
        }

        .notif-tab-content {
          display: none;
        }

        .notif-tab-content.active {
          display: block;
        }

.notif-text {
  position: relative;
  font-size: 13px;
  line-height: 1.4em;
  max-height: 2.8em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; /* ADD THIS */
}

.table-info {
	background-color: rgba(246, 241, 230, 0.5);
}		



#viewfile-popup  .pop-contents {
	width:90%;
	height:90%;
	
}

#viewfile-popup  .pop-contents .file-preview {
	  align-items: center;
	  overflow-y: auto;
	  max-width:100%;
		max-height:85%;
}

#viewfile-popup  .pop-contents img {
	
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; 
}

#viewfile-popup  .pop-contents iframe{
	  width: 100%;
 height: 65vh;
  	  max-width: 100%;
  max-height: 100%;
  border:0px;
}

#viewfile-popup .pop-contents .close-btn {
    position: absolute;
    bottom: 28px;
    right: 28px;
}

#viewfile-popup .pop-contents .open-file-btn {
    right: 150px;
	background: #6e4a87 !important;
    color: #fff !important;
}

@media (max-width: 450px) {
#language-change {
padding: 0px !important;
right: 5px !important;
}
}



@media (max-width: 400px) {
.login-right .inputs-row {
        flex-direction: row;
        gap: 10px !important;
}
.login-box {
padding-top: 65px;
}
.login-right .login-logo {
    place-items: center;
}
.login-right .login-logo img {
    width: 85%;
}
.login-footer-links a {
    font-size: 12px;
}
}


.field-error {
  border: 2px solid rgba(255, 0, 0, 0.5);
}

input[type="checkbox"] {
min-width:16px;
	min-height:16px;
}