/* DASHBOARD PAGE STYLING */
.dashboard {
    background-color: rgba(102, 112, 133, 0.4);
    width: 100%;
    min-height: 100vh;
    display: flex;
    position: relative;
}

/* DASHBOARD HEADER */
.dashboard_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 50px;
    padding: 10px 20px;
    background: white;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

/* RIGHT SIDE OF HEADER */
.dashboard_right {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-right: 70px;
}

/* NOTIFICATION ICON */
.notification i {
    font-size: 25px;
    color: rgba(102, 112, 133, 1);
    font-weight: 400;
    cursor: pointer;
}

/* USER PROFILE CIRCLE */
.dashboard_right .user {
    width: 40px;
    height: 40px;
    background-color: #350364;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f0e6ff;
    font-weight: 400;
    font-size: 18px;
}

/* DASHBOARD SIDEBAR */
.dashboard_sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 220px;
    height: 100vh;
    background-color: white;
    padding: 10px;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
}

/* SIDEBAR LINKS */
.dashboard_sidebar .sidelinks {
    margin-top: 35px;
    height: 100%;
}

/* SIDEBAR LIST */
.dashboard_sidebar ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.dashboard_sidebar ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
    color: rgba(102, 112, 133, 1);
    transition: background 0.3s ease-in-out;
    margin-bottom: 15px;
}

.dashboard_sidebar ul li:hover {
    background: #f0f0f0;
    color: #3A006D;
}

/* SIDEBAR ICONS */
.dashboard_sidebar ul li i {
    font-size: 24px;
}

.dashboard_sidebar ul li a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    color: rgba(102, 112, 133, 1);
    transition: color 0.3s ease-in-out;
}

.dashboard_sidebar ul li a:hover {
    color: #2d0452;
}

/* SIDEBAR TOGGLE BUTTON */
.toggle_btn {
    cursor: pointer;
    display: none; /* Hidden on large screens */
}

.toggle_btn i {
    font-size: 25px;
    color: rgba(102, 112, 133, 1);
}

/* DASHBOARD CONTENT */
.dashboard_contents {
    margin-left: 240px;
    padding: 20px;
    transition: margin-left 0.3s ease-in-out;
}

/* DASHBOARD CARDS */
.dashboard_wallet, .dashboard_services {
    background-color: white;
    height: 200px;
    max-width: 470px;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

/* WALLET AMOUNT */
.wallet_amount p, #services_top_txt {
    font-size: 16px;
    font-weight: 600;
    color: rgba(102, 112, 133, 1);
    letter-spacing: 0.5px;
}

.wallet_amount h3 {
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: rgba(11, 13, 18, 1);
}

/* WALLET ICON */
.wallet_icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px;
    border-radius: 13px;
    border: 1px solid rgba(102, 112, 133, 0.5);
    padding: 10px;
}

.wallet_icon i {
    font-size: 20px;
    color: rgba(72, 80, 94, 1);
}

/* FUND BUTTON */
.fundbtn {
    padding: 10px;
    background-color: rgba(75, 6, 135, 1);
    color: white;
    border: none;
    width: 100%;
    height: 56px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 1px;
    transition: all 0.3s ease-in-out;
}

.fundbtn:hover {
    background-color: #6a0dad;
    transform: scale(1.01);
}

/* SERVICES CONTAINER */
.services_container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.service1, .service2, .service3 {
    border-radius: 20px;
    width: 144px;
    height: 130px;
    border: 1px solid rgba(102, 112, 133, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    margin-top: 10px;
}

.service1 {
    background-color: rgba(253, 244, 230, 1);
}

.service2 {
    background-color: rgba(230, 247, 239, 1);
}

.service3 {
    background-color: rgba(230, 237, 253, 1);
}

/* RESPONSIVENESS */
@media screen and (max-width: 768px) {
    /* Hide Sidebar by Default */
    .dashboard_sidebar {
        transform: translateX(-100%);
        position: fixed;
    }

    /* Show Sidebar when Active */
    .dashboard_sidebar.active {
        transform: translateX(0);
    }

    /* Display Toggle Button */
    .toggle_btn {
        display: block;
    }

    /* Adjust Dashboard Content */
    .dashboard_contents {
        margin-left: 0;
        padding: 15px;
    }

    /* Adjust Search Bar */
    .search_container input {
        width: 100%;
    }
}
