/* ==== root variables === */
@import url('https://fonts.googleapis.com/css2?family=Orbitron&family=Poppins:wght@400;600;700&family=Roboto:wght@400;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-transform: capitalize;
}

body {
    width: 100vw;
    height: 100vh;
    background-color: #f9f9f9;
    font-family: 'Roboto', sans-serif;
    /* Defa.menut font */
    line-height: 1.6;
}

.status-pending,
.status-completed,
.status-failed,
.status-unknown {
    font-size: calc(var(--sm-text) - 1px);
    font-family: var(--font-family);
    padding: .5em 1.1em;
    border-radius: 20px;
}

.status-completed {
    background: rgb(115, 243, 115);
}

.status-pending {
    background: rgb(249, 207, 127);
    /* Solid Orange */
}

.status-failed {
    background: rgb(245, 121, 121);
}

.status-unknown {
    background: var(--primary-color);
}

.website_wrapper {
    display: flex;
    flex-direction: column;
    /* Stack children vertically */
    min-height: 100vh;
    /* Make the container full viewport height */
}

html {
    scroll-behavior: smooth;
    font-size: 16px;

}

.text-center {
    text-align: center;
    margin: 1em auto;
}

a {
    text-decoration: none;
    color: #000;
}

h1,
h2,
h3 {
    font-family: 'Poppins', sans-serif;
    /* Headings using Poppins */
}

tm {
    margin-bottom: 20px;
    font-size: 10px;
}

.row {
    display: flex;
    align-items: center;
}

.col {
    flex: 1;
}

img {
    width: 100%;
}

.container {
    max-width: 1250px;
    width: 100%;
    display: block;
    margin: 0 auto;
}

#loading {
    display: none;
    /* Hidden by default */
    font-size: 16px;
    color: #007BFF;
    /* Change color as needed */
    margin-top: 10px;
    /* Spacing */
}

.message {
    padding: 10px;
    margin-top: 10px;
    border-radius: 5px;
}

.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.info {
    background-color: coral;
    color: #fff;
    border: 1px solid #f5c6cb;
}

.wrap {
    max-width: 100%;
    width: 100%;
    height: 100%;
    display: block;
    margin: 0 auto;
}

.arrow {
    transition: transform 0.3s ease;
}

.arrow.rotated {
    transform: rotate(180deg);
}

.link {
    width: max-content;
    padding: .7em 1.2em;
    border: 1px solid var(--primary-color);
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.link:hover {
    background: transparent;
}

.link a {
    color: #fff;
    transition: var(--transition);
}

.link:hover a {
    color: #000;
}

#message {
    margin-top: 10px;
    padding: 10px;
    border-radius: 5px;
}

.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

:root,
[data-bs-theme=light] {
    --bs-body-font-family: "DM Sans", sans-serif;
    --bs-heading-font-family: 'SuisseIntl SemiBold';
    --bs-body-font-size: clamp(13px, 1vw, 1.1rem);
    --bs-body-font-weight: 400;
    --bs-body-line-height: 1.5;
    --bs-body-bg: #FFFFFF;
    --bs-body-bg-rgb: 255, 255, 255;
    --bs-body-color: #6B6B6B;
    --bs-body-color-rgb: 107, 107, 107;
    --bs-secondary-color: #C6C6C6;
    --bs-secondary-color-rgb: 198, 198, 198;
    --bs-heading-color: #012A2B;
    --bs-primary: #D9FF43;
    --bs-dark: #012A2B;
    --bs-light: #E4EEEF;
    --bs-secondary: #023436;
    --bs-primary-rgb: 217, 255, 67;
    --bs-dark-rgb: 1, 42, 43;
    --bs-light-rgb: 228, 238, 239;
    --bs-secondary-rgb: 2, 52, 54;
    --bs-border-color: #E4EEEF;
    --bs-border-color-translucent: rgba(228, 238, 239, 1);
    --bs-border-radius: 10px;
    --bs-border-radius-sm: 5px;
    --bs-border-radius-lg: 20px;
    --bs-transition: 300ms ease;

    --primary-color: var(--bs-heading-color);
    --secondary-color: #000000;
    --accent-color: #F0F0F0;

    /* font-sizes */
    --header: clamp(1.5em, 2.2rem, 2.5vw);
    --header-sm: clamp(1.5em, 2rem, 2.2vw);
    --text-size: clamp(1em, 1.5em, 2vw);
    --text-sm: clamp(.9em, 1rem, 1.5vw);
    --sm-text: clamp(.6em, .8rem, 1vw);

    /* transition */
    --transition: .5s ease-in-out;

    /* box-shadow */
    --box-shadow1: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    --box-shadow2: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;


    /* filter */
    --filter-1: brightness(0) saturate(100%) invert(42%) sepia(85%) saturate(3251%) hue-rotate(184deg) brightness(95%) contrast(96%);

    /* font family */
    --font-family: 'Poppins', sans-serif;
}


body {
    background-color: #f9f9f9;
}

/* ====== reusable css ==== */

/* ====== side bar start ==== */
header {
    width: 300px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: #f9f9f9;
    box-shadow: var(--box-shadow2);
    overflow-y: auto;
}

header .user_summary {
    width: 100%;
    border-bottom: 1px solid #707070;
    padding: 20px;
    height: fit-content;
}

header .user_summary .top_profile {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin: 14px 0;
}

header .user_summary .top_profile img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--bs-heading-color);
}

header .user_summary .top_profile .account_summary {
    display: flex;
    flex-direction: column;
}

header .user_summary .top_profile .account_summary span:first-child {
    font-size: clamp(13px, .9vw, 1.2rem);
    font-weight: 500;
    color: var(--bs-heading-color);
}

header .user_summary .top_profile .account_summary span:last-child {
    font-size: clamp(10px, .7vw, 1.2rem);
    font-weight: 600;
    color: #838282;
}

header .user_summary .down_display {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

header .user_summary .down_display h3 b,
header .user_summary .down_display h3 {
    font-size: clamp(13px, .890vw, 1.2rem);
    font-weight: 300;
    color: #838282;
}

header nav .menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    padding: 30px;
    width: 100%;
}


header nav .menu .menu_list {
    padding: .4em 0;
    cursor: pointer;
    transition: all .5s ease-in-out;
    width: 100%;
}

header nav .menu .menu_list:hover {
    transform: translateX(10px);
}


header nav .menu .menu_list a {
    color: var(--bs-heading-color);
    font-size: clamp(13px, 1.1vw, 1.2rem);
    font-weight: 500;
    text-decoration: none;
    text-transform: capitalize;
}

header nav .menu .menu_list a .menu_link_flex {
    display: flex;
    align-items: center;
    gap: 10px;
}

header nav .menu .menu_list a .home_icon {
    width: 17px;
    filter: brightness(0) saturate(100%) invert(11%) sepia(34%) saturate(2436%) hue-rotate(148deg) brightness(92%) contrast(99%);
}


header .menu .menu_list .text_wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header .menu .menu_list .arrow {
    width: 15px;
}

header .menu .submenu {
    padding: 0 1.1em;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
}

header .menu .submenu.show {
    max-height: 400px;
    overflow-y: auto;
}

header .menu .submenu .sub_list {
    padding: .5em 0;
}

header .menu .submenu .sub_list a {
    font-size: clamp(13px, .9vw, 1rem);
    cursor: pointer;
}

.bottom_link {
    width: calc(100% - 300px);
    position: relative;
    left: 300px;
    height: 4rem;
    background: #fff;
    box-shadow: var(--box-shadow1);
    transition: all .5s ease-in-out;
    display: flex;
    align-items: center;
}

.profile {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: end;
    padding: 0 30px;
    gap: 20px;
}

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

.profile a {
    background: var(--bs-heading-color);
    color: #fff;
    padding: .8em 1.3em;
    border-radius: 8px;
}

/* ====== side bar end ==== */

/* ==== main section === */
.page_wrapper {
    display: flex;
    flex-direction: column;
    /* Stack children vertically */
    min-height: 100vh;
    /* Make the container full viewport height */
}

main {
    width: calc(100% - 300px);
    position: relative;
    left: 300px;
    flex: 1;
    /* Allow the main content to grow and fill available space */
}

.dashboard_welcome {
    margin: 30px 0;
    padding: 0 20px;
    max-width: 100%;
    width: 100%;
}

.dashboard_welcome .dashboard_welcome_flex,
.dashboard_welcome .dashboard_welcome_head .dashboard_welcome_head_flex .head_row,
.dashboard_welcome .dashboard_welcome_head .dashboard_welcome_head_flex {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.dashboard_welcome .dashboard_welcome_head .dashboard_welcome_head_flex h1 {
    font-size: clamp(13px, 1.1vw, 1.4rem);
    text-transform: capitalize;
    font-family: var(--font-family);
    color: #02253e;
    position: relative;
}

.dashboard_welcome .dashboard_welcome_head .dashboard_welcome_head_flex h1::after {
    position: absolute;
    content: '';
    bottom: 0;
    right: 0;
    width: 40px;
    height: 4px;
    background-color: var(--bs-heading-color);
}

.dashboard_welcome .dashboard_welcome_head .dashboard_welcome_head_flex .wrapper:first-child {
    background: var(--bs-heading-color);
}

.dashboard_welcome .dashboard_welcome_head .dashboard_welcome_head_flex .wrapper:last-child {
    background: green;
}

.dashboard_welcome .dashboard_welcome_head .dashboard_welcome_head_flex .wrapper {
    padding: 2px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 auto;
}

.dashboard_welcome .dashboard_welcome_head .dashboard_welcome_head_flex .wrapper img {
    width: 18px;
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(24%) hue-rotate(114deg) brightness(108%) contrast(108%);
}

.dashboard_welcome .dashboard_welcome_head .dashboard_welcome_head_flex .wrapper a {
    font-size: clamp(12px, .9vw, 1rem);
    color: #fff;
}

.dashboard_welcome .dashboard_welcome_flex {
    margin: 50px 0;
}

.dashboard_welcome .dashboard_welcome_flex .dashboard_welcome_row {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
}

.dashboard_welcome .dashboard_welcome_flex .dashboard_welcome_row>div {
    flex: 1;
}

.dashboard_welcome .dashboard_welcome_flex .dashboard_welcome_row_flex.last {
    border-left: 2px solid #c7c8c8;
    padding-left: 20px;
}

.dashboard_welcome .dashboard_welcome_flex .dashboard_welcome_row_flex .title {
    font-size: clamp(12px, 1vw, 1.4rem);
    color: #727272;
    font-family: var(--font-family);
    text-transform: uppercase;
}

.dashboard_welcome .dashboard_welcome_flex .dashboard_welcome_row_flex .balance {
    font-size: clamp(12px, 1.6vw, 1.8rem);
    color: #032843;
}

.dashboard_welcome .dashboard_welcome_flex .dashboard_welcome_row_flex .statement {
    text-decoration: underline;
    color: var(--bs-heading-color);
    font-size: clamp(12px, 1vw, 1.4rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: fit-content;
    gap: 14px;
}

.dashboard_welcome .dashboard_welcome_flex .dashboard_welcome_row .account_details_box .details {
    max-width: 500px;
    width: 100%;
}


.dashboard_welcome .dashboard_welcome_flex .dashboard_welcome_row .account_details_box h1 {
    font-size: clamp(12px, 1.2vw, 1.4rem);
    color: #032843;
}

.dashboard_welcome .dashboard_welcome_flex .dashboard_welcome_row .account_details_box .details li {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .6em 10px;
}

.dashboard_welcome .dashboard_welcome_flex .dashboard_welcome_row .account_details_box .details li:nth-child(odd) {
    background: rgb(238, 237, 237);
}


.dashboard_welcome .dashboard_welcome_flex .dashboard_welcome_row .account_details_box .details li span {
    font-size: clamp(12px, 1vw, 1.1rem);
    font-weight: 500;
}

.dashboard_welcome .dashboard_welcome_flex .dashboard_welcome_row .account_details_box .details li figcaption {
    color: #032843;
    font-size: clamp(12px, .9vw, 1rem);
    font-weight: 600;
}

.dashboard_welcome .dashboard_welcome_flex .dashboard_welcome_row .account_details_box .details li a {
    padding: 2px 15px;
    color: #fff;
    font-size: clamp(12px, .9vw, 1rem);
}

.dashboard_welcome .dashboard_welcome_flex .dashboard_welcome_row .account_details_box .details li a:first-child {
    background: green;

}

.dashboard_welcome .dashboard_welcome_flex .dashboard_welcome_row .account_details_box .details li a:last-child {
    background-color: red;
}

.warning .container {
    width: 100%;
    background: #fff;
    box-shadow: var(--box-shadow1);
    text-align: center;
}

.warning .container p {
    line-height: 1.9;
    display: block;
    margin: 0 auto;
    font-family: var(--font-family);
    font-size: var(--sm-text);
}

.warning .container p a {
    font-size: var(--text-sm);
    color: var(--primary-color);
}

/* first section */
.mobile_welcome,
.welcome_dashboard,
.warning,
.section4,
.section3,
.section2,
.section1 {
    width: 100%;
    padding: 0 30px;
    height: 100%;
    margin-top: 50px;
}

.section4_list.transaction {
    grid-template-columns: 1fr;
}

.section1_list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.section2_items,
.section1_item {
    background: #032843;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 8px;
    font-family: var(--font-family);
}

.section2_items :is(h1, h3),
.section1_item :is(h3, h1) {
    color: #fff;
}

.section1_item .title {
    font-size: var(--text-sm);
    font-weight: lighter;
}

.section1_item .number {
    font-size: var(--text-size);
    letter-spacing: 2px;
    margin-top: 10px;
}

/* account welcome  */
.mobile_welcome {
    display: none;
}

.mobile_welcome .welcome_mobile_head,
.welcome_dashboard .welcome_head {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-family: var(--font-family);
}

.welcome_dashboard .welcome_head {
    margin-bottom: 10px;
}

.mobile_welcome .welcome_mobile_head h1,
.welcome_dashboard .welcome_head h1 {
    font-size: var(--header-sm);
}

.mobile_welcome .welcome_mobile_head span,
.welcome_dashboard .welcome_head span {
    color: var(--primary-color);
}

.mobile_welcome .welcome_mobile_head .mobile_text {
    font-size: var(--sm-text);
}

.mobile_welcome .welcome_mobile_head p,
.welcome_dashboard .welcome_head p {
    font-size: var(--text-sm);
    color: #333333;
}

.welcome_chart #balanceChart {
    width: 350px;
    height: 350px;
}

.welcome_dashboard .welcome_head .date_time {
    width: max-content;
    font-size: var(--text-sm);
}

.welcome_dashboard .welcome_head label {
    font-size: var(--sm-text);
    color: #333;
}

.welcome_dashboard .welcome_chart {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 10px;
    background: #fff;
    box-shadow: var(--box-shadow2);
    overflow: hidden;
}

.welcome_dashboard .chart {
    font-family: var(--font-family);
}

.welcome_dashboard .chart h3 {
    font-size: var(--text-size);
}

.welcome_dashboard .chart span {
    font-size: var(--text-sm);
    color: var(--primary-color);
}

.welcome_dashboard .chart h5 {
    color: #333;
    font-size: var(--sm-text);
}

/* short cuts */
.shortcuts {
    display: none;
    margin: 0 auto;
    max-width: 100%;
    width: 100%;
    height: 100%;
}

.shortcuts .shortcuts_list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 15px;
}

.shortcuts .shortcuts_items {
    background: linear-gradient(to top, var(--bs-heading-color), #0061a6, #007BFF);
    padding: 12px;
}

.shortcuts .shortcuts_items a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.shortcuts .shortcuts_items a img {
    width: 20px;
    filter: brightness(0) saturate(100%) invert(100%) sepia(3%) saturate(7468%) hue-rotate(239deg) brightness(101%) contrast(110%);
}

.shortcuts .shortcuts_items a span {
    color: #fff;
    font-size: var(--text-sm);
    font-family: var(--font-family);
}

/* section2 */
.section2_list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.section2_items {
    flex-direction: unset;
    justify-content: space-between;
    font-family: var(--font-family);
    transition: var(--transition);
    box-shadow: var(--box-shadow2);
}

.section2_items:hover {
    box-shadow: none;
}

.section2_items .title {
    font-size: calc(var(--sm-text) + 2px);
    font-weight: 300;
    margin-top: 2px;
}

.section2_items .number {
    font-size: calc(var(--header-sm) - 10px);
    font-weight: 600;
}

.section2_list img {
    width: 30px;
    filter: brightness(0) saturate(100%) invert(100%) sepia(3%) saturate(7468%) hue-rotate(239deg) brightness(101%) contrast(110%);
}

/* section3 */
.section3 .container {
    background: #fff;
    box-shadow: var(--box-shadow2);
    border: 8px;
    padding: 30px;
}

.section3_wrapper h3 {
    font-size: var(--text-sm);
    color: #333;
    margin: 0;
    padding: 0;
}

.section3_wrapper>div {
    display: flex;
    align-items: center;
    font-family: var(--font-family);
}

.section3_wrapper input {
    max-width: 1200px;
    width: 100%;
    padding: 1em .8em;
    outline: none;
    border: 1px solid #333;
    font-size: 16px;
}

.section3_wrapper button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: var(--bs-heading-color);
    border: none;
    padding: 1.2em 1.4rem;
    color: #fff;
}

.section3_wrapper button img {
    width: 20px;
    filter: brightness(0) saturate(100%) invert(100%) sepia(3%) saturate(7468%) hue-rotate(239deg) brightness(101%) contrast(110%);
}

/* section 4*/
.section4_list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    text-align: left;
    font-family: var(--font-family);
}

.section4_list caption {
    color: #333;
    font-size: calc(var(--text-size) - 3px);
    font-weight: 600;
    text-align: left;
    margin-bottom: 10px;
}

.section4_item table {
    border-collapse: collapse;
    width: 100%;
    height: 100%;
    text-align: left;
}

.section4_item table thead {
    background: var(--primary-color);
}

.section4_item table thead tr th {
    padding: .8em 0;
    font-size: var(--sm-text);
    color: #fff;
    font-weight: 450;
}

.section4_item table tbody tr td:first-child,
.section4_item table thead tr th:first-child {
    padding-left: 20px;
}

.section4_item table tbody {
    background: #fff;
}

.section4_item table tbody tr td {
    font-size: calc(var(--text-sm) - 3px);
    color: #333333;
    padding: 5px;
    /* Add padding to create space */
}

.section4_item table tbody tr {
    border-bottom: 1px solid #ddd;
    /* Add a bottom border */
}

.section4_item table tbody tr:last-child {
    border-bottom: none;
    /* Remove border from the last row */
}

/* bg_wrap */
.bg_wrap {
    width: 100%;
    height: 200px;
    background-image: url('../images/backgrounds/page_header_bg_1.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center left;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg_wrap::before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.bg_wrap h1 {
    color: #fff;
    font-family: var(--font-family);
    font-size: var(--text-size);
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* profile_display */
.middle_wrap .container {
    display: block;
    margin: 0 auto;
    text-align: center;
    background: #fff;
    padding: 30px;
}

.middle_wrap .container p {
    font-size: var(--sm-text);
    font-family: var(--font-family);
    color: #333;
}

.middle_wrap .container p a {
    color: var(--primary-color);
    font-weight: 600;
}

.profile_display {
    width: 100%;
    height: 100%;
    margin-top: 50px;
}

.profile_list.pass {
    grid-template-columns: 1fr;
}

.profile_list {
    display: grid;
    grid-template-columns: 30% 70%;
    gap: 20px;
}

.profile_display.beneficiaries .profile_item {
    background: #fff;
}

.profile_display.beneficiaries .profile_item:first-child {
    height: fit-content;
}

.profile_item {
    background: var(--accent-color);
    box-shadow: var(--box-shadow2);
    padding: 20px;
    font-family: var(--font-family);
}

.profile_img {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.profile_img img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
}

.profile_info li {
    list-style: none;
    padding: .8em 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.profile_info li span {
    font-weight: bold;
    font-size: var(--text-sm);
}

.profile_info li figcaption {
    font-size: var(--sm-text);
}

.profile_item form {
    width: 100%;
}

.profile_item form.deposit {
    background: #fff;
    box-shadow: var(--box-shadow2);
    padding: 20px;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.profile_item form .form_flex {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 15px;
}

.profile_item form .form_group {
    width: 100%;
    padding: .8em 0;
    position: relative;
}

.form_group_head {
    font-size: var(--text-size);
    font-family: var(--font-family);
    color: var(--primary-color);
    letter-spacing: 2px;
}

.profile_item form .form_group img {
    width: 25px;
    position: absolute;
    top: 60%;
    right: 40px;
}

.profile_item form .form_group label {
    font-size: var(--text-sm);
    color: #333;
    position: relative;
}

.profile_item form .form_group label::after {
    position: absolute;
    content: '*';
    color: red;
    top: 0;
    right: -7px;
    font-size: var(--sm-text);
}

.profile_item form .form_group textarea {
    height: 180px;
    resize: none;
}

.profile_item form .form_group span {
    color: red;
}

.profile_item form .form_group p {
    font-size: var(--sm-text);
}

.profile_item form .display_ {
    width: 100%;
}

.profile_item form .display_ li {
    width: 100%;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .4em 0;
    font-size: var(--text-sm);
    font-family: var(--font-family);
}

.profile_item form .display_ li:not(:last-child) {
    border-bottom: 1px solid #eeee;
}

.profile_item form .form_group select,
.profile_item form .form_group textarea,
.profile_item form .form_group input {
    width: 100%;
    padding: .8em 1rem;
    border: 1px solid #d4d3d3;
    background: transparent;
    outline: none;
    margin-top: 10px;
}

.profile_item form .form_group input[type='submit'] {
    background: transparent;
    background-color: var(--primary-color);
    color: white;
    font-size: var(--text-sm);
    font-weight: 600;
    cursor: pointer;
}

.profile_item.fa .title {
    text-align: center;
    font-size: var(--text-sm);
    margin-bottom: 15px auto;
}

.profile_item.fa p {
    font-size: var(--sm-text);
    line-height: 1.9;
    margin: 10px auto;
}

.profile_item.fa span {
    font-size: var(--text-sm);
    margin-bottom: 10px;
}

.profile_item.s {
    height: max-content;
}

.profile_item.fa input {
    width: 100%;
    padding: .8em 1.1rem;
    outline-color: transparent;
    border: 1px solid var(--primary-color);
    margin-bottom: 20px;
    margin-top: 8px;
}

.form_flexs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.form_groups {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.form_groups {
    flex-direction: column;
}

.form_groups input:checked+.form_group_button {
    background-color: var(--primary-color);
}

.form_groups input:checked+.form_group_button::before {
    transform: translateX(210px);
    color: #fff;

}

.form_groups .toggle {
    display: none;
}

.form_groups .form_group_button {
    background-color: #d2d2d2;
    width: 250px;
    height: 45px;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    transition: .2s;
}

.form_groups .form_group_button::before {
    position: absolute;
    content: '';
    background-color: #fff;
    width: 40px;
    height: 45px;
    border-radius: 10px;
    transition: .2s;
}

/* crypto details */
.crypto_details_display {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    font-family: var(--font-family);
}

.crypto_details_display p {
    font-size: var(--text-sm);
    color: #333333;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#cryptoreceiveform #copyBtn {
    padding: .8em 1rem;
    border: none;
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    color: #fff;
    box-shadow: var(--box-shadow2);
    transition: var(--transition);
    cursor: pointer;
}

#cryptoreceiveform #copyBtn:hover {
    background: var(--accent-color);
    color: var(--secondary-color);
}

#cryptoreceiveform .confirm_send {
    font-family: var(--font-family);
}

#cryptoreceiveform .confirm_send input {
    padding: .7rem 1.3rem;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    margin-bottom: 10px;
}

#cryptoreceiveform .confirm_send p {
    font-size: var(--sm-text);
    color: red;
}

.crypto_details_display {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 15px;
}

.crypto_details_display #walletAddress {
    max-width: 300px;
    font-size: var(--text-sm);
}

.crypto_details_display img {
    max-width: 350px;
}

/* crypto_balance */
.crypto_balance .container {
    background: #fff;
    box-shadow: var(--box-shadow2);
    padding: 15px;
}

.crypto_balance .crypto_list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-family: var(--font-family);
}

.crypto_items:first-child>div h3 {
    font-size: var(--text-sm);
    color: #333;
    letter-spacing: 2px;
}

.crypto_items:first-child>div h1 {
    font-size: var(--text-size);
    color: #333;
}

.crypto_items:nth-child(2)>div {
    display: flex;
    align-items: center;
    gap: 15px;
}

.crypto_items:nth-child(2)>div a {
    background: var(--primary-color);
    padding: .7em 1.6rem;
    color: #fff;
    border-radius: 12px;
}

/* transaction */
.crypto_balance,
.transaction {
    margin-top: 50px;
    width: 100%;
    height: 100%;
    padding: 0 30px;
}

.transaction .transaction_list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.transaction_item {
    background: #fff;
    box-shadow: var(--box-shadow2);
    padding: 30px;
    font-family: var(--font-family);

}

.transaction_list form {
    display: flex;
    gap: 20px;
    justify-content: space-evenly;
    align-items: center;
}

.transaction_list .form_wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
}


.transaction_list .form_wrap:first-child input {
    max-width: 100%;
}

.transaction_list .form_wrap input,
.transaction_list .form_wrap select {
    padding: 1em;
    max-width: 100%;
    border: 1px solid #d4d3d3;
    outline: none;
    margin-top: 10px;
}

.transaction_list .form_wrap input[type="submit"] {
    background: transparent;
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: #fff;
    cursor: pointer;
}

.transaction_item table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}

.transaction_item table thead {
    background: var(--primary-color);
}

.transaction_item table thead tr th {
    padding: .7rem 0;
    font-size: var(--sm-text);
    color: #fff;
    font-weight: 500;
}

.transaction_item table tbody tr:nth-child(odd) {
    background: #f9f9f9;
}

.transaction_item table tbody tr td {
    font-size: var(--sm-text);
    padding: .8rem 0;
}

.transaction_list .pagination button {
    width: 40px;
    height: 40px;
    border: none;
    background-color: var(--primary-color);
    border-radius: 50%;
    color: #fff;
    font-size: var(--sm-text);
    font-weight: bold;
    cursor: pointer;
}

.body-item.links a {
    width: fit-content;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: .4rem 1rem;
}

.body-item.user form button {
    border: transparent;
    background: transparent;
    color: var(--primary-color);
    font-weight: bold;
    cursor: pointer;
}

.transaction_link a {
    background: var(--primary-color);
    color: #fff;
    padding: .9rem 1.3rem;
    border-radius: 5px;
}

.link_benefiaciaries {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.link_benefiaciaries a {
    padding: .8em 1rem;
    background: var(--primary-color);
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
}

.link_benefiaciaries>div {
    flex: 1;
}

.link_benefiaciaries a img {
    width: 20px;
    filter: brightness(0) saturate(100%) invert(100%) sepia(6%) saturate(17%) hue-rotate(213deg) brightness(107%) contrast(100%);
}

.link_benefiaciaries_div section {
    margin: 0;
}

.link_benefiaciaries_div form.benef {
    max-width: 100%;
}

#external_form,
#internal_form {
    max-height: 0;
    height: 100%;
    overflow: hidden;
    transition: var(--transition);
}

#external_form.show {
    max-height: 800px;
    height: 100%;
}


#internal_form.show {
    max-height: 500px;
    height: 100%;
}

#internal_form .profile_item {
    background: transparent;
}

.display_close {
    width: 40px;
    height: 40px;
    background: red;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
}

.beneficiary_link_wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.display_close img {
    width: 25px;
    height: 25px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    filter: brightness(0) saturate(100%) invert(100%) sepia(6%) saturate(17%) hue-rotate(213deg) brightness(107%) contrast(100%);
}

/* credit card */
.credit_cards.mobile {
    display: none;
}

.credit_cards .card_list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.credit_cards .card {
    position: relative;
    max-width: 510px;
    height: 310px;
    transform-style: preserve-3d;
    perspective: 500px;
    font-family: var(--font-family);
}

.card .face.front::before {
    position: absolute;
    content: '';
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    opacity: 0.7;
}

.card .face.front::after {
    position: absolute;
    content: '';
    bottom: 40px;
    right: 80px;
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    opacity: .7;
}

.card:hover .face.front {
    transform: rotateY(180deg);
    /* Simplify to a single rotation */
}

.card .face.back {
    transform: rotateY(180deg);
}

.card:hover .face.back {
    transform: rotateY(360deg);
}

.credit_cards .face {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 5px 10px rgba(100, 100, 111, 0.2);
    border-radius: 15px;
    background: linear-gradient(to bottom, var(--bs-heading-color), #0061a6, #007BFF);
    backdrop-filter: blur(10px);
    transform-style: preserve-3d;
    transition: 1s;
    backface-visibility: hidden;
}

.card .face.front .debit {
    position: absolute;
    left: 40px;
    top: 30px;
    color: #fff;
    font-weight: 500;
}

.card .face.front .bank {
    position: absolute;
    right: 40px;
    top: 25px;
    color: #fff;
    font-weight: 500;
    font-style: italic;
    font-size: 15px;
}

.card .face.front .number {
    position: absolute;
    bottom: 140px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-weight: 500;
    letter-spacing: 10px;
    font-size: 18px;
    box-shadow: 0 2px 1px #0005;
    font-family: 'orbitron', sans-serif;
    text-align: center;
    display: block;
    margin: 0 auto;
    white-space: nowrap;
}

.card .face.front .chip {
    position: absolute;
    top: 80px;
    left: 50px;
    max-width: 64px;
}

.card .face.front .valid {
    position: absolute;
    bottom: 90px;
    left: 40px;
    display: flex;
    justify-content: center;
    color: #fff;
    font-weight: 300;
    line-height: 1em;
    text-align: right;
}

.card .face.front .valid span:last-child {
    margin-left: 20px;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 2px;
}

.card .face.front .name {
    position: absolute;
    bottom: 40px;
    left: 40px;
    color: #fff;
    font-size: 16px;
    letter-spacing: 2px;
}

.card .face.back .top {
    color: #fff;
    padding-top: 9px;
    font-size: 13px;
    text-align: center;
    margin: 0 auto;
    display: block;
}

.card .face.back .blackbar {
    position: absolute;
    top: 40px;
    width: 100%;
    height: 60px;
    background: #000;
}

.card .face.back .ccvtext {
    position: absolute;
    top: 120px;
    left: 30px;
}

.card .face.back .ccvtext h5 {
    color: #fff;
    font-weight: 400;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.card .face.back .ccvtext .whitebar {
    position: relative;
    max-width: 400px;
    height: 40px;
    background-color: #fff;
    margin-top: 5px;
}

.card .face.back .ccvtext .cvv {
    position: relative;
    top: -35px;
    left: 395px;
    background: #ccc;
    color: #111;
    width: 50px;
    height: 30px;
    font-weight: 600;
    letter-spacing: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card .face.back .text {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    color: #fff;
    font-size: 10px;
    line-height: 1.4em;
    font-weight: 300;
}

.add_card_wrap .container {
    display: flex;
    align-items: center;
    justify-content: end;
    margin-top: 50px;
    margin-bottom: 50px;
    font-family: var(--font-family);
}

.add_card_wrap .container form {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 20px;
}

.add_card_wrap .container form label {
    color: #333;
    font-size: var(--text-sm);
}

.add_card_wrap .container form select {
    padding: .5em 1rem;
    border: 1px solid var(--primary-color);
}

.add_card_wrap .container form input[type="submit"] {
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: .5em 1rem;
    border-radius: 8px;
    color: #fff;
    font-size: var(--text-sm);
    cursor: pointer;
}

/* crypto_wrap payment page */
.crypto_wrap {
    margin: 40px auto;
}

.crypto_wrap .container {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-family);
    margin: 0 auto;
    flex-direction: column;
    background: #fff;
    box-shadow: var(--box-shadow2);
    padding: 15px 30px;
    text-align: center;
}

.crypto_wrap .container :is(p) {
    font-size: var(--text-sm);
    color: #333333;
}

.crypto_wrap .container h2 {
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.crypto_wrap .crypto_img {
    max-width: 300px;
}

.crypto_wrap .container .warning {
    font-size: var(--sm-text);
    color: red;
    max-width: 700px;
}

/* receipt */
.receipt {
    width: 100%;
    margin: 50px auto;
    font-family: var(--font-family);
}

.receipt .head_title {
    text-align: center;
    margin: 30px auto;
    display: block;
}

.receipt .head_title h1 {
    font-size: var(--header);
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary-color);
}

.receipt_list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.receipt_cols .title {
    border-bottom: 1px solid #333333;
    margin-bottom: 20px;
}

.receipt_cols .title h2 {
    font-size: var(--header-sm);
}

.receipt_cols .details>div {
    padding: .4em 0;
    max-width: 700px;
    display: block;
    margin: 0 auto;
    width: 100%;
}

.receipt_cols .details>div span {
    font-size: var(--text-sm);
}

.receipt_cols .details>div span p {
    color: red;
}

.receipt_cols .details>div .figure {
    font-size: calc(var(--text-sm) - 2px);
    color: #333333;
}

.receipt_cols .details>div .status {
    border: 1px solid var(--primary-color);
    width: max-content;
    padding: 0 1.1rem;
    border-radius: 20px;
    color: #838282;
    margin-top: 5px;
}

.receipt_cols .details>div .warning {
    font-size: var(--sm-text);
    color: #838282;
}

.receipt_link a {
    padding: .6rem 1.2rem;
    background: var(--primary-color);
    color: #fff;
    border-radius: 20px;
    font-size: calc(var(--text-sm) - 2px);
    font-family: var(--font-family);
}

/* rate calculator */
.rate-calculator {
    background: #ececec;
    padding: 2em;
}

.rate-list {
    display: grid;
    grid-template-columns: 30% 70%;
    /* Set first column to 30% and second to 70% */
    gap: 20px;
    /* Adjust the gap between items */
    margin: 30px auto;
}

/* transfer wrapper */
.transfer_display-wrapper {
    padding: 0 20px;
}

.transfer_display_list.s {
    display: block;
}

.transfer_display_list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    gap: 10px;
}


.transfer_display-wrapper.new {
    display: none;
}

.transfer_display-wrapper.new .transfer_display_item .transfer_send_display form button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 30px;
    border: none;
    background-color: var(--primary-color);
    color: #fff;
}


.transfer_display-wrapper.new .transfer_display_item .transfer_send_display form img {
    width: 20px;
    filter: var(--filter);
}

.transfer_display_item {
    background: var(--white);
    box-shadow: var(--box-shadow1);
    padding: 20px;
    height: max-content;
}

.transfer_display_item .heading {
    margin-bottom: 10px;
}

.transfer_display_item .heading h2 {
    font-size: calc(var(--font-size-sm-text) + 3px);
    font-family: 'Poppins', sans-serif;
    color: rgb(56, 56, 56);
    letter-spacing: 1.8px;
}

.transfer_display-wrapper.new .transfer_display_item .transfer_send_display,
.transfer_display_item:first-child .transfer_send_display {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.transfer_display-wrapper.new .transfer_display_item .transfer_send_display_list,
.transfer_display_item:first-child .transfer_send_display_list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    border-bottom: 1px solid rgb(196, 192, 192);
    padding: .5em 0;
}


.transfer_display-wrapper.new .transfer_display_item .transfer_send_display_list .title,
.transfer_display_item:first-child .transfer_send_display_list .title {
    font-size: calc(var(--font-size-xl-text) + 2px);
}


.transfer_display-wrapper.new .transfer_display_item .transfer_send_display_list .answer,
.transfer_display_item:first-child .transfer_send_display_list .answer {
    color: #333;
    font-size: calc(var(--font-size-sm-text) - 2px);
    font-weight: 600;
}


.transfer_display-wrapper.new .transfer_display_item .transfer_send_display_list .answer.s,
.transfer_display_item:first-child .transfer_send_display_list .answer.s {
    color: red;
}

.transfer_display_item .transfer_send_display_list .row {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.transfer_display_item:first-child .transfer_send_display_list span a {
    color: var(--primary-color);
    font-weight: bold;
    cursor: pointer;
}

.transfer_send_display_list .status {
    color: white;
    padding: 5px 20px;
    border-radius: 10px;
    font-size: var(--font-size-xl-text);
}

.transfer_send_display_list .green-bg {
    background-color: green;
}

.transfer_send_display_list .orange-bg {
    background-color: orange;

}

.transfer_send_display_list .red-bg {
    background-color: red;
}

.transfer_display_item:nth-child(2) .receivers_display {
    padding: .5em 0;
}

.transfer_display_item:nth-child(2) .receivers_display h3.first {
    color: green;
    font-weight: bold;
}

.transfer_display_item:nth-child(2) .receivers_display h3 {
    font-size: var(--font-size-sm-text);
    color: #333;
    font-weight: 600;
}

.transfer_display_item.s .input_flex,
.transfer_display_item:nth-child(2) .input_flex {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 2em;
    gap: 20px;
}

.transfer_display_item.s button,
.transfer_display_item:nth-child(2) button {
    background: transparent;
    border: none;
}

.transfer_display_item.s .input_flex img,
.transfer_display_item:nth-child(2) .input_flex img {
    width: 15px;
    transition: .2s;
}

.transfer_display_item.s .input_flex .input_wrap,
.transfer_display_item:nth-child(2) .input_flex .input_wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
}

.transfer_display_item.s .input_flex .input_wrap,
.transfer_display_item:nth-child(2) .input_flex .input_wrap {
    padding: .4rem 1.3rem;
}

.transfer_display_item.s .input_flex .input_wrap input,
.transfer_display_item:nth-child(2) .input_flex .input_wrap input {
    background: transparent;
    font-size: var(--font-size-xl-text);
    border: transparent;
    transition: .2s;
    cursor: pointer;
}

.transfer_display_item.s .input_flex .input_wrap:nth-child(2),
.transfer_display_item:nth-child(2) .input_flex .input_wrap:nth-child(2) {
    border: 1px solid green;
    transition: .2s;
}

.transfer_display_item.s .input_flex .input_wrap:nth-child(1),
.transfer_display_item:nth-child(2) .input_flex .input_wrap:nth-child(1) {
    border: 1px solid red;
    transition: .2s;
}

.transfer_display_item.s .input_flex .input_wrap:nth-child(2):hover,
.transfer_display_item:nth-child(2) .input_flex .input_wrap:nth-child(2):hover {
    background: green;
}

.transfer_display_item.s .input_flex .input_wrap:nth-child(1):hover,
.transfer_display_item:nth-child(2) .input_flex .input_wrap:nth-child(1):hover {
    background: red;
    color: var(--white);
}

.transfer_display_item.s .input_flex .input_wrap:hover img,
.transfer_display_item:nth-child(2) .input_flex .input_wrap:hover img {
    filter: brightness(0) saturate(100%) invert(97%) sepia(67%) saturate(17%) hue-rotate(213deg) brightness(104%) contrast(100%);
}

.transfer_display_item.s .input_flex .input_wrap:nth-child(2):hover input,
.transfer_display_item:nth-child(2) .input_flex .input_wrap:nth-child(2):hover input,
.transfer_display_item:nth-child(2) .input_flex .input_wrap:nth-child(1):hover input {
    color: white;
}

.transfer_display_item:first-child .transfer_send_display .img_wrap {
    max-width: 300px;
}

.rejected-amount {
    color: red;
    /* Red for rejected */
    font-weight: bold;
}

.approve-amount {
    color: green;
    /* Green for approved */
    font-weight: bold;
}

.pending-amount {
    color: orange;
    /* Orange for pending */
    font-weight: bold;
}

.transfer_display_item .web_form {
    width: 100%;
}

.transfer_display_item .web_form .form_group {
    width: 100%;
    margin: .4em 0;
}

.transfer_display_item .web_form .form_group textarea,
.transfer_display_item .web_form .form_group input {
    width: 100%;
    padding: .6em 1em;
    border: 1px solid #ccc;
    outline: none;
    resize: none;
}

.transfer_display_item .web_form .form_group label {
    font-size: var(--font-size-sm-text);
    color: #333;
}

@media screen and (max-width:1000px) {

    .transfer_display-wrapper.new {
        display: block;
        margin: 30px auto;
    }
}

@media screen and (max-width:560px) {
    .transfer_display_list {
        grid-template-columns: 1fr;
    }
}

/* tabs settings */
.tabs {
    margin: 20px auto;
    display: block;
}

.tabs .tabs_head {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
    cursor: pointer;
    padding: 0 20px;
}

.tabs .tabs_head h3 {
    background-color: var(--primary-color);
    padding: 10px 15px;
    font-size: clamp(14px, .9vw, 1rem);
    color: #fff;
}

.tabs_head h3.active {
    background-color: #0056b3;
    /* Green for active tab */
    color: white;
    transition: .5s ease-in-out;
}

.tabs .tab_content .content {
    display: none;
    /* Hide all content by default */
}

.tabs .tab_content .content.active {
    display: block;
    /* Show active content */
    animation: appear .5s linear forwards;
    overflow: hidden;
}

@keyframes appear {
    0% {
        transform: translateX(-10px);
    }

    100% {
        transform: translateX(0);
    }
}

@media screen and (max-width:600px) {
    .rate-calculator {
        padding: 0 30px;
    }

    .rate-list {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        margin: 0;
        padding: 0;
        width: 100%;
    }

    .rate-item:nth-child(2) .content {
        display: flex;
        align-items: center;
        justify-content: center;
        background: #fff;
        margin: 0 auto;
        gap: 20px;
        padding: 20px;
    }

    .rate-item:first-child,
    .rate-item:nth-child(2) {
        grid-column: unset;
        position: unset;
    }

    .rate-item:nth-child(2) .content>div:not(:last-child) {
        padding: 0;
    }

}

.rate-item .title {
    font-size: var(--text-size);
    color: var(--primary-color);
    margin: 20px 0;
    font-family: var(--font-family);
    text-transform: uppercase;
    letter-spacing: 1.6px;
}

@media screen and (min-width:600px) {
    .rate-item:first-child {
        grid-column: 1;
        /* Ensure first child is in the first column */
    }

    .rate-item:nth-child(2) {
        grid-column: 2;
        /* Ensure second child is in the second column */
        position: relative;
    }

    .rate-item:nth-child(2) .content {
        display: flex;
        align-items: center;
        justify-content: center;
        background: #fff;
        width: 100%;
        height: 90%;
        margin: 0 auto;
        gap: 20px;
    }
}


.rate-item:nth-child(2) .content>div:not(:last-child) {
    border-right: 2px solid var(--primary-color);
    padding-right: 30px;
    height: max-content;
}

.rate-item:nth-child(2) .content span {
    color: #727272;
    font-size: var(--text-sm);
}

.rate-item:nth-child(2) .content h2 {
    color: var(--primary-color);
    font-size: var(--header-sm);
}

.rate-item:first-child form {
    background: #CCDDEA;
    padding: 2em;
    font-family: var(--font-family);
}

.rate-item:first-child form .input_wrap {
    width: 300px;
    margin: .8em 0;
}

.rate-item:first-child form .input_wrap label {
    font-size: .9em;
    margin-bottom: .8em;
}

.rate-item:first-child form .input_wrap input {
    width: 100%;
    padding: 1em;
    outline: none;
}

.rate-item:first-child form .input_wrap input[type="submit"] {
    background: var(--primary-color);
    border: none;
    color: #fff;
    font-size: 1em;
    cursor: pointer;
}

.rate-calculator .text-center {
    font-size: .8em;
    color: var(--primary-color);
    max-width: 600px;
}

.suspended {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.suspended h1 {
    color: red;
}

.suspended_wrap {
    text-align: center;
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 10px;
}

.suspended .bann_imgg {
    width: 100%;
    /* Adjust width to fill the container */
    max-width: 450px;
    /* Ensure the image doesn't grow too large */
    object-fit: cover;
}

.suspended a {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #ff0000;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

/* footer */
footer {
    width: calc(100% - 300px);
    position: relative;
    left: 300px;
    margin-top: 100px;
    text-align: center;
}

footer p {
    font-size: var(--text-sm);
}


/* ==== main section end=== */

@media screen and (max-width: 1000px) {

    .profile_list,
    .section1_list {
        grid-template-columns: 1fr;
    }

    .transaction {
        display: none;
    }


    .section2_list {
        grid-template-columns: repeat(2, 1fr);
    }

    .transaction_list form {
        flex-wrap: wrap;
    }

    .transaction_item table {
        width: 100%;
        border-collapse: collapse;
        text-align: left;
    }

    thead {
        display: none;
        /* Hide the header row on small screens */
    }

    .table-body {
        display: block;
        /* Make body block for stacking */
    }

    .body-row {
        display: block;
        /* Stack rows */
        margin-bottom: 15px;
        /* Add space between rows */
        border-bottom: none;
        /* Remove row border */
    }

    .body-item {
        display: flex;
        /* Use flexbox for body items */
        justify-content: flex-start;
        align-items: flex-start;
        /* Align items to the left */
        position: relative;
        /* Position for labels */
        padding: 5px 0;
        /* Add vertical padding */
        width: 100%;
        background-color: #fff;
        grid-gap: 30px;

    }

    .body-item::before {
        content: attr(data-label);
        /* Display data-label before item */
        font-weight: bolder;
        /* Bold label */
        margin-right: 10px;
        /* Space between label and content */
        color: var(--primary-color);
        /* Optional label color */
        width: 100%;
        align-items: flex-end;
        justify-content: flex-end;

        /* Allow label to take available space */
    }

    .credit_cards.desktop {
        display: none;
    }

    .credit_cards.mobile {
        display: block;
    }

    .credit_cards .card {
        max-width: 100%;
    }

    .credit_cards .container {
        width: 100%;
        height: 100%;
        padding: 0 20px;
        overflow: hidden;
    }

    /* Your custom styles here */
    .swiper-button-next,
    .swiper-button-prev {
        background-color: red;
        border-radius: 50%;
        width: 140px;
        height: 40px;
        color: white;
        z-index: 10;
    }

    .swiper-button-next:hover,
    .swiper-button-prev:hover {
        background-color: rgba(0, 0, 0, 0.9);
    }

}

@media screen and (max-width: 800px) {
    header {
        width: 300px;
        left: -100%;
        transform: translateX(-100%);
        padding: 0;
        margin: 0;
        transition: var(--transition);
        overflow: hidden;
        z-index: 999;

    }

    header.active {
        left: 0;
        transform: translateX(0);
        padding: 20px;
    }

    .menu_wrapper {
        inset: 0;
        width: 50px;
        height: 60px;
        cursor: pointer;
        margin: auto;

    }

    .hamburger_menu::before,
    .hamburger_menu::after,
    .hamburger_menu {
        width: 50px;
        height: 5px;
    }

    .hamburger_menu {
        position: relative;
        transform: translateY(28px);
        background: var(--primary-color);
        transition: all 0ms 300ms;
    }

    .hamburger_menu.animate {
        background: rgba(255, 255, 255, 0);
    }

    .hamburger_menu::before {
        content: '';
        position: absolute;
        left: 0;
        bottom: 15px;
        background-color: var(--primary-color);
        transition: bottom 300ms 300ms cubic-bezier(0.23, 1, 0.320, 1), transform 300ms cubic-bezier(0.23, 1, 0.320, 1);
    }

    .hamburger_menu::after {
        content: '';
        position: absolute;
        left: 0;
        top: 15px;
        background-color: var(--primary-color);
        transition: top 300ms 300ms cubic-bezier(0.23, 1, 0.320, 1), transform cubic-bezier(0.23, 1, 0.320, 1);
    }

    .hamburger_menu.animate::after {
        top: 0;
        transform: rotate(45deg);
        transition: top 300ms cubic-bezier(0.23, 1, 0.320, 1), transform 300ms 300ms cubic-bezier(0.23, 1, 0.320, 1);
    }

    .hamburger_menu.animate::before {
        bottom: 0;
        transform: rotate(-45deg);
        transition: bottom 300ms cubic-bezier(0.23, 1, 0.320, 1), transform 300ms 300ms cubic-bezier(0.23, 1, 0.320, 1);
    }

    .bottom_link {
        width: 100%;
        left: 0;
    }

    .profile {
        justify-content: space-between;
    }

    main {
        width: 100%;
        left: 0;
    }

    .section4_list,
    .section2_list {
        grid-template-columns: 1fr;
    }

    .profile_display {
        padding: 0 30px;
    }

    .profile_img img {
        max-width: 250px;
    }


    footer {
        width: 100%;
        left: 0;
        margin-top: 20px;
    }

}

@media (max-width: 768px) {
    .credit_cards {
        padding: 0 20px;
    }

    .card .face.back .ccvtext .cvv {
        left: 220px;
    }

    .dashboard_welcome .dashboard_welcome_flex,

    .welcome_dashboard .welcome_chart {
        flex-direction: column;
        align-items: unset;
    }

    #internal_form {
        padding: 5px 15px;
    }

    #internal_form .profile_item {
        background: #fff;
    }


}

@media screen and (max-width:568px) {
    header {
        width: calc(100% - 100px);
        padding: 10px;
        height: 100svh;
        overflow-y: auto;
    }

    header nav .menu {
        margin-top: 20px;
        gap: 10px;
    }

    header nav .menu .menu_list {
        padding: .6em;
    }

    .bottom_link .logout {
        display: none;
    }

    .profile_item form .form_flex {
        flex-direction: column;
    }

    .receipt,
    .add_card_wrap {
        padding: 0 10px;
    }

    .add_card_wrap .container {
        justify-content: center;
        margin: 30px auto;
    }


    .add_card_wrap .container form .form_group {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .credit_cards.mobile {
        padding: 0;
    }

    .credit_cards.mobile .container {
        max-width: 1350px;
    }

    .credit_cards.mobile .card {
        max-width: 610px;
    }

    .card .face.front .bank {
        font-size: clamp(10px, 1.3em, 1.1vw);
        top: 30px;
        position: unset;
    }

    .card .bank_name_wrap {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 30px;
        margin: 20px;
    }

    .card .face.front .debit {
        font-size: clamp(10px, .9rem, 1.4em);
        position: unset;
    }

    .card .face.front .number {
        font-size: clamp(10px, .9rem, 1.4em);
        white-space: nowrap;
        letter-spacing: 5px;
    }

    .card .face.front::after {
        right: 20px;
    }

    .mobile_welcome,
    .shortcuts {
        display: block;
    }

    .shortcuts .shortcuts_img {
        width: 60px;
        height: 60px;
        border-radius: 20px;
        background: var(--primary-color);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .shortcuts .shortcuts_items a img {
        width: 25px;
    }

    .shortcuts .shortcuts_list {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        height: 100%;
    }

    .shortcuts .shortcuts_items {
        background: transparent;
    }

    .shortcuts .shortcuts_items a span {
        color: #333;
        font-size: var(--text-sm);
    }

    .profile_item form.deposit {
        all: unset;
        max-width: 100%;
        padding: 0;
        box-shadow: var(--box-shadow2);
    }

    .welcome_dashboard {
        display: none;
    }

    .crypto_balance .crypto_list {
        flex-direction: column;
        text-align: center;
    }

    .crypto_items:nth-child(2)>div {
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }

    .crypto_items:nth-child(2)>div a {
        padding: .5rem .8rem;
        flex-wrap: wrap;
        font-size: var(--text-sm);
    }

    .crypto_details_display #walletAddress {
        max-width: 200px;
        font-size: var(--text-sm);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        word-break: break-all;
    }
}