@font-face {
    font-family: "Montserrat";
    src: url("./fonts/Montserrat-Italic-VariableFont_wght.ttf")
        format("ttf-variations");
    src: url("./fonts/Montserrat-VariableFont_wght.ttf") format("truetype");
    font-weight: 100 1000;
    font-stretch: 25% 151%;
}

:root {
    --primary-color: #ffcc00;
    --secondary-color: #000000;
    --text-color: #333;
    --background-color: #f5f2eb;
    --background-container-color: #ffffff;
    /* Root font family and sizes */
    --font-family: "Montserrat";
    --font-size-h1: 0.8rem;
    --font-size-h2: 0.6rem;
    --font-size-h3: 0.5rem;
    --font-size-h4: 0.4rem;
    --font-size-p: 0.3rem;
    --font-weight-bold: 700;
    --font-weight-semi-bold: 600;
    --font-weight-medium: 500;
    --line-height-p: 1.6;
    --text-error-: #ff0000;
}

* {
    font-family: var(--font-family);
    padding: 0;
    margin: 0;
}

body {
    background-color: var(--background-color);
}

/*========================== login styles =======================*/
.login-container {
    background-image: url("../images/background.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--background-container-color);
    padding: 3rem;
    box-shadow: 0px 40px 87px 0px rgba(255, 204, 0, 0.1);
    border-radius: 20px;
    width: 30%;
}

.form-container .login-container-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 3rem;
    box-shadow: 0px 40px 87px 0px rgba(255, 204, 0, 0.1);

    box-shadow: 0px 159px 159px 0px rgba(255, 204, 0, 0.09);

    box-shadow: 0px 358px 215px 0px rgba(255, 204, 0, 0.05);

    box-shadow: 0px 636px 254px 0px rgba(255, 204, 0, 0.01);

    box-shadow: 0px 994px 278px 0px rgba(255, 204, 0, 0);
}

.form-container .login-container-image img {
    margin-bottom: 10px;
}

.form-container .login-container-image .login-container-image-text {
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
}

.form-container .login-container-image .login-container-image-text span {
    color: var(--secondary-color);
}

.form-container .login-header {
    margin-bottom: 3rem;
    justify-content: center;
    align-items: center;
    display: flex;
}

.form-container .login-header h1 {
    font-size: var(--font-size-h1);
    font-weight: var(--font-weight-bold);
}

.form-container form {
    display: flex;
    flex-direction: column;
}

.form-container form .form-input {
    display: flex;
    flex-direction: column;
}

.form-container form .form-input label {
    font-size: var(--font-size-h1);
    font-weight: var(--font-weight-semi-bold);
    margin-bottom: 5px;
}

.form-container form .form-input .number-input {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding: 10px;
    border-radius: 5px;
    gap: 0.5rem;
    outline: none;
    border: 0.5px solid var(--secondary-color);
}

.form-container form .form-input .number-input .country {
    font-size: 13px;
}

.form-container form .form-input input {
    outline: none;
    border: none;
    width: 100%;
}

.form-container form .button {
    border: none;
    outline: none;
    background-color: var(--primary-color);
    border-radius: 25px;
    margin: auto;
    width: 60%;
    padding: 1rem 4rem 1rem 4rem;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* responsive of login page */
@media (max-width: 768px) {
    .form-container {
        padding: 2rem;
        width: 60%;
    }

    .form-container form button {
        width: 80%;
    }
}

@media (max-width: 450px) {
    .form-container {
        width: 75%;
    }
}

/*======================== OTP SCREEN =======================*/
.form-container .otp-container {
    display: flex;
    flex-direction: column;
}

.form-container .otp-container .otp {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-container .otp-container input[type="text"] {
    width: 40px;
    height: 40px;
    font-size: 24px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    outline: none;
}

.form-container .otp-container input[type="text"]:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-container .otp-container button {
    border: none;
    outline: none;
    background-color: var(--primary-color);
    border-radius: 25px;
    margin: auto;
    width: 60%;
    padding: 1rem 4rem 1rem 4rem;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    cursor: pointer;
}

.form-container .otp-container .resend-otp {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.form-container .otp-container .resend-otp p {
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-size: 13px;
}

#continueButton {
    border: none;
    outline: none;
    background-color: var(--primary-color);
    border-radius: 25px;
    margin: auto;
    width: 60%;
    padding: 1rem 4rem 1rem 4rem;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

#resendButton {
    margin-bottom: 1rem;
    border: none;
    outline: none;
    background-color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    font-size: 13px;
    color: var(--secondary-color);
    padding: 1rem 4rem 1rem 4rem;
}

.form-container .otp-container .resend-otp .timer {
    color: var(--text-error-);
}

.form-container .otp-container .success-message {
    display: none;
    margin-top: 10px;
    color: green;
    text-align: center;
}

/* responsive */

@media screen and (max-width: 768px) {
    .form-container .otp-container button {
        width: 80%;
        padding: 1rem 3rem 1rem 3rem;
    }
}

@media (max-width: 450px) {
    .form-container .otp-container input[type="text"] {
        width: 30px;
        height: 35px;
        font-size: 20px;
    }

    .form-container .otp-container .otp {
        gap: 0.5rem;
    }

    .form-container .otp-container .resend-otp p {
        font-size: 12px;
    }
}

/* ================Landing page======================= */
.landing {
    position: relative;
}

.landing .landingPage {
    background-image: url("../images/header.png");
    background-size: cover;
    background-repeat: no-repeat;
    height: 7rem;
    background-position: center;
    background-color: var(--primary-color);
    border-radius: 0 0 20px 20px;
    position: relative;
}

.landing .landing-container {
    display: flex;
    padding: 2rem;
    padding-top: 1rem;
    gap: 1rem;
    margin-bottom: 3rem !important;
}

.landing-container .landing-container-left {
    display: flex;
    flex-direction: column;
    flex-basis: 30% !important;
    align-items: center;
    padding: 2rem 1rem 1rem 1rem;
    border-radius: 20px;
    background-color: var(--background-container-color);
}

.landing-container-left .header {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 3rem;
}

.landing-container-left .header span {
    font-weight: var(--font-weight-bold);
}

.landing-container-left .header-card {
    background-image: url("../images/card.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-color: var(--background-color);
    padding: 1rem 2.5rem 1rem 2.5rem;
    border-radius: 13px;
    display: flex;
    width: 70%;
    flex-direction: column;
    align-items: center;
    margin-bottom: 3.5rem;
    box-shadow: 0px 159px 159px 0px #ffcc0017;
}

.landing-container-left .header-card img {
    margin-bottom: 14px;
}

.landing-container-left .header-card .card-description {
    text-align: center;
    line-height: 30px;
}

.landing-container-left .header-card .card-description span {
    font-weight: var(--font-weight-medium);
    margin-bottom: 14px;
}

.landing-container-left .header-navigation {
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
}

.landing-container-left .header-navigation a {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 1.5rem;
    text-decoration: none;
    color: var(--secondary-color);
    padding: 12px;
    border-radius: 12px;
}

.landing-container-left .header-navigation a.active-nav {
    background-color: var(--primary-color);
    font-weight: var(--font-weight-bold);
}

.landing-container-left .header-navigation a img {
    height: 18px;
    width: 18px;
}

.landing-container .landing-container-right {
    display: flex;
    flex-direction: column;
    flex-basis: 70%;
}

.landing-container-right .header-right {
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 3rem;
    margin-bottom: 5rem;
}

.landing-container-right .header-right .search {
    display: flex;
    align-items: center;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 10px;
    width: 30%;
    gap: 5px;
}

.landing-container-right .header-right .search img {
    height: 15px;
    width: 15px;
}

.landing-container-right .header-right .search input {
    border: none;
    width: 100%;
    outline: none;
    background-color: transparent;
}

.landing-container-right .mobile-card {
    display: none;
}

.landing-container-right .notification {
    position: relative;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.6);
    padding: 0.5rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.landing-container-right .notification .notification-icon {
    height: 30px;
    width: 30px;
    position: relative;
    cursor: pointer;
}

.landing-container-right .notification .dropdown {
    position: absolute;
    top: 100%;
    right: -20%;
    background-color: white;
    border: 1px solid #ccc;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 100;
    min-width: 100px;
    padding: 10px;
}

.dropdown.hidden {
    display: none;
}

.dropdown ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dropdown li {
    padding: 8px 12px;
    cursor: pointer;
}

.dropdown li a {
    text-decoration: none;
    text-align: center;
    text-align: center;
}

.dropdown li:hover {
    background-color: #f0f0f0;
}

.landing-container-right .notification .badge {
    position: absolute;
    top: 3px;
    right: 15px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    padding: 2px 4px;
    font-size: 10px;
}

.landing-container-right .container-right .head {
    margin-bottom: 2rem;
}

.landing-container-right .container-right .head-text {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.landing-container-right .container-right .head-text img {
    width: 75%;
}

.landing-container-right .container-right .head-text p {
    font-size: 25px;
}

.landing-container-right .container-right .table-container {
    display: flex;
    padding: 2rem 5rem 2rem 5rem;
    border-radius: 10px;
    flex-direction: column;
    background-color: var(--background-container-color);
}

.container-right .table-container button {
    border: none;
    outline: none;
    background-color: var(--primary-color);
    border-radius: 25px;
    width: 40%;
    margin-left: auto;
    padding: 1rem 4rem 1rem 4rem;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    cursor: pointer;
}

.container-right .table-container table {
    font-family: arial, sans-serif;
    border-collapse: collapse;
    width: 100%;
}

/* table.beneficiary-details{
    border-collapse: collapse !important;
} */

.container-right .table-container table th {
    background-color: rgba(0, 0, 0, 0.6);
    color: var(--background-container-color);
    font-weight: var(--font-weight-medium);
}

.container-right .table-container table td,
.container-right .table-container table th {
    border: 1px solid var(--secondary-color);
    text-align: left;
    padding: 12px;
}

.container-right .table-container table tr:nth-child(even) {
    background-color: rgba(255, 204, 0, 0.2);
}

footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: var(--secondary-color);
    padding: 1rem;
    text-align: center;
    color: var(--primary-color);
    margin-top: 2rem;
}

/* responsiveness */
@media screen and (max-width: 1111px) {
    .landing-container-right .container-right .head-text img {
        width: 75%;
    }

    .container-right .table-container button {
        width: 60%;
    }
}

@media screen and (max-width: 780px) {
    .landing .landing-container {
        display: flex;
        padding: 0.7rem;
        padding-top: 1rem;
    }

    .landing .landingPage {
        height: 9rem;
    }

    .landing-container .landing-container-left {
        display: none;
    }

    .landing-container .landing-container-right {
        display: flex;
        flex-direction: column;
        flex-basis: 100%;
    }

    .landing-container-right .header-right {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin-bottom: 1rem;
    }

    .landing-container-right .header-right .search {
        width: 100%;
    }

    .landing-container-right .mobile-card {
        display: block;
        flex-wrap: wrap;
        display: flex;
        flex-direction: column;
        background-color: var(--background-container-color);
        padding: 1rem;
        border-radius: 13px;
        margin-bottom: 2rem;
    }

    .landing-container-right .mobile-card .mobile-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1rem;
    }

    .landing-container-right .mobile-card .mobile-header .header {
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .landing-container-right .mobile-card .mobile-card-bg {
        background-image: url("../images/mobile.png");
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        background-color: var(--background-color);
        padding: 1rem 2.5rem 1rem 2.5rem;
        border-radius: 13px;
        display: flex;
        align-items: center;
        gap: 1rem;
        font-size: 13px;
        justify-content: center;
    }

    .landing-container-right .container-right .head-text img {
        width: 60%;
    }

    .landing-container-right .container-right .table-container {
        padding: 1rem;
    }

    .landing-container-right .container-right .table-container button {
        width: 80%;
        margin: auto;
        margin-bottom: 2rem;
    }

    .container-right .table-container table td,
    .container-right .table-container table th {
        font-size: 12px;
        padding: 10px;
    }
}

/* share offer details */
#shareOfferDetailsContainer {
    display: none;
}

#shareOfferDetailsContainer .sharing-details {
    padding: 15px;
    margin-bottom: 20px;
}

#shareOfferDetailsContainer .sharing-details .details-data-containers {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
}

#shareOfferDetailsContainer .sharing-details .details-data p {
    margin-bottom: 10px;
    font-size: 14px;
}

#shareOfferDetailsContainer .button-group {
    display: flex;
    flex-direction: column;
}

#shareOfferDetailsContainer .button-group button {
    border: 1px solid black;
    padding: 0.5rem;
    margin-bottom: 10px;
    border-radius: 5px;
}

#shareOfferDetailsContainer .upload-list-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

#shareOfferDetailsContainer .upload-list-container button {
    border: none;
    background-color: var(--primary-color);
    border-radius: 10px;
    padding: 0.5rem 1rem;
    cursor: pointer;
}

#shareOfferDetailsContainer .beneficiary-table {
    display: flex;
    gap: 1rem;
    padding: 8px;
    flex-direction: column;
    margin-bottom: 2rem;
    border: 1px solid #aaaaaa;
}

#shareOfferDetailsContainer .beneficiary-table .table-item {
    display: flex;
    justify-content: space-between;
    align-items: center !important;
    /* margin-bottom: 1rem; */
}

#shareOfferDetailsContainer .beneficiary-table .table-item input {
    background-color: var(--primary-color) !important;
}

#shareOfferDetailsContainer .beneficiary-table .table-item .toggle-switch {
    position: relative;
    display: inline-block;
    width: 34px;
    height: 20px;
}

#shareOfferDetailsContainer
    .beneficiary-table
    .table-item
    .toggle-switch
    input {
    opacity: 0;
    width: 0;
    height: 0;
}

#shareOfferDetailsContainer .beneficiary-table .table-item .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 20px;
}

#shareOfferDetailsContainer .beneficiary-table .table-item .slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

#shareOfferDetailsContainer
    .beneficiary-table
    .table-item
    input:checked
    + .slider {
    background-color: var(--primary-color);
}

#shareOfferDetailsContainer
    .beneficiary-table
    .table-item
    input:checked
    + .slider:before {
    transform: translateX(14px);
}

#shareOfferDetailsContainer .beneficiary-table .table-item button {
    border: 1px solid black;
    padding: 0.5rem 2rem;
    border-radius: 4px;
}

#shareOfferDetailsContainer .sharing-details .back-btn, .action-btn {
    border: none;
    background-color: var(--primary-color);
    border-radius: 10px;
    padding: 0.5rem 1rem;
    cursor: pointer;
}

@media screen and (max-width: 550px) {
    #shareOfferDetailsContainer .sharing-details {
        padding: 8px;
        margin-bottom: 20px;
    }

    #shareOfferDetailsContainer .sharing-details .details-data-containers {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    #shareOfferDetailsContainer .upload-list-container {
        display: flex;
        flex-direction: column;
        margin-bottom: 2rem;
    }

    #shareOfferDetailsContainer .upload-list-container button {
        border: none;
        margin-top: 1rem;
        background-color: var(--primary-color);
        border-radius: 10px;
        padding: 0.5rem 1rem;
        cursor: pointer;
    }

    #shareOfferDetailsContainer .beneficiary-table .table-item {
        display: flex;
        font-size: 10px;
        justify-content: space-between;
        align-items: center !important;
        margin-bottom: 1rem;
    }

    .landing-container-right .container-right .head-text .details-text {
        font-size: 14px;
    }
}

/* =============toggle sidebar================== */
/* Menu */
.menu {
    width: 70%;
    height: 100% !important;
    background-color: var(--background-container-color);
    position: fixed;
    border-radius: 0 13px 13px 0;
    top: 0;
    left: 0;
    padding: 1rem;
}

.overlay {
    position: fixed;
    display: none;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(6.5px);
    top: 0;
    bottom: 0;
    filter: blur(20px);
    -webkit-filter: blur(1px);
}

.menu-overlay {
    display: none;
}

.menu .sidebar {
    height: 100% !important;
}

.menu .sidebar .sidebar-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.menu .sidebar .sidebar-header .header {
    margin-bottom: 0;
}

.menu .sidebar .sidebar-header .close-menu {
    color: var(--primary-color);
    position: absolute;
    right: 30px;
    top: 30px;
}

.menu .sidebar .header-card {
    margin-bottom: 4rem;
    padding: 0.5rem;
    margin-top: 1rem;
    width: 92%;
}

.menu .sidebar .sidebar-header .close-menu svg {
    background-color: var(--primary-color);
}

.menu .sidebar .mobile-navigation {
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
}

.menu .sidebar .mobile-navigation a {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 2rem;
    text-decoration: none;
    color: var(--secondary-color);
    padding: 12px;
    border-radius: 12px;
}

.menu .mobile-navigation {
    margin-bottom: 5rem;
}
/* End of menu */

/* centere modal on the landing page */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.18);
    z-index: 998;
    backdrop-filter: blur(6.5px);
    filter: blur(20px);
    -webkit-filter: blur(1px);
}
.modal-content {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--background-color);
    padding: 20px;
    border-radius: 25px;
    z-index: 999;
    width: 50%;
}

.modal-content .close_btn {
    display: flex;
    align-items: center;
    justify-content: end;
    margin-bottom: 2rem;
}

.modal-content .close_btn img {
    cursor: pointer;
}

.modal-content .modal-body {
    display: flex;
    flex-direction: column;
    padding: 3rem;
    padding-top: 10px;
    /* border-collapse: collapse; */
    /*  */
}

.modal-content .modal-body h2 {
    font-size: 17px;
    margin-bottom: 2rem;
    text-align: center;
}

.modal-content .modal-body p {
    font-size: 14px;
    margin-bottom: 2rem;
    text-align: center;
}

.modal-content .modal-body .body-input {
    /* border: 1px solid red; */
}

.modal-content .modal-body .body-input img {
    height: 50px;
    width: 80px;
}

.modal-content .modal-body .body-input .payments {
    display: flex;
    gap: 5rem;
    align-items: center;
}

.modal-content .modal-body .body-input .payments .payment-option {
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-content .modal-body .body-input .input {
    display: flex;
    flex-direction: column;
    padding: 10px;
}

.modal-content .modal-body .body-input .input label {
    font-size: 13px;
    margin-bottom: 5px;
}

.modal-content .modal-body .body-input .input .number-input {
    display: flex;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--secondary-color);
    border-radius: 5px;
    outline: none;
    gap: 0.5rem;
    background-color: transparent;
}

.modal-content .modal-body .body-input .input .number-input .country {
    font-size: 13px;
}

.modal-content .modal-body .body-input .input .number {
    border: none;
    width: 100%;
    outline: none;
    padding: 0;
}

.modal-content .modal-body .body-input .input input {
    padding: 12px;
    border: 1px solid var(--secondary-color);
    border-radius: 5px;
    outline: none;
    background-color: transparent;
}

.modal-content .modal-body .body-input button {
    padding: 12px;
    border: none;
    outline: none;
    text-decoration: none;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    width: 100%;
    text-align: center;
    border-radius: 13px;
    margin-top: 2rem;
    cursor: pointer;
    font-weight: bold;
}

.modal-content .modal-body .table table {
    border-collapse: collapse;
    width: 100%;
}

.modal-content .modal-body table th {
    background-color: rgba(0, 0, 0, 0.6);
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
}

.modal-content .modal-body table td,
.modal-content .modal-body table th {
    border: 1px solid var(--secondary-color);
    text-align: center;
    padding: 13px;
    font-size: 12px;
}

.modal-content .modal-body .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.modal-content .modal-body .form-group label,
.modal-content .modal-body form label {
    margin-bottom: 3px;
    font-size: 14px;
}

.modal-content .modal-body .form-group input {
    border: 1px solid var(--secondary-color);
    padding: 10px;
    outline: none;
    border-radius: 10px;
}

.modal-content .modal-body select {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--secondary-color);
    outline: none;
    border-radius: 10px;
    margin-top: 3px;
    margin-bottom: 2rem;
    background-color: transparent;
}

.modal-content .modal-body button {
    width: 100%;
    padding: 10px;
    background-color: var(--primary-color);
    font-weight: bold;
    border: 1px solid var(--secondary-color);
    outline: none;
    border-radius: 10px;
    cursor: pointer;
}

.modal-content .modal-body .boolean {
    display: flex;
    gap: 1rem;
}

.modal-content .modal-body table tr:nth-child(even) {
    background-color: rgba(255, 204, 0, 0.2);
}

@media screen and (max-width: 780px) {
    .modal-content {
        width: 80%;
    }

    .modal-content .close_btn {
        margin-bottom: 1rem;
    }

    .modal-content .modal-body {
        padding: 1rem;
    }

    .modal-content .modal-body h2 {
        margin-bottom: 1rem;
    }

    .modal-content .modal-body p {
        margin-bottom: 1rem;
    }

    .modal-content .modal-body table td,
    .modal-content .modal-body table th {
        border: 1px solid var(--secondary-color);
        text-align: center;
        padding: 8px;
        font-size: 9px;
    }

    .modal-content .modal-body .body-input .payments {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        align-items: start;
    }
}

/* loader */
.landing-container-right .loader {
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 9999;
    transform: translate(-50%, -50%);
    display: none;
}

.landing-container-right .loader .dots span {
    position: absolute;
    height: 8px;
    width: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: rotate(calc(var(--i) * (360deg / 15))) translateY(35px);
    animation: animate 1.5s linear infinite;
    animation-delay: calc(var(--i) * 0.1s);
    opacity: 0;
}

@keyframes animate {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/* sucessfull modal popup */
.modal-content .modal-body .successful {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content .modal-body .successful img {
    height: 150px;
    width: 180px;
}

.modal-content .modal-body .successful-message {
    display: none;
    justify-content: center;
    align-items: center;
}

.modal-content .modal-body .successful-message img {
    height: 150px;
    width: 180px;
}

/* =================== Redeemed points ===================== */
.landing-container-right .container-right .points img {
    width: 65%;
}

@media screen and (max-width: 1111px) {
    .landing-container-right .container-right .points img {
        width: 45%;
    }
}

@media screen and (max-width: 780px) {
    .landing-container-right .container-right .points img {
        width: 50%;
    }

    .landing-container-right .container-right .points p {
        font-size: 17px;
        margin-bottom: 1rem;
    }

    .landing-container-right .container-right .head .text {
        font-size: 13px;
    }
}

.landing-container-right .container-right .table-container .points-containers {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
}

.container-right .table-container .points-containers .row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.container-right .table-container .points-containers .row .pointss {
    display: flex;
    flex-direction: column;
    width: 300px;
}

.container-right .table-container .points-containers .row .pointss .point {
    display: flex;
    flex-direction: column;
    background-color: var(--secondary-color);
    border-radius: 10px;
    color: var(--primary-color);
    padding: 1rem 3rem 1rem 3rem;
    align-items: center;
    margin-bottom: 0.5rem;
    cursor: pointer;
    box-shadow: 0px 4px 8px 0px rgba(255, 212, 41, 0.1); /* #FFD4291A */
}

.container-right .table-container .points-containers .row .pointss .no-points {
    background-color: rgba(0, 0, 0, 0.6);
}

.container-right .table-container .points-containers .row .pointss span {
    text-align: center;
}

/* responsiveness */
@media screen and (max-width: 675px) {
    .container-right .table-container .points-containers .row .pointss {
        width: 250px;
    }

    .container-right .table-container .points-containers .row {
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

@media screen and (max-width: 572px) {
    .container-right .table-container .points-containers .row .pointss {
        width: 250px;
    }
}

/* ========================settings page====================== */
.landing-container-right .container-right .settings-container .settings {
    margin-top: 0;
}

.landing-container-right .container-right .settings-container {
    padding: 2rem;
}

.landing-container-right .container-right .header-card {
    background-image: url("../images/card.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-color: var(--background-color);
    padding: 1rem 2.5rem 1rem 2.5rem;
    border-radius: 13px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 3.5rem;
    box-shadow: 0px 159px 159px 0px #ffcc0017;
}

.landing-container-right .container-right .header-card img {
    margin-bottom: 14px;
}

.landing-container-right .container-right .header-card .card-description {
    text-align: center;
    line-height: 30px;
}

.landing-container-right .container-right .header-card .card-description span {
    font-weight: var(--font-weight-medium);
    margin-bottom: 14px;
}

.settings-container .settings form {
    display: flex;
    flex-direction: column;
}

.settings-container .settings .form-settings {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: 3rem;
}

.settings-container .settings .form-settings .input-settings {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    width: 50%;
}

.settings-container .settings .form-settings .input-settings input {
    border: 1px solid var(--secondary-color);
    outline: none;
    padding: 10px;
    border-radius: 5px;
    background-color: transparent;
}

.settings-container .settings .form-settings .input-settings select {
    border: 1px solid var(--secondary-color);
    outline: none;
    padding: 10px;
    border-radius: 5px;
    width: 100%;
    background-color: transparent;
}

.settings-container .settings form button {
    border: none;
    outline: none;
    background-color: var(--primary-color);
    border-radius: 10px;
    margin: auto;
    width: 60%;
    padding: 1rem 4rem 1rem 4rem;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: bold;
}

/* responsiveness */
@media screen and (max-width: 780px) {
    .landing-container-right .container-right .settings-container {
        padding: 1rem;
    }

    .settings-container .settings .form-settings {
        display: flex;
        gap: 2rem;
        flex-direction: column;
    }

    .settings-container .settings .form-settings .input-settings {
        width: 100%;
    }

    .settings-container .settings form button {
        width: 100% !important;
        margin: 0;
        border-radius: 10px;
        padding: 1rem 2rem 1rem 2rem;
    }
}

/* ======================notification================= */
.modal-content .modal-notification {
    padding: 0;
}

.modal-content .modal-notification h2 {
    margin-bottom: 10px;
}

.modal-content .modal-notification h2 span {
    padding: 0.5rem;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.modal-content .modal-notification .trash_btn {
    display: flex;
    justify-content: end;
    align-items: center;
    cursor: pointer;
    gap: 5px;
    margin-bottom: 2rem;
}

.modal-content .modal-notification .trash_btn img {
    height: 20px;
    width: 20px;
}

.modal-content .modal-notification .trash_btn span {
    font-size: 14px;
    color: var(--text-error-);
}

.modal-content .modal-notification .body-input {
    overflow-y: scroll;
    max-height: 300px;
}

.modal-content .modal-notification .body-input::-webkit-scrollbar {
    width: 3px;
    height: 12px;
}

.modal-content .modal-notification .body-input::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 6px;
}

.modal-content .modal-notification .body-input::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 6px;
}

.modal-content .modal-notification .notification-body {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    justify-content: space-between;
}

.modal-content .modal-notification .notification-body .left-body {
    display: flex;
    align-items: center;
    width: 65%;
    gap: 1rem;
}

.modal-content
    .modal-notification
    .notification-body
    .left-body
    .notification-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background-color: var(--secondary-color);
    border-radius: 50%;
    font-size: 0.6rem;
    color: var(--background-container-color);
}

.modal-content
    .modal-notification
    .notification-body
    .left-body
    .notification-content
    h1 {
    font-size: 17px;
    margin-bottom: 1rem;
}

.modal-content
    .modal-notification
    .notification-body
    .left-body
    .notification-content
    h4 {
    font-size: 12px;
    font-weight: normal;
}

.modal-content .modal-notification .notification-body .right-body {
    display: flex;
    align-items: end;
    flex-direction: column;
}

.modal-content .modal-notification .notification-body .right-body .icon {
    background-color: var(--primary-color);
    border-radius: 50%;
    padding: 5px;
    margin-bottom: 1rem;
}

.modal-content .modal-notification .notification-body .right-body .time {
    font-size: 13px;
}

.divider {
    height: 0.2px;
    width: 100%;
    background-color: rgb(168, 169, 170);
    margin-bottom: 1rem;
}

/* responsive */
@media screen and (max-width: 780px) {
    .modal-content .modal-notification h2 {
        margin-bottom: 1.5rem;
    }

    .modal-content .modal-notification .notification-body .left-body {
        width: 80%;
        gap: 0.7rem;
    }

    .modal-content
        .modal-notification
        .notification-body
        .left-body
        .notification-badge
        img {
        height: 25px;
        width: 40px;
    }

    .modal-content
        .modal-notification
        .notification-body
        .left-body
        .notification-badge
        span {
        font-size: 8px;
    }

    .modal-content
        .modal-notification
        .notification-body
        .left-body
        .notification-content
        h1 {
        font-size: 14px;
        margin-bottom: 0.5rem;
    }

    .modal-content
        .modal-notification
        .notification-body
        .left-body
        .notification-content
        h4 {
        font-size: 9px;
        font-weight: normal;
    }

    .modal-content .modal-notification .notification-body .right-body .time {
        font-size: 10px;
    }
}

@media screen and (max-width: 430px) {
    .modal-content .modal-notification .notification-body .left-body {
        width: 80%;
        gap: 0.5rem;
    }

    .modal-content
        .modal-notification
        .notification-body
        .left-body
        .notification-badge {
        padding: 0.6rem;
    }

    .modal-content
        .modal-notification
        .notification-body
        .left-body
        .notification-badge
        img {
        height: 18px;
        width: 30px;
    }

    .modal-content
        .modal-notification
        .notification-body
        .left-body
        .notification-badge
        span {
        font-size: 6px;
    }

    .modal-content
        .modal-notification
        .notification-body
        .left-body
        .notification-content
        h1 {
        font-size: 11px;
        margin-bottom: 0.2rem;
    }

    .modal-content
        .modal-notification
        .notification-body
        .left-body
        .notification-content
        h4 {
        font-size: 8px;
        font-weight: normal;
    }

    .modal-content .modal-notification .notification-body .right-body .time {
        font-size: 8px;
    }
}

/* ========================================CELEBRATOR'S DASHBOARD============================= */
/* OFFERS */
.offers-container {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.offers-container .offers-left {
    background-color: var(--background-container-color);
    padding: 2rem;
    border-radius: 20px;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.offers-left .header {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 0.5rem;
    justify-content: center;
}

.offers-left .header img {
    height: 25px;
    width: 25px;
}

.offers-left .header span {
    font-weight: bold;
}

.offers-left .offer-body {
    margin-top: 1rem;
}

.offers-left .offer-body .offers {
    display: flex;
    flex-direction: column;
    width: 100% !important;
    margin-bottom: 2rem;
}

.offers-left .offer-body .offers .amount {
    color: var(--primary-color);
    font-weight: bold;
    border-radius: 13px;
    cursor: pointer;
    text-align: center;
    margin-bottom: 1rem;
    padding: 0.8rem 2rem 0.8rem 2rem;
    background-color: var(--secondary-color);
    box-shadow: 2px 10px 15px 2px rgba(255, 212, 41, 0.1);
}

.offers-left .offer-body .offers .description {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
}

.offers-container .offers-right {
    background-color: var(--background-container-color);
    padding: 2rem;
    border-radius: 20px;
    width: 50%;
    display: flex;
    flex-direction: column;
}

.offers-right .header {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 0.5rem;
    justify-content: center;
}

.offers-right .header img {
    height: 25px;
    width: 25px;
}

.offers-right .header span {
    font-weight: bold;
}

.offers-right .offer-body {
    margin-top: 1rem;
}

.offers-right .offer-body .offers {
    display: flex;
    flex-direction: column;
    width: 100% !important;
    margin-bottom: 2rem;
}

.offers-right .offer-body .offers .amount {
    color: var(--primary-color);
    font-weight: bold;
    border-radius: 13px;
    cursor: pointer;
    text-align: center;
    margin-bottom: 1rem;
    padding: 0.8rem 2rem 0.8rem 2rem;
    background-color: var(--secondary-color);
    box-shadow: 2px 10px 15px 2px rgba(255, 212, 41, 0.1);
}

.offers-right .offer-body .offers .description {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
}

@media screen and (max-width: 620px) {
    .offers-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 1rem;
    }

    .offers-container .offers-left,
    .offers-container .offers-right {
        width: 90%;
        margin-bottom: 1rem;
    }
}

/* ================================Celebrator's hisory screen============================= */
.landing-container-right .container-right .history-container {
    display: flex;
    padding: 0;
    flex-wrap: wrap;
    border-radius: 10px;
    flex-direction: column;
    background-color: var(--background-container-color);
}

.container-right .history-container .history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
}

.history-container .history-header .search {
    display: flex;
    align-items: center;
    border: 1px solid var(--secondary-color);
    padding: 0.5rem 1rem 0.5rem 1rem;
    border-radius: 20px;
    gap: 5px;
}

.history-container .history-header .search input {
    border: none;
    outline: none;
    background-color: transparent;
}

.history-container .history-header .select-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.history-container .history-header .select-container .select {
    padding: 7px;
    border-radius: 20px;
    background-color: var(--secondary-color);
}

.history-container .history-header .select-container select {
    border: none;
    outline: none;
    background-color: transparent;
    color: var(--primary-color);
}

.container-right .history-container .table {
    overflow: scroll;
}

.container-right .history-container .table::-webkit-scrollbar {
    width: 3px;
    height: 5px;
}

.container-right .history-container .table::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

.container-right .history-container .table::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 6px;
}

.container-right .history-container .table table {
    border-collapse: collapse;
    width: 150%;
}

.container-right .history-container table th {
    background-color: rgba(0, 0, 0, 0.6);
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
}

.container-right .history-container table tr {
    cursor: pointer;
}

.container-right .history-container table td,
.container-right .history-container table th {
    border: 1px solid var(--secondary-color);
    text-align: center;
    padding: 13px;
    font-size: 12px;
}

.container-right .history-container table tr:nth-child(even) {
    background-color: rgba(255, 204, 0, 0.2);
}

.container-right .history-container .pagination-container {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 10px;
    padding: 2rem;
}

.container-right .history-container .pagination-container .previous,
.container-right .history-container .pagination-container .next {
    display: flex;
    border: 1px solid var(--secondary-color);
    align-items: center;
    border-radius: 5px;
    padding: 5px 10px 5px 10px;
    gap: 3px;
    cursor: pointer;
}

.container-right .history-container .pagination-container .pagination {
    display: flex;
    align-items: center;
    gap: 2px;
    cursor: pointer;
}

.container-right .history-container .pagination-container .pagination .number {
    padding: 5px 9px 5px 9px;
}

.container-right
    .history-container
    .pagination-container
    .pagination
    .activeNumber {
    background-color: var(--primary-color);
    border-radius: 5px;
}

@media screen and (max-width: 780px) {
    .container-right .history-container .history-header {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

@media screen and (max-width: 535px) {
    .container-right .history-container .table {
        width: 300px;
        margin: auto;
    }
}

@media screen and (max-width: 425px) {
    .container-right .history-container .table {
        width: 375px;
    }
}

@media screen and (max-width: 375px) {
    .container-right .history-container .table {
        width: 350px;
    }
}

@media screen and (max-width: 320px) {
    .container-right .history-container .table {
        width: 300px;
    }
}

/* ================== celebraotr dashboard ==================== */
.dashboard {
    display: flex;
    flex-direction: column;
}

.dashboard .dashboard-card-container {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.dashboard .dashboard-card-container .dashboard-card {
    display: flex;
    flex-direction: column;
    padding: 2rem 1rem 1.5rem 1rem;
    width: 50%;
    align-items: center;
    background-color: var(--background-container-color);
    border-radius: 14px;
    box-shadow: 5px 5px 3px #aaaaaa;
    cursor: pointer;
    text-align: center;
}

.dashboard .dashboard-card-container .dashboard-card h1 {
    font-weight: var(--font-weight-medium);
    font-size: 22px;
    margin-bottom: 1rem;
}

.dashboard .dashboard-card-container .dashboard-card p {
    font-size: 13px;
}

.dashboard .dashboard-table table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 2rem;
}

.chart-container, #dataChart {
    width: 120px !important;
    height: 120px !important;
}


/* test */
.dashboard .dashboard-table table th {
    background-color: rgba(0, 0, 0, 0.6);
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
}

.dashboard .dashboard-table table td,
.dashboard .dashboard-table table th {
    border: 1px solid var(--secondary-color);
    text-align: center;
    padding: 13px;
    font-size: 12px;
}

.dashboard .dashboard-table table tr:nth-child(even) {
    background-color: rgba(255, 204, 0, 0.2);
}
/* end of test */

/* .dashboard .dashboard-table table th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.dashboard .dashboard-table table th,
.dashboard .dashboard-table table td {
    border: 1px solid #ddd;
    padding: 8px;
} */

@media screen and (max-width: 470px) {
    #dashboard-line {
        display: none;
    }

    .dashboard .dashboard-card-container {
        display: flex;
        flex-direction: column;
    }

    .dashboard .dashboard-card-container .dashboard-card {
        width: auto;
    }

    .dashboard .dashboard-table table th {
        font-size: 14px;
    }

    .dashboard .dashboard-table table th,
    .dashboard .dashboard-table table td {
        font-size: 12px;
    }
}

/* ================= beneficiary ============================ */
.container-right .beneficiary-container {
    display: flex;
    padding: 0;
    flex-wrap: wrap;
    border-radius: 10px;
    margin-bottom: 1rem;
    flex-direction: column;
    background-color: var(--background-container-color);
}

.container-right .beneficiary {
    padding: 2rem;
}

.container-right .beneficiary .add-btn {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    gap: 10px;
    width: 23%;
    padding: 0.5rem;
    cursor: pointer;
    border-radius: 14px;
    background-color: var(--primary-color);
}

.container-right .beneficiary .add-btn svg {
    height: 20px;
    width: 20px;
}

.container-right .beneficiary table {
    border-collapse: collapse;
    width: 100%;
}

.container-right .beneficiary table th {
    background-color: rgba(0, 0, 0, 0.6);
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
}

.container-right .beneficiary table td,
.container-right .beneficiary table th {
    border: 1px solid var(--secondary-color);
    text-align: center;
    padding: 13px;
    font-size: 12px;
}

.container-right .beneficiary table tr:nth-child(even) {
    background-color: rgba(255, 204, 0, 0.2);
}

.container-right .beneficiary table .delete {
    color: red;
    font-weight: bold;
    cursor: pointer;
}

.custom-select {
    width: 100% !important;
    padding: 0.5px !important;
    border: 1px solid var(--secondary-color) !important;
    outline: none !important;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
    border-radius: 10px !important;
    background-color: transparent !important;
}

a.update{
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    outline: none;
    border-radius: 5px;
    margin: auto;
    width: 60%;
    text-decoration: none;
    padding: 0.4rem;
}

a.delete{
    color: red;
    background-color: rgba(128, 128, 128, 0.411);
    border: none;
    outline: none;
    border-radius: 5px;
    margin: auto;
    width: 60%;
    text-decoration: none;
    padding: 0.4rem;
}

@media screen and (max-width: 768px) {
    .container-right .beneficiary .add-btn {
        width: 30%;
        font-size: 14px;
    }

    .container-right .h-text {
        display: none;
    }
}

@media screen and (max-width: 570px) {
    .container-right .beneficiary {
        padding: 1rem;
    }

    .container-right .beneficiary .add-btn {
        width: 50%;
    }

    .container-right .beneficiary table td,
    .container-right .beneficiary table th {
        padding: 10px;
        font-size: 10px;
    }
}

.upload-list-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.upload-list-container button {
    border: none;
    background-color: var(--primary-color);
    border-radius: 10px;
    padding: 0.5rem 1rem;
    cursor: pointer;
}

@media screen and (max-width: 550px) {
    .upload-list-container {
        display: flex;
        flex-direction: column;
        margin-bottom: 2rem;
    }

    .upload-list-container button {
        border: none;
        margin-top: 1rem;
        background-color: var(--primary-color);
        border-radius: 10px;
        padding: 0.5rem 1rem;
        cursor: pointer;
    }
}

