/*!GENERAL*/
:root {
    --primary: #1faf07;
    --primary10: #1FAF0719;
    --secondary: #2f7539;
    --success-color: #4caf50;
    --error-color: #f44336;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --radius: 12px;
    --radius-sm: 8px;
    --primary: #1faf07;
    --primary-light: #4acf33;  /* Lighter shade of primary for hover states */
    --primary-dark: #158505;    /* Darker shade of primary for active states */
    --primary-soft: #e8f5e9;    /* Replacement for primary10 - soft green background with full opacity */
    --secondary: #2f7539;
    --secondary-light: #3f9b4c;
    --secondary-dark: #1f4d26;
    --success: #4caf50;
    --success-light: #80e27e;
    --success-dark: #087f23;
    --accent-green: #66bb6a;
    --bg-green: #f1f8e9;        /* Very light green background */
    --text-dark: #1e293b;
    --text-secondary: #2e5a3a;
    --text-muted: #558b2f;
    --border-light: #c8e6c9;
    --white: #ffffff;
    --off-white: #f9fbf9;
    --gray-light: #f0f4f0;
    --gray: #94a3b8;
}

@font-face {
    font-family: CocoGothic;
    src: url(3112050b5b25c5a5b2d7.ttf);
}

body {
    background: var(--background);
    width: 100%;
    height: 100%;
}

.body-dashboard, .body-appointments, .body-sarrender {
    overflow-y: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    font-family: "Ubuntu", serif;
    font-weight: 400;
}

ul:not(.popup-recommendations) {
    list-style: none;
}

header h2 {
    color: var(--foreground);
}

input[type=number] {
    -moz-appearance: textfield;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="file"] {
    position: absolute;
    left: 0;
    opacity: 0;
    top: 0;
    bottom: 0;
}

textarea:focus, input:focus {
    outline: none;
}

input, button {
    font-family: "Ubuntu", serif;
    font-weight: 400;
    border: none;
}

button:hover, img:hover, a:hover {
    cursor: pointer;
}

textarea {
    resize: vertical;
    border: none;
    width: 100%;
    font-size: 14px;
    padding: 2px;
}

input, textarea, .text {
    color: var(--foreground);
}

img {
    outline: none;
    border: none;
}

.logo {
    object-fit: contain;
}

footer {
    padding: 15px 60px;
}

footer a {
    margin-left: 10px;
    font-weight: 700;
}

hr {
    border: none;
}

h3 {
    color: var(--foreground);
}

/*!LAYOUTS*/
.flexwrap {
    flex-wrap: wrap;
}

.flexrow {
    display: flex;
    flex-direction: row;
}

.flexcolumn {
    display: flex;
    flex-direction: column;
}

.horizontalcenter {
    justify-content: center;
}

.verticalcenter {
    align-items: center;
}

.vhcenter {
    justify-content: center;
    align-items: center;
}

.spacebetween {
    justify-content: space-between;
    width: 100%;
}

.frspvc {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

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

.flexstart {
    justify-content: flex-start;
}

.flexend {
    justify-content: flex-end;
}

.flexStartC {
    align-content: flex-start;
}

.flexEndC {
    align-content: flex-end;
}

.circular {
    border-radius: 50%;
    padding: 5px;
}

.dynamic {
    display: flex;
    flex-wrap: wrap;
    overflow-y: auto;
}

.dynamic-shrink {
    display: flex;
    flex-wrap: wrap;
}

.singleline {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
}

.threelines {
    display: block;
    text-overflow: ellipsis;
    word-wrap: break-word;
    overflow: hidden;
    height: 3.3em;
    line-height: 1.1em;
}

.fivelines {
    display: block;
    text-overflow: ellipsis;
    word-wrap: break-word;
    overflow: hidden;
    height: 5.5em;
    line-height: 1.1em;
}

.inline-background {
    background-color: var(--inline);
}

/*!FONT SIZES*/
.smallest-font, .content-subscribe span {
    font-size: 0.6rem;
}

.small-font {
    font-size: 0.8rem;
}

.medium-font {
    font-size: 1rem;
}

.large-font {
    font-size: 1.2rem;
}

.larger-font {
    font-size: 2.5rem;
}

.largest-font {
    font-size: 5rem;
}

.bold {
    font-weight: 700;
}

.gray-font {
    color: var(--textColor);
}

.contrast-font {
    color: var(--foreground);
}

.content {
    width: 100vw;
    height: calc(100vh - 76px);
}

.content nav {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1px 2px;
}

.content nav li {
    padding: 10px;
    border-radius: 36px;
    color: var(--textColor);
    margin: 1px;
}

.content nav li:hover {
    color: var(--primary);
    background-color: var(--primary10);
    cursor: pointer;
    transition: ease 0.3s;
}

.content nav li.active {
    color: var(--background);
    background-color: var(--primary);
}

.content nav .material-symbols-rounded {
    margin-right: 10px;
    padding: 5px;
}

.content nav a {
    color: var(--textColor);
}

.content nav a:hover {
    color: var(--primary);
}

.content-main {
    height: 100%;
    overflow-y: auto;
    padding: 1px;
    overflow-x: hidden;
}

.content-main:nth-child(1) {
    overflow-y: hidden;
}

.content-group {
    padding: 16px;
}

.content-group table {
    overflow-x: auto;
}

.unselectable {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/*!CUSTOM VIEWS*/
/*!BUTTONS*/
button, a.outline-image-button {
    padding: 12px;
}

.outline-image-button {
    border: 1px solid var(--outline);
    border-radius: 12px;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-right: 12px;
    margin-top: 16px;
    align-self: start;
    background-color: var(--inline);
}

.outline-image-button:hover {
    background-color: transparent;
    border-color: var(--textColor);
    cursor: pointer;
}

.outline-image-button img {
    margin-right: 12px;
}

.outline-image-button input {
    background-color: transparent;
}

.pill-button {
    border-radius: 24px;
    background-color: var(--primary);
    color: var(--background);
    padding: 12px;
}

.pill-button.active {
    color: white;
}

.pill-button-outline {
    border-radius: 24px;
    background-color: transparent;
    color: var(--foreground);
    border: 1px solid var(--outline);
    padding: 12px;
}

.pill-button-outline.active {
    border-color: var(--textColor);
}

.pill {
    border-radius: 24px;
    background-color: #F0FFF0;
    color: #00A86B;
    padding: 8px 16px;
    font-size: 12px;
    align-self: start;
    text-align: center;
    margin: 2px;
}

.pill-header-white {
    border-radius: 24px;
    background-color: #FFF;
    color: #000;
    padding: 8px 16px;
    font-size: 12px;
    align-self: start;
    text-align: center;
    margin: 2px;
}

.text-button {
    border-radius: 24px;
    color: var(--primary);
    background-color: transparent;
}

.squircle-button {
    border-radius: 8px;
    background-color: #010B13;
    color: white;
}

.delete-button {
    border-radius: 24px;
    color: whitesmoke;
    background-color: tomato;
    margin-top: 48px;
    min-width: 120px;
}

.fab {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 45px;
    height: 45px;
    border-radius: calc(45px/2);
    border: none;
    cursor: pointer;
    position: fixed;
    overflow: hidden;
    transition-duration: .3s;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.199);
    background: linear-gradient(135deg, hsla(162, 48%, 20%, 1) 0%, hsla(119, 37%, 45%, 1) 100%);
    bottom: 48px;
    right: 48px;
}

.fab .icon {
    width: 100%;
    font-size: 2.2em;
    color: white;
    transition-duration: .3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fab .text {

    opacity: 0;
    color: white;
    font-size: 1.4em;
    font-weight: 500;
    transition-duration: .3s;
}

.fab:hover {
    width: 125px;
    transition-duration: .3s;
}

.fab:hover .sign {
    transition-duration: .3s;
    padding-left: 15px;
}

.fab:hover .text {
    opacity: 1;
    transition-duration: .3s;
    padding-right: 15px;
}

.fab:active {
    transform: translate(2px ,2px);
}

/*!RADIO INPUTS*/
.radio-inputs {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    border-radius: 0.5rem;
    background-color: var(--textColorVariant);
    box-sizing: border-box;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
    padding: 0.25rem;
    width: 100%;
    font-size: 14px;
}

.counsellor-add .radio-inputs {
    margin-top: 16px;
}

.radio-inputs .radio {
    flex: 1 1 auto;
    text-align: center;
}

.radio-inputs .radio input {
    display: none;
}

.radio-inputs .radio .name {
    display: flex;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    border: none;
    padding: .5rem 0;
    color: rgba(51, 65, 85, 1);
    transition: all .15s ease-in-out;
}

.radio-inputs .radio input:checked + .name {
    background-color: var(--inline);
    font-weight: 600;
}

.voucher-add .pill-button {
    margin-top: 16px;
}

/* From Uiverse.io by Smit-Prajapati */

    /* From Uiverse.io by ssweb_8300 */
.radio-container input {
    display: none;
}

.radio-container4 {
    --container_width: 200px;
}

.radio-container5 {
    --container_width: 250px;
}

.radio-container {
    position: relative;
    display: flex;
    align-items: center;
    border-radius: 10px;
    background-color: #212121;
    color: #fff;
    width: var(--container_width);
    overflow: hidden;
    border: 2px solid #fff;
}

.radio-container label {
    width: 100%;
    padding: 10px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    font-weight: 600;
    letter-spacing: -1px;
    font-size: 14px;
}

.radio-container span {
    text-align: center;
}

.selection4 {
    width: calc(var(--container_width) / 4);
}

.selection5 {
    width: calc(var(--container_width) / 5);
}

.selection {
    display: none;
    position: absolute;
    height: 100%;
    z-index: 0;
    left: 0;
    top: 0;
    transition: 0.15s ease;
}

.radio-container label:has(input:checked) {
    color: #000;
}

.radio-container label:has(input:checked) ~ .selection {
    background-color: var(--primary);
    display: inline-block;
}

.radio-container5 label:nth-child(1):has(input:checked) ~ .selection {
    transform: translateX(calc(var(--container_width) * 0 / 5));
}

.radio-container5 label:nth-child(2):has(input:checked) ~ .selection {
    transform: translateX(calc(var(--container_width) * 1 / 5));
}

.radio-container5 label:nth-child(3):has(input:checked) ~ .selection {
    transform: translateX(calc(var(--container_width) * 2 / 5));
}

.radio-container5 label:nth-child(4):has(input:checked) ~ .selection {
    transform: translateX(calc(var(--container_width) * 3 / 5));
}

.radio-container5 label:nth-child(5):has(input:checked) ~ .selection {
    transform: translateX(calc(var(--container_width) * 4 / 5));
}

.radio-container4 label:nth-child(1):has(input:checked) ~ .selection {
    transform: translateX(calc(var(--container_width) * 0 / 4));
}

.radio-container4 label:nth-child(2):has(input:checked) ~ .selection {
    transform: translateX(calc(var(--container_width) * 1 / 4));
}

.radio-container4 label:nth-child(3):has(input:checked) ~ .selection {
    transform: translateX(calc(var(--container_width) * 2 / 4));
}

.radio-container4 label:nth-child(4):has(input:checked) ~ .selection {
    transform: translateX(calc(var(--container_width) * 3 / 4));
}

.challenge-button {
    display: block;
    background-color: #ffc107;
    color: #212529;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    width: 100%;
    align-self: end;
}

.challenge-button:hover {
    background-color: #e0a800;
}

.overlay {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    overflow: auto; /* Enable scroll if needed */
}

.popup {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 30%; /* Could be more or less, depending on screen size */
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    position: relative; /* For close button positioning */
    border-radius: 16px;
}

/* Center the popup content horizontally and vertically */
.overlay {
    display: flex;
    justify-content: center;
    align-items: center;
}

#closePopupBtn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    color: #888;
}

#closePopupBtn:hover {
    color: black;
}

.overlay label {
    display: block; /* Make labels appear on separate lines */
    margin-bottom: 5px;
    font-weight: bold;
}

.overlay input[type=number], textarea {
    width: calc(100% - 12px); /* Adjust for padding */
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    box-sizing: border-box; /* Ensure padding and border are inside the element's total width and height */
}

.overlay textarea {
    resize: vertical; /* Allow vertical resizing */
    min-height: 80px;
}

.overlay button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 1em;
}

.overlay button:hover {
    opacity: 0.8;
}

/*!CARDS*/
.card {
    border-radius: 12px;
    background-color: var(--inline);
    padding: 16px;
}

.card .large-font {
    color: var(--foreground);
}

.card .small-font {
    color: var(--textColor);
}

.card-flat {
    background-color: var(--background);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 16px;
    border-radius: 12px;
}

.card-flat .medium-font {
    color: var(--foreground);
}

.card-text {
    border-radius: 8px;
    background-color: var(--inline);
    padding: 4px;
}

.card-image {
    border-radius: 12px;background-color: var(--background);
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    position: relative;
    color: white;
}

.card-image img {
    border-radius: 12px;
}

.card-flat hr, .diary-entry hr, .chat-posts hr {
    background-color: var(--primary);
    margin: 12px 0;
    height: 1px;
}

.card-image h4 {
    position: absolute;
    top: 12px;
    left: 0;
    right: 0;
    text-align: center;
}

.card-image a {
    color: white;
}

.card-image .action-bar {
    position: absolute;
    bottom: 12px;
    padding: 0 12px;
}

.action-bar span {
    margin-right: 6px;
}

.action-bar:nth-child(last) {
    margin-right: 0;
}

/*.card-group {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    overflow-y: auto;
}

.card-group .card {
    margin-right: 12px;
    min-width: 200px;
    align-self: start;
}*/

.card-outlined {
    border-radius: 12px;
    background-color: transparent;
    padding: 16px;
    border: 1px solid var(--outline);
}

.card-outlined .small-font {
    color: var(--textColor);
    margin-bottom: 4px;
}

.card-outlined .large-font {
    overflow-y: hidden;
}

.card-outlined .large-font, .card-outlined h4 {
    color: var(--foreground);
}

.card-outlined h4 {
    margin-bottom: 16px;
}

.card-flat.active, .card-outlined.active, .card.active {
    box-shadow: 0 0 10px rgba(31, 175, 7, 0.1);
}

.card:hover, .card-outlined:hover, .card-flat:hover {
    box-shadow: 0 0 10px rgba(31, 175, 7, 0.2);
    cursor: pointer;
}

/*!CHARTS*/
.charts {
    width: 100%;
    height: 350px;
    margin: 10px 0;
    display: flex;
    flex-direction: row;
}

.canvas {
    width: 100%;
    height: 334px;
    padding: 4px 0;
}

.chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--background);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 16px;
    border-radius: 12px;
}

/*!COLORS*/
.green {
    color: #085524;
    background-color: #CDFFE1;
}

.amber {
    color: #423716;
    background-color: #FFD556;
}

.red {
    color: #3E2323;
    background-color: #F3A1A1;
}

/*!PILL*/
.small-pill {
    font-size: 0.6rem;
    padding: 4px 8px;
    border-radius: 12px;
}

/*!TABLE*/
table {
    border-collapse: collapse;
    box-shadow: 20px 20px 20px 5px var(--primary10);
    background-color: white;
    text-align: left;
    margin-top: 16px;
    transition: 0.5ms;
    width: 100%;
}
table th {
    background-color: var(--primary10);
    padding: 0.75rem 2rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    font-size: 0.7rem;
    font-weight: 900;
}
table td {
    padding: 1rem 2rem;
}
table tr:nth-child(even) {
    background-color: var(--inline);
}

tbody {
    background-color: var(--background);
    color: var(--foreground);
}

.material-symbols-rounded {
    cursor: pointer;
}

/*!HEADER*/
header {
    padding: 15px 25px;
    border-bottom: 1px solid var(--outline);
    height: 76px;
}

header span {
    border-radius: 50%;
    background-color: transparent;
    padding: 10px;
    color: var(--foreground);
}

header span:hover {
    background-color: var(--primary10);
    cursor: pointer;
}

header .profile-image {
    margin-left: 10px;
}

/*!SNACKBAR*/
#snackbar {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    background-color: var(--secondary);
    color: var(--onSecondary);
    text-align: center;
    border-radius: 24px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    left: 50%;
    bottom: 30px;
}

#snackbar.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 2.5s;
    animation: fadein 0.5s, fadeout 2.5s;
}

@-webkit-keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
}

@keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}

/*!LOGIN*/
.login {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: row;
}

.login-gray {
    border-radius: 12px;
    background-color: var(--inline);
    height: calc(100% - 30px);
    margin: 16px;
    width: 40vw;
    padding: 32px;
}

.login-white button {
    width: 100%;
    margin: 12px 0;
}

.login-white .bold, .login-white .largest-font, .login-white .medium-font {
    color: var(--foreground);
}

.input-field {
    margin-top: 16px;
    background-color: var(--inline);
    padding: 4px 8px;
    border-radius: 8px;
    color: var(--foreground);
}

.input-field input, .input-field textarea {
    margin-left: 8px;
    background-color: transparent;
    padding: 8px;
    width: 100%;
    color: var(--foreground);
}

.login-white h1 {
    margin-bottom: 16px;
}

.login-white span {

}

/*!VOUCHERS*/
.voucher {
    width: 100vw;
    height: calc(100vh - 76px);
    padding: 0 20px;
}

.voucher-add {
    display: flex;
    flex-direction: column;
    padding: 12px;
    margin: 12px 0 0 12px;
    transition: 0.5ms;
    background-color: var(--inline);
    border-top-left-radius: 16px;
    height: calc(100vh - 76px);
}

.voucher-add .input-field {
    background-color: var(--background);
}

.voucher-content {
    transition: 0.5ms;
}

/*!COUNSELLORS*/
.appointment-set {
    width: 20%;
    padding: 12px;
    border-left: 1px solid var(--outline);
    height: calc(100vh - 76px);
}

.appointment-set .input-field {
    margin-top: 4px;
}

.counsellor-list {
    width: 15%;
    padding: 1px;
}

.counsellors {
    padding: 12px 24px;
    width: 80%;
}

.counsellor {
    width: 85%;
    padding: 1px;
}

.counsellor-profile {
    width: 100%;
    padding: 1px;
    height: calc(100vh - 108px);
    overflow-y: hidden;
}

.counsellor-add {
    display: flex;
    flex-direction: column;
    padding: 12px;
    margin: 12px 0 0 12px;
    transition: 0.5ms;
    background-color: var(--inline);
    border-top-left-radius: 16px;
    overflow-y: auto;
    height: 100%;
}

.counsellor-add .pill-button {
    margin-top: 16px;
}

.counsellor-add .input-field {
    background-color: var(--background);
}

.counsellor-add .smallest-font {
    margin-bottom: -14px;
    margin-left: 4px;
    margin-top: 4px;
    color: var(--textColor);
}

.counsellor-add .small-font {
    color: var(--textColor);
}

.counsellor-add h5 {
    color: var(--textColor);
}

.counsellor-profile-content {
    transition: 0.5ms;
    max-height: 100%;
    overflow-y: auto;
}

.counsellor-profile-content h2 {
    margin-left: 16px;
    color: var(--foreground);
}

.counsellor-profile-content .material-symbols-rounded, .counsellor-add .medium-font {
    color: var(--foreground);
}

.counsellor-profile-content h4 {
    margin-left: 6px;
}

.counsellor-profile-content .card-outlined {
    margin-top: 16px;
}

.counsellor-list li a {
    margin-left: 8px;
    color: var(--foreground);
}

.counsellor-list ul {
    padding: 0 5px;
}

.card-group {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.card-group .card {
    flex: 1 1 220px;
    max-width: 280px;
    border-radius: 15px;
    padding: 25px 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    justify-content: space-between;
    min-height: 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.card-group .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.card-group .card .gray-font {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.card-group .card .largest-font {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
}

/* Color Combination Classes */

.card-theme-blue {
    background-color: #B2DFDB;
    flex-direction: column;
}
.card-theme-blue .gray-font,
.card-theme-blue .largest-font {
    color: #00796B;
    overflow-x: hidden;
}

.card-theme-green {
    background-color: #C8E6C9;
    flex-direction: column;
}
.card-theme-green .gray-font,
.card-theme-green .largest-font {
    color: #388E3C;
    overflow-x: hidden;
}

.card-theme-yellow {
    background-color: #FFECB3;
    flex-direction: column;
}
.card-theme-yellow .gray-font,
.card-theme-yellow .largest-font {
    color: #FBC02D;
    overflow-x: hidden;
}

.card-theme-pink {
    background-color: #FFCDD2;
    flex-direction: column;
}
.card-theme-pink .gray-font,
.card-theme-pink .largest-font {
    color: #D32F2F;
    overflow-x: hidden;
}

.card-theme-purple {
    background-color: #E1BEE7;
    flex-direction: column;
}
.card-theme-purple .gray-font,
.card-theme-purple .largest-font {
    color: #7B1FA2;
    overflow-x: hidden;
}

.card .largest-font {
    overflow-x: hidden;
    color: var(--foreground);
}

.card .larger-font {
    color: var(--foreground);
}

.action-icon {
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.1s ease;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--textColor);
}

.action-icon:hover {
    transform: scale(1.1);
    background-color: rgba(255, 255, 255, 0.1);
}

.action-delete {
    color: #dc3545;
}
.action-delete:hover {
    background-color: rgba(220, 53, 69, 0.2);
}

.action-refund {
    color: #007bff;
}
.action-refund:hover {
    background-color: rgba(0, 123, 255, 0.2);
}

.action-cancel {
    color: #ffc107;
}
.action-cancel:hover {
    background-color: rgba(255, 193, 7, 0.2);
}

.action-flag {
    color: #6c757d;
}
.action-flag:hover {
    background-color: rgba(108, 117, 125, 0.2);
}

.vhcenter {
    display: flex;
    align-items: center;
    justify-content: center;
}
.flexrow {
    display: flex;
    flex-direction: row;
}

/*!CALENDAR AND APPOINTMENTS*/

.calendar, .schedule {
    padding: 0 10px;
}

.calendar-item {
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 2px solid transparent;
    position: relative;
    flex: 0 0 14.286%;
    margin: 5px;
    max-width: calc(14.286% - 10px);
}

.selected-date {
    font-size: 12px;
}

.month-top-view-span {
    font-size: 3vh;
    font-weight: bolder;
    margin: 0 16px;
    color: var(--foreground);
}

.appointments .section-title {
    align-self: center;
    color: var(--foreground);
}

.client-appointments {
    width: 20%;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.client-appointments .appointment-lists {
    height: calc(100% - 48px);
    overflow-y: scroll;
}

.client-appointments ul {
    padding: 12px;
}

.client-appointments a {
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    align-self: end;
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 16px;
}

.appointment-card, .appointment-cardc {
    color: var(--textColor);
    border-radius: 24px;
    padding: 16px;
    background-color: var(--background);
}

/*.appointment-card .circular {
    background-color: #F0FFF0;
    color: #00A86B;
}*/

.appointment-card button {
    width: calc(100% - 31px);
    margin-right: 2px;
}

.appointment-cardc button {
    width: calc(100%);
    margin-top: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.appointment-time {
    display: flex;
    flex-direction: row;
    align-items: end;
}

.telecounselling-content {
    height: 100%;
    overflow-y: hidden;
    display: flex;
    flex-direction: row;
}

.conferencing {
    width: 60%;
    position: relative;
    height: calc(100vh - 76px);
}

.conferencing-tele {
    width: 80%;
    position: relative;
}

.feed-other {
    width: 100%;
    height: 100%;
    background-color: black;
    border-radius: 8px;
}

.feed-self {
    width: 200px;
    height: 175px;
    position: absolute;
    top: 0;
    right: 0;
    border-radius: 8px;
    border: 1px solid white;
}

.feed-controls {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translate(-50%, -50%);
}

.feed-controls span {
    border-radius: 50%;
    padding: 8px;
    margin: 0 4px;
}

.feed-status {
    position: absolute;
    left: 12px;
    top: 12px;
}

.black {
    background-color: var(--outline);
    color: var(--foreground);
}

/*!RATINGS*/
.ratings {
    padding: 24px 0;
}

.ratings h2 {
    margin-left: 12px;
}

.rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: start;
}
.rating:not(:checked) > input {
    position: absolute;
    appearance: none;
}

.rating:not(:checked) > label {
    float: right;
    cursor: pointer;
    font-size: 30px;
    color: #666;
}

.rating:not(:checked) > label > span {
    color: #666; /* Set default color for SVG */
    transition: fill 0.3s ease; /* Add a transition effect */
}

.rating > input:checked + label:hover,
.rating > input:checked + label:hover ~ label,
.rating > input:checked ~ label:hover,
.rating > input:checked ~ label:hover ~ label,
.rating > label:hover ~ input:checked ~ label {
    color: #e58e09;
}

.rating:not(:checked) > label:hover,
.rating:not(:checked) > label:hover ~ label {
    color: #ff9e0b;
}

.rating > input:checked ~ label > span {
    color: #ffa723; /* Set color for selected stars */
}

/* From Uiverse.io by andrew-demchenk0 */
.rating2 {
    align-self: flex-start;
}
.rating2:not(:checked) > input {
    position: absolute;
    appearance: none;
}

.rating2:not(:checked) > label {
    float: right;
    cursor: pointer;
    font-size: 30px;
    color: #666;
}

.rating2:not(:checked) > label:before {
    content: '★';
}

.rating2 > input:checked + label:hover,
.rating2 > input:checked + label:hover ~ label,
.rating2 > input:checked ~ label:hover,
.rating2 > input:checked ~ label:hover ~ label,
.rating2 > label:hover ~ input:checked ~ label {
    color: #e58e09;
}

.rating2:not(:checked) > label:hover,
.rating2:not(:checked) > label:hover ~ label {
    color: #ff9e0b;
}

.rating2 > input:checked ~ label {
    color: #ffa723;
}

/*!DROP DOWN*/
.custom-select-wrapper {
    position: relative;
    user-select: none;
    margin: 5px 2px;
    border: 1px solid var(--textColorVariant);
    border-radius: 10px;
    padding: 5px;
    width: 100%;
}

.custom-select {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.custom-select__trigger {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 10px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 400;
}

.custom-options {
    position: absolute;
    display: block;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--background);
    transition: all 0.5s;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 12;
    max-height: 117px;
    overflow-y: auto;
    border: 1px solid var(--primary);
    border-radius: 3px;
}

.custom-select.open .custom-options {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

/*display: block;
    padding: 10px;*/
.custom-option {
    position: relative;

    cursor: pointer;
    transition: all 0.5s;
    font-size: 12px;
    font-weight: 400;
    display: flex;
    align-items: center;
    padding: 8px 10px;
}

.custom-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 8px 12px;
}

/* Checkbox alignment */
.dropdowncheckbox {
    margin-right: 10px;
    flex-shrink: 0;
}

/* Option text should take remaining space */
.option-text {
    flex-grow: 1;
}

.custom-option:hover {
    cursor: pointer;
    background-color: var(--textColorVariant);
    color: var(--secondary);
}

.custom-option.selected {
    color: #fff;
    background-color: var(--secondary);
}

.custom-option:hover .dropdowncheckbox {
    border-color: var(--secondary);
}

.custom-option.selected:hover {
    background-color: var(--secondary);
    color: #fff;
}

.custom-option.selected:hover .dropdowncheckbox::after {
    background: #fff;
}

.arrow {
    position: relative;
    height: 15px;
    width: 15px;
}

.arrow {
    margin-left: 20px;
}

.arrow::before, .arrow::after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 0.15rem;
    height: 100%;
    transition: all 0.5s;
}

.arrow::before {
    left: -5px;
    transform: rotate(45deg);
    background-color: var(--textColor);
}

.arrow::after {
    left: 5px;
    transform: rotate(-45deg);
    background-color: var(--textColor);
}

.open .arrow::before {
    left: -5px;
    transform: rotate(-45deg);
}

.open .arrow::after {
    left: 5px;
    transform: rotate(45deg);
}

.dropdowncheckbox {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 1px solid var(--textColor);
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
    vertical-align: middle;
}

.dropdowncheckbox::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--secondary);
    opacity: 0;
    transition: opacity 0.2s;
}

.custom-option.selected .dropdowncheckbox::after {
    opacity: 1;
}

.option-text {
    vertical-align: middle;
}

.custom-select.multi-select .custom-select__trigger span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 80%;
    display: inline-block;
}

.custom-select.multi-select .custom-option {
    padding-left: 10px;
}

/*!SETTINGS*/
/* --- Base Settings Container --- */
.content-group.settings {
    padding: 24px 16px;
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--background);
    border-radius: 12px;
    gap: 30px;
    flex-direction: column;
}

/* --- Section Grouping and Titles --- */
.settings-group {
    padding: 16px 0;
}

.settings-group h2 {
    font-size: 1.5rem;
    color: var(--foreground);
    margin-bottom: 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--outline);
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-description {
    font-size: 0.9rem;
    color: var(--textColor);
    margin-bottom: 20px;
}

/* --- Individual Setting Item --- */
.setting-item {
    margin-bottom: 20px;
    padding: 10px 0;
    transition: background-color 0.2s;
}

.setting-item h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 6px;
}

/* --- Input Fields (for Email/Password Change) --- */
.setting-item .input-field {
    background-color: var(--surface);
    border: 1px solid var(--outline);
    padding: 8px 12px;
    border-radius: 8px;
    transition: border-color 0.3s;
}

.setting-item .input-field:focus-within {
    /* Using primary color for focus border */
    border-color: var(--primary);
    /* Using primary10 for the box shadow on focus */
    box-shadow: 0 0 0 2px var(--primary10);
}

.setting-item .input-field input {
    border: none;
    background: transparent;
    flex-grow: 1;
    padding: 0 8px;
    color: var(--foreground);
}

.setting-item .input-field .material-symbols-rounded {
    color: var(--textColor);
    font-size: 20px;
}

/* --- Toggle Button for 2FA Status (Security section) --- */
#toggle-2fa {
    min-width: 120px;
    /* Use primary for the main action button */
    background-color: var(--primary);
    color: var(--onSecondary);
    font-weight: 500;
    transition: background-color 0.3s, opacity 0.1s;
}

#toggle-2fa.enabled-status {
    /* Using secondary color to indicate the enabled/disable state, as no red is available */
    background-color: var(--secondary);
}

#toggle-2fa.enabled-status:hover {
    opacity: 0.8;
}

#toggle-2fa:hover {
    opacity: 0.8;
}

/* --- Danger Zone Specific Styles --- */
.settings-group.danger-zone h2 {
    /* Using secondary color for the "Danger Zone" heading and border since no red is defined */
    color: var(--secondary);
    border-color: var(--secondary);
}

.danger-zone .delete-button {
    /* Using secondary color for the destructive action button */
    background-color: var(--secondary);
    color: var(--onSecondary);
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 10px;
}

.danger-zone .delete-button:hover {
    /* Slightly darken the secondary color on hover */
    opacity: 0.8;
}

.icon-button {
    width: 48px !important;
    height: 48px !important;
    border-radius: 8px;
    background-color: var(--primary-light);
}

/* --- Utility Classes --- */
.gray-font {
    color: var(--textColor);
}

.error-text {
    /* Using secondary color for errors since no red is defined */
    color: var(--secondary);
    font-size: 0.85rem;
    margin-top: 10px;
}

/* --- NEW: 2FA Popup Modal Styles --- */
#two-factor-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Using your provided shadow variable for the backdrop opacity */
    background: var(--shadow);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#two-factor-overlay .popup-container {
    background-color: var(--background);
    border-radius: 12px;
    padding: 20px;
    width: 90%;
    max-width: 400px;
    /* Using your provided shadow variable for the box shadow */
    box-shadow: 0 4px 12px var(--shadow);
}

#two-factor-overlay .popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

#two-factor-overlay .popup-header h2 {
    font-size: 1.4rem;
    margin: 0;
    color: var(--foreground);
}

#two-factor-overlay .popup-close {
    cursor: pointer;
    color: var(--textColor);
}

#two-factor-overlay .popup-content .input-field {
    margin-bottom: 15px;
}

/*!CHECKBOX*/
.checkbox {
    display: none;
}

.toggleSwitch {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 50px;
    height: 30px;
    background-color: rgb(82, 82, 82);
    border-radius: 20px;
    cursor: pointer;
    transition-duration: .2s;
}

.toggleSwitch::after {
    content: "";
    position: absolute;
    height: 10px;
    width: 10px;
    left: 5px;
    background-color: transparent;
    border-radius: 50%;
    transition-duration: .2s;
    box-shadow: 5px 2px 7px rgba(8, 8, 8, 0.26);
    border: 5px solid white;
}

.checkbox:checked+.toggleSwitch::after {
    transform: translateX(100%);
    transition-duration: .2s;
    background-color: white;
}
/* Switch background change */
.checkbox:checked+.toggleSwitch {
    background-color: var(--primary);
    transition-duration: .2s;
}

/*!CHATS*/
.chats ul {
    padding: 0 8px;
}

.messages {
    width: 60%;
}

.messages .larger-font {
    color: var(--foreground);
}

.client-messages {
    width: 20%;
}

.notes {
    border-radius: 12px;
    background-color: transparent;
    padding: 16px;
    border: 1px solid var(--outline);
}

.messages, .client-messages {
    border-radius: 12px;
    background-color: transparent;
    padding: 16px;
    border: 1px solid var(--outline);
}

.messages ul, .client-messages ul {
    flex-grow: 1;
    padding-bottom: 12px;
}

.messages hr, .client-messages hr {
    margin: 8px 2px;
    background-color: var(--textColor);
    height: 2px;
}

.chat-box {
    border-radius: 16px;
    background-color: var(--outline);
    padding: 12px;
}

.chat-box textarea {
    background-color: transparent;
    padding: 4px;
    resize: none;
}

.chat-box .material-symbols-rounded {
    color: var(--textColor);
    margin-right: 8px;
    cursor: pointer;
    user-select: none;
}

.chat-box button {
    min-width: 120px;
    color: white;
}

.emoji-palette {
    display: none; /* Initially hidden */
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px;
    border-top: 1px solid #eee;
    margin-bottom: 5px;
    display: grid; /* Use grid layout */
    grid-template-columns: repeat(auto-fit, minmax(25px, 1fr)); /* Responsive columns */
    grid-template-rows: repeat(2, auto); /* Show only two rows */
    border-top: 1px solid #eee;
    max-height: calc(2 * (1.5em + 8px)); /* Limit the visible height */
    overflow: scroll;
}

.emoji {
    font-size: 1.5em;
    cursor: pointer;
    user-select: none;
}

.emoji-palette.expanded {
    display: flex;
}

.hidden {
    display: none;
}

.message-send {
    color: white;
    background-color: var(--primary);
    padding: 10px;
    border-top-left-radius: 8px;
    border-bottom-right-radius: 8px;
    flex-shrink: 1;
    display: flex;
    max-width: 50%;
    min-width: 25%;
    margin-top: 5px;
    align-self: end;
}

.message-send .small-font {
    color: white;
}

.message-receive {
    background-color: var(--surface);
    color: var(--onSurface);
    padding: 10px;
    border-top-right-radius: 8px;
    border-bottom-left-radius: 8px;
    flex-shrink: 1;
    display: flex;
    align-self: start;
    max-width: 50%;
    min-width: 25%;
    margin-top: 5px;
}

.read-image {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-left: 4px;
}

.message-date {
    font-size: 0.6rem;
    text-align: right;
}

.client-profile {
    padding: 10px;
}

.client-profile .material-symbols-rounded {
    color: var(--foreground);
}

.client-profile textarea, .notes-add textarea {
    flex-grow: 1;
    border: 1px solid var(--outline);
    border-radius: 12px;
    padding: 12px;
    background-color: var(--background);
}

.dot {
    height: 10px;
    width: 10px;
    background-color: #bbb;
    border-radius: 50%;
    margin: 0 6px;
}

/*!CHIPS*/
.status-chip {
    border: 1px solid var(--primary);
    border-radius: 12px;
}

.chip {
    border: 1px solid var(--background);
    background-color: var(--primary);
    border-radius: 12px;
    padding: 4px 8px;
    font-size: 12px;
    color: white;
}

.dot.online {
    background-color: var(--primary);
    border: 1px solid white;
}

.dot.offline {
    background-color: tomato;
    border: 1px solid white;
}

.status-chip.offline {
    border: 1px solid tomato;
}

.chip.offline {
    background-color: tomato;
}

/*!LEADERSHIP*/
.leaderboard-table, .transaction-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
}

.transaction-table-div {
    height: calc(100% - 230px);
    overflow-y: scroll;
}

.leaderboard-table td:nth-child(2), .leaderboard-table th:nth-child(2) {
    width: 50%;
}

.leaderboard-table td, .leaderboard-table th {
    width: 10%;
}

.leaderboard-table th {
    vertical-align: center;
}

.leaderboard-table .material-symbols-rounded {
    font-size: 16px;
}

.notification-group {
    position: relative;
}

.notification-group .material-symbols-rounded {
    color: var(--foreground);
}

.notification-num {
    background-color: #FFE4E1;
    color: #FF0000;
    font-size: 10px;
    position: relative;
    top: 0;
    padding: 1px 2px;
    border-radius: 14px;
    align-self: start;
    margin-left: -6px;
}

/*!EDUCATION*/
.education {
    display: flex;
    flex-direction: column;
}
.education ul, .tips ul {
    width: 100%;
}

.education-topics {
    width: 20%;
    border-right: 1px solid var(--outline);
    background-color: var(--inline);
}

.education-topics ul {
    width: 100%;
}

.education-viewer {
    width: 80%;
    height: calc(100vh - 108px);
    padding: 0 100px 10px 100px;
    overflow-y: auto;
}

.education-viewer img {
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    object-fit: cover;
}

.education-viewer h2 {
    align-self: center;
    margin-top: -12px;
    background-color: var(--primary);
    padding: 8px 16px;
    border-radius: 12px;
    color: white;
}

.education-viewer h4 {
    margin: 24px;
}

.education-viewer ul li {
    margin-left: 24px;
    list-style: square;
    margin-bottom: 8px;
}

.education-viewer .subtopic {
    background-color: var(--background);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 12px 32px 24px 12px;
    border-radius: 12px;
    margin-top: 24px;
}

.icon-radios {
    width: 140px;
    height: 60px;
    background-color: rgb(255, 255, 255);
    border-radius: 40px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.041);
    align-items: center;
    justify-content: center;
    display: flex;
    margin: 12px 0;
}

.icon-radios2 {
    width: 210px;
}

.icon-radios ul {
    list-style: none;
    width: 100%;
    background-color: transparent;
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
}

.icon-radios li {
    display: inline-block;
}

.icon-radios .radio {
    display: none;
}

.icon-radios span {
    opacity: 80%;
    cursor: pointer;
    padding: 13px 20px;
    transition: 0.2s;
}

.icon-radios span:hover {
    transition: 0.1s;
    color: var(--secondary);
    position: relative;
    margin-top: -4px;
    opacity: 100%;
}

.icon-radios  .radio:checked + label span {
    color: var(--secondary);
    fill-rule: evenodd;
}

/*!ASSESSMENTS*/
.assessment-questions, .challenges-questions {
    transition: 0.5ms;
    overflow-y: scroll;
}

.assessment-questions .card, .challenges-questions .card {
    margin-top: 12px;
}

.assessment-questions label, .challenges-questions label {
    margin-right: 24px;
}

.assessment-questions button, .challenges-questions button {
    color: white;
    align-self: end;
    margin-top: 20px;
    display: none;
}

.challenge-item button {
    text-align: center;
    display: block;
}

#assessment-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 24px;
    background-color: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    font-family: 'Arial', sans-serif;
}

/* Header */
.assessment-header {
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

/* Score + Rating */
.assessment-score-container {
    gap: 12px;
}



.pill {
    padding: 6px 16px;
    border-radius: 24px;
    background-color: #e0e0e0;
    font-weight: bold;
    text-align: center;
}

.largest-font {
    font-size: 1.5rem;
    color: #fff;
}

.rating-pill {
    font-size: 1rem;
    background-color: #2196F3;
    color: #fff;
}

/* Instructions */
.assessment-instruction {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 12px;
}

/* Recommendations */
.assessment-recommendations {
    font-size: 0.9rem;
    color: #333;
    background-color: #fff3cd;
    border-left: 4px solid #ffeeba;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 12px;
}

/* Options / Grading scale */
.assessment-options {
    font-size: 0.9rem;
    color: #333;
    background-color: #d1ecf1;
    border-left: 4px solid #bee5eb;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 12px;
}

/* Questions container */
.questions-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

/* Individual question cards */
.questions-container .card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* Save button */
#assessment-save {
    padding: 12px 24px;
    background-color: #ff5722;
    color: #fff;
    border: none;
    border-radius: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

#assessment-save:hover {
    background-color: #e64a19;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Popup container */
.popup {
    max-width: 450px;
    width: 90%;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    position: relative;
    gap: 16px;
    font-family: 'Arial', sans-serif;
}

/* Header */
.popup-header {
    justify-content: space-between;
    align-items: center;
}

/* Close button */
.close-btn {
    cursor: pointer;
    font-size: 1.5rem;
    color: #ff5722;
    transition: transform 0.2s ease;
}

.close-btn:hover {
    transform: rotate(90deg);
}

/* Score + Rating */
.popup-score-container {
    justify-content: center;
    gap: 12px;
    margin: 12px 0;
}

.pill {
    padding: 6px 16px;
    border-radius: 24px;
    font-weight: bold;
    text-align: center;
}

.rating-pill {
    font-size: 1rem;
    background-color: #2196F3;
    color: #fff;
}

/* Recommendations */
.popup-recommendations {
    font-size: 0.95rem;
    color: #333;
    background-color: #fff3cd;
    border-left: 4px solid #ffeeba;
    padding: 12px;
    border-radius: 8px;
    text-align: left;
    word-break: break-word;
}

.popup-recommendations ul {
    list-style-type: disc !important;
    list-style-position: outside !important;
    padding-left: 25px;
    color: var(--text-color);
}

.popup-recommendations ul li {
    display: list-item;
    margin-bottom: 2px;
}

.popup-recommendations ul li::marker {
    color: #000;
}

/* Responsive */
@media (max-width: 500px) {
    .largest-font {
        font-size: 1.5rem;
    }
    .rating-pill {
        font-size: 0.9rem;
    }
    .popup {
        padding: 16px;
    }
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .assessment-score-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .largest-font {
        font-size: 1.3rem;
    }

    .rating-pill {
        font-size: 0.9rem;
    }
}

/*!DIARY*/
.diary-content, .assessment-content {
    height: calc(100vh - 76px);
    margin-left: 12px;
}

.diary {
    height: 100%;
    width: 70%;
    color: var(--foreground);
    overflow-y: auto;
}

.diary h3 {
    color: var(--foreground);
}

.diary h2 {
    margin-left: 12px;
}

.diary-entry {
    width: 30%;
    border-top-left-radius: 16px;
    padding: 10px;
    border: 1px solid var(--inline);
}

.diary-entry hr {
    background-color: var(--outline);
    margin: 12px 0;
    height: 1px;
}

.diary-entry textarea {
    background-color: transparent;
    border: 1px solid var(--inline);
    border-radius: 16px;
    margin-top: 10px;
    padding: 16px;
    resize: none;
}

/*!WALLET AND TRANSACTIONS*/
/* --- Global Structural / Layout (Reiterated from previous step) --- */
.counsellor-group {
    height: 100%;
    overflow-y: hidden;
}

.counsellor-list, .counsellor-profile {
    overflow-y: auto;
}

.content-group.settings {
    /* Ensures the main content area has a clean background and rounded corners */
    background-color: var(--background);
    border-radius: 12px;
    box-shadow: 0 4px 12px var(--shadow);

    /* Display fixes for vertical flow and consistent spacing */
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 24px 16px;
    max-width: 800px;
    margin: 0 auto;
}

/* --- Section Grouping and Titles --- */

.settings-group h2 {
    font-size: 1.5rem;
    color: var(--foreground);
    margin-bottom: 8px;
    padding-bottom: 4px;
    /* Clean separator line */
    border-bottom: 2px solid var(--outline);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* --- Individual Setting Item Enhancements --- */

.setting-item {
    margin-bottom: 20px;
    padding: 10px;
    transition: background-color 0.2s, border-radius 0.2s;
}

.setting-item:hover {
    background-color: var(--surface); /* Light gray hover background */
    border-radius: 8px;
}

.setting-item h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 4px;
}

/* --- Input Fields and Interaction Focus --- */

.setting-item .input-field {
    /* Differentiated background and outline for inputs */
    background-color: var(--surface);
    border: 1px solid var(--outline);
    padding: 8px 12px;
    border-radius: 8px;
    transition: border-color 0.3s;
}

.setting-item .input-field:focus-within {
    /* Highlight with primary color on focus */
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary10);
}

.setting-item .input-field input {
    color: var(--foreground);
}

.setting-item .input-field .material-symbols-rounded {
    color: var(--textColor); /* Secondary text color for icons */
}

/* --- Primary Button Styling (Toggle and other main actions) --- */

#toggle-2fa,
.primary-action-button { /* Assuming a class for primary buttons exists */
    background-color: var(--primary);
    color: var(--onSecondary); /* White text */
    font-weight: 500;
    padding: 10px 18px;
    border-radius: 8px;
    transition: background-color 0.2s, opacity 0.2s;
    border: none;
    cursor: pointer;
}

#toggle-2fa:hover,
.primary-action-button:hover {
    /* Subtle darkening/opacity change for feedback */
    opacity: 0.9;
}

/* --- Toggled State (Using Secondary color for 'Disable' action) --- */

#toggle-2fa.enabled-status {
    /* Use secondary color to distinguish the 'disable' action, adding visual weight */
    background-color: var(--secondary);
}

#toggle-2fa.enabled-status:hover {
    opacity: 0.8;
}

/* --- Danger Zone Visual Cues --- */

.settings-group.danger-zone h2 {
    /* Using secondary color as the danger/warning accent */
    color: var(--secondary);
    border-color: var(--secondary);
}

.danger-zone .delete-button {
    /* Visually strong button for high-risk actions */
    background-color: var(--secondary);
    color: var(--onSecondary);
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.2s, opacity 0.2s;
    max-width: 200px;
}

.danger-zone .delete-button:hover {
    opacity: 0.8;
}

/* --- Utility/Text Elements --- */
.error-text {
    color: var(--secondary);
    font-size: 0.85rem;
    margin-top: 10px;
}

.gray-font {
    color: var(--textColor);
}

/* --- Modal/Overlay Enhancement (For 2FA prompt) --- */

#two-factor-overlay {
    /* Backdrop effect */
    background: var(--shadow);
}

#two-factor-overlay .popup-container {
    /* Modal appearance */
    background-color: var(--background);
    border-radius: 12px;
    box-shadow: 0 4px 12px var(--shadow);
    padding: 20px;
}

/*!CHECKBOX*/
.clear {
    clear: both;
}

.checkBox {
    display: block;
    cursor: pointer;
    width: 30px;
    height: 30px;
    border: 3px solid rgba(255, 255, 255, 0);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 0 2px var(--secondary);
}

.checkBox div {
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    top: -52px;
    left: -52px;
    position: absolute;
    transform: rotateZ(45deg);
    z-index: 100;
}

.checkBox input[type=checkbox]:checked + div {
    left: -10px;
    top: -10px;
}

.checkBox input[type=checkbox] {
    position: absolute;
    left: 50px;
    visibility: hidden;
}

.transition {
    transition: 300ms ease;
}

/*!SEARCH*/
.search {
    display: flex;
    line-height: 28px;
    align-items: center;
    position: relative;
    max-width: 300px;
}

.search-input {
    height: 40px;
    line-height: 28px;
    width: 100%;
    padding: 0 1rem 0 2.5rem;
    border: 2px solid transparent;
    border-radius: 8px;
    outline: none;
    background-color: var(--primary10);
    color: #0d0c22;
    transition: .3s ease;
}

.search-input::placeholder {
    color: var(--primary);
}

.search-icon {
    position: absolute;
    left: 1rem;
    fill: var(--primary);
    width: 1rem;
    height: 1rem;
}

/*!POPOVER*/
.full-screen {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(0,0,0,0.9);
}

.flex-container-center {
    displaY: flex;
    flex-direction: column;
    justify-content: center;
    align-items:center;
}

.full-screen{
    color: white
}

.hidden {
    display: none;
}

/*!TIPS*/
.tip-popup {
    padding: 10vh 15vw;
    max-height: 100vh;
}

.tip-content {
    flex-grow: 1;
    overflow-y: auto;
}

.tip-popup h2 {
    font-size: 6vh;
}

.tip-popup p {
    margin: 24px;
    font-size: 12vh;
}

.tip-popup .material-symbols-rounded {
    font-size: 32px;
    background-color: var(--secondary);
    border-radius: 50%;
    padding: 4px;
    color: white;
    margin: 12px 0;
}

/*!SARRENDER*/
.sarrender {
    height: 100%;
}
/*:root {
    --primary: #1faf07;
    --primary-light: #e8f7e6;
    --secondary: #2f7539;
    --text-color: #333;
    --text-light: #6c757d;
    --bg-color: #f8f9fa;
    --card-bg: #ffffff;
    --border-color: #e9ecef;
    --success-color: #4caf50;
    --error-color: #f44336;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --radius: 12px;
    --radius-sm: 8px;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    display: flex;
    height: 100vh;
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
}*/

/* Sidebar Styles */
.sidebar {
    width: 320px;
    background-color: var(--card-bg);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-header h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 500;
}

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

.sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.section-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.group-list {
    list-style: none;
}

.group-item {
    background-color: var(--card-bg);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.group-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.group-item.active {
    border-color: var(--primary);
    background-color: var(--primary-light);
}

.group-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.group-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 12px;
    font-size: 1.2rem;
    overflow: hidden;
}

.group-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.group-title {
    font-weight: 500;
    font-size: 1.1rem;
    flex: 1;
}

.group-stats {
    display: flex;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.group-stat {
    display: flex;
    align-items: center;
    gap: 4px;
}

.subgroup-list {
    list-style: none;
    margin-top: 12px;
    padding-left: 52px;
}

.subgroup-item {
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    margin-bottom: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.subgroup-item:hover {
    background-color: var(--primary-light);
}

.subgroup-item.active {
    background-color: var(--primary-light);
    color: var(--primary);
    font-weight: 500;
}

.subgroup-name {
    flex: 1;
}

.subgroup-count {
    background-color: var(--primary);
    color: white;
    border-radius: 12px;
    padding: 2px 8px;
    font-size: 0.75rem;
}

/* Main Content Styles */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-title {
    font-size: 1.4rem;
    font-weight: 600;
}

.chat-info {
    display: flex;
    gap: 16px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.chat-area {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background-color: var(--bg-color);
}

.message {
    max-width: 70%;
    margin-bottom: 20px;
    padding: 16px;
    border-radius: var(--radius);
    position: relative;
}

.message-sent {
    background-color: var(--primary);
    color: white;
    margin-left: auto;
    border-bottom-right-radius: 4px;
}

.message-received {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    margin-right: auto;
    border-bottom-left-radius: 4px;
}

.message-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.message-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    margin-right: 8px;
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--primary);
}

.message-avatar img {
    border-radius: 50%;
}

.message-sender {
    font-weight: 500;
    font-size: 0.9rem;
}

.message-time {
    font-size: 0.75rem;
    opacity: 0.7;
    margin-left: auto;
}

.message-content {
    margin-bottom: 8px;
}

.message-actions {
    display: flex;
    gap: 12px;
    font-size: 0.8rem;
}

.message-action {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.message-action .material-symbols-rounded, .group-stat .material-symbols-rounded {
    font-size: 16px;
}

.message-action:hover {
    opacity: 1;
}

.group-description {
    margin-left: 52px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.reply-indicator {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 8px;
    padding-left: 12px;
    border-left: 2px solid var(--primary);
}

.replies {
    margin-top: 12px;
    padding-left: 20px;
    border-left: 2px solid var(--border-color);
}

.reply {
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.03);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
}

.reply-header {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
    font-size: 0.8rem;
}

.reply-sender {
    font-weight: 500;
    margin-right: 8px;
}

.reply-time {
    color: var(--text-light);
}

/* Input Area Styles */
.input-area {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    background-color: var(--card-bg);
}

.input-container {
    display: flex;
    gap: 12px;
}

.message-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-family: 'Inter', sans-serif;
    resize: none;
    outline: none;
    transition: border-color 0.2s;
}

.message-input:focus {
    border-color: var(--primary);
}

.send-button {
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius);
    padding: 12px 20px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.send-button:hover {
    background-color: var(--secondary);
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    color: var(--text-light);
}

.empty-state-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state-text {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.empty-state-subtext {
    font-size: 0.9rem;
}

/* Loading indicator */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 359px) {
    .header {
        padding: 1px;
    }
    /*.header .logo {
        width: 100%;
        height: 100px;
    }*/
}

@media (min-width: 1px) {
    .header nav {
        display: none;
    }
    .footer-logo {
        width: 100%;
        height: 64px;
    }
    .footer {
        display: flex;
        flex-direction: column;
    }
}

@media (min-width: 360px) {
    .header {
        padding: 5px 10px;
    }
    .header .logo {
        height: 100px;
        width: 352px;
    }
}

@media (min-width: 640px) {
    .header nav {
        display: flex;
    }
    .footer-logo {
        height: 152px;
        width: 456px;
    }
}

@media (min-width: 960px) {
    .header {
        padding: 20px 50px;
    }
    .footer {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        height: 40%;
    }

    .message {
        max-width: 85%;
    }
}

/*!SWITCH*/
/* From Uiverse.io by andrew-demchenk0 */
.switch {
    --bg-color: #fff;
    --bg-color-alt: #666;
    --main-color: #323232;
    --input-out-of-focus: #ccc;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    width: 70px;
    height: 36px;
    transform: translateX(calc(50% - 10px));
}

.toggle {
    opacity: 0;
}

.slider {
    box-sizing: border-box;
    border-radius: 100px;
    border: 2px solid var(--main-color);
    box-shadow: 4px 4px var(--main-color);
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--input-out-of-focus);
    transition: 0.3s;
}

.slider:before {
    content: "No";
    box-sizing: border-box;
    height: 30px;
    width: 30px;
    position: absolute;
    left: 2px;
    bottom: 1px;
    border: 2px solid var(--main-color);
    border-radius: 100px;
    background-color: var(--bg-color);
    color: var(--main-color);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    line-height: 25px;
    transition: 0.3s;
}

.toggle:checked + .slider {
    background-color: var(--primary);
    transform: translateX(-32px);
}

.toggle:checked + .slider:before {
    content: "Yes";
    transform: translateX(32px);
}

/*!COUNSELLORS*/
.counsellor-card {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin: 10px;
    width: 300px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.profile-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 10px;
    display: block;
    object-fit: cover; /* Ensure image fills the circle without distortion */
}

.counsellor-name {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 5px;
}

.rating {
    color: orange;
    margin-bottom: 5px;
}

.age {
    color: gray;
    margin-bottom: 5px;
}

.profession {
    font-style: italic;
    margin-bottom: 8px;
}

.focus-areas {
    color: green;
    margin-bottom: 8px;
}

.experience {
    color: blue;
}

/*
@media (prefers-color-scheme: dark) {
    .svg-invert {
        filter: invert(1);
    }
}

@media (prefers-color-scheme: light) {
    .svg-invert {
        filter: invert(0);
    }
}
*/

/* Add these styles to your CSS */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.popup-overlay.active {
    opacity: 1;
}

.popup-container {
    width: 90%;
    max-width: 100vw;
    height: calc(100vh - 70px);
    background-color: var(--background);
    border-radius: 10px;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.popup-overlay.active .popup-container {
    transform: scale(1);
}

.popup-header {
    padding: 15px 20px;
    background-color: var(--primary);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popup-close {
    cursor: pointer;
    font-size: 24px;
}

.popup-content {
    flex: 1;
    overflow: auto;
    padding: 20px;
}

/* CSS */
.bottom-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.bottom-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.bottom-popup-container {
    width: 90%;
    max-width: 600px;
    height: 0;
    max-height: 70vh;
    background-color: white;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    transform: translateY(100%);
    transition: transform 0.3s ease, height 0.3s ease;
    display: flex;
    flex-direction: column;
}

.bottom-popup-overlay.active .bottom-popup-container {
    height: 70vh;
    transform: translateY(0);
}

.bottom-popup-header {
    padding: 16px 20px;
    background-color: #f8f8f8;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bottom-popup-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.popup-close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0 8px;
}

.bottom-popup-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

/* Optional: Add some bounce effect */
@keyframes bounceInUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .bottom-popup-container {
        width: 100%;
        border-radius: 0;
    }
}

/* Animation when opening */
@keyframes popupIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.classic-button .material-symbols-rounded {
    margin-right: 16px;
}

/* Animation when closing */
@keyframes popupOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(20px);
    }
}

.profile-picture {
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 4px solid var(--primary);
}

.profile-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-header {
    padding: 15px 25px;
    border-radius: 10px;
    display: inline-block;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    text-transform: capitalize;
    letter-spacing: -0.02em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    align-self: center;
}

.section-header.pastel-green {
    background-color: #D4EDDA;
    color: #28a745;
}

/*!LANDING PAGE*/
.header {
    /*padding: 20px 50px;*/
    min-height: 130px;
}

.header .logo {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--foreground);
    margin-left: 24px;
}

.header nav {
    flex-direction: row;
}

.header nav a {
    color: var(--textColor);
    text-decoration: none;
    margin-left: 30px;
    font-weight: bold;
    transition: color 0.3s ease;
}

.header nav a:hover {
    color: var(--foreground);
}

.hero-section {
    background-color: var(--primary10);
    padding: 80px 50px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.hero-section h1 {
    font-size: 3.5em;
    color: var(--foreground);
    margin-bottom: 10px;
}

.hero-section p {
    font-size: 1.3em;
    color: var(--textColor);
    max-width: 800px;
    line-height: 1.6;
}

.call-to-action {
    margin-top: 30px;
}

.section {
    padding: 60px 50px;
    text-align: center;
}

.section h2 {
    font-size: 2.5em;
    color: var(--secondary);
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    background-color: var(--background);
    border: 1px solid var(--outline);
    border-radius: 10px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.feature-item img {
    height: 40px;
    width: 40px;
    margin-bottom: 15px;
}

.feature-item h3 {
    font-size: 1.5em;
    color: var(--primary);
    margin: 10px 0;
}

.testimonial-section {
    background-color: var(--inline);
    padding: 60px 50px;
    text-align: center;
}

.testimonial-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: var(--background);
    border-radius: 10px;
    padding: 30px;
    max-width: 450px;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 15px;
}

.testimonial-card .author {
    font-weight: bold;
    color: var(--secondary);
}

.contact-section {
    background-color: var(--background);
    padding: 60px 50px;
    text-align: center;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form label {
    text-align: left;
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--outline);
    border-radius: 8px;
    font-size: 1em;
    box-sizing: border-box;
    color: var(--foreground);
    background-color: var(--background);
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.footer {
    background-color: #1FAF07;
    color: var(--textColorVariant);
    padding: 40px 50px;
    font-size: 0.9em;
}

.footer nav {
    display: flex;
    flex-direction: column;
}

.footer nav a {
    color: var(--textColorVariant);
    text-decoration: none;
    margin: 16px 0;
    transition: color 0.3s ease;
}

.footer nav a:hover {
    color: var(--primary);
}

/*!WALLET*/
.wallet-content {
    display: flex;
    flex-direction: column;
}

.wallet-content .card {
    display: flex;
    flex-direction: column;
}

.wallet-content .card a {
    color: #ff7900;
}

.checkout-cards-container {
    display: flex;
    flex-wrap: wrap; /* Allow cards to wrap on smaller screens */
    justify-content: center;
    gap: 30px; /* Space between cards */
    max-width: 1000px; /* Max width for the container */
    margin: 40px auto; /* Center the container with margin */
}

.checkout-card {
    background-color: var(--background);
    border: 1px solid var(--outline);
    border-radius: 12px; /* Slightly more rounded corners */
    padding: 30px;
    width: 350px; /* Fixed width for each card, will adjust with flex-wrap */
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); /* Stronger shadow for emphasis */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Distribute space evenly */
}

.checkout-card:hover {
    transform: translateY(-8px); /* Lift card on hover */
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15); /* More pronounced shadow on hover */
}

.card-header {
    margin-bottom: 20px;
}

.card-header h3 {
    font-size: 1.8em;
    color: var(--primary);
    margin-bottom: 5px;
}

.card-duration {
    font-size: 1.1em;
    color: var(--textColor);
    margin-top: 0;
}

.card-price {
    margin-bottom: 25px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 5px;
}

.card-price .price-amount {
    font-size: 3.5em; /* Large price text */
    font-weight: bold;
    color: var(--foreground);
    line-height: 1; /* Align text better */
}

.card-price .price-currency {
    font-size: 1.2em;
    color: var(--textColor);
    align-self: flex-end; /* Align to the bottom of the price amount */
    margin-bottom: 8px; /* Small adjustment for visual alignment */
}

.card-details {
    text-align: left;
    margin-bottom: 30px;
    flex-grow: 1; /* Allow details section to grow and take available space */
}

.card-details ul {
    list-style: none; /* Remove default list style */
    padding: 0;
    margin: 0;
}

.card-details li {
    padding: 8px 0;
    color: var(--textColor);
    font-size: 1em;
    border-bottom: 1px dashed var(--outline); /* Subtle separator */
}

.card-details li:last-child {
    border-bottom: none; /* No border for the last item */
}

/* Ensure pill-button is responsive within the card */
.checkout-card .pill-button {
    width: 100%;
    margin-top: auto; /* Push button to the bottom of the card */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .checkout-card {
        width: 100%; /* Cards take full width on smaller screens */
        max-width: 400px; /* Limit max width for readability on very small screens */
    }

    .checkout-cards-container {
        padding: 0 20px; /* Add some horizontal padding */
    }
}

/*!NOTIFICATIONS*/
.notification-overlay {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    top: 0;
    left: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    background-color: rgba(0, 0, 0, 0.1); /* Slightly transparent background */
    z-index: 1000; /* Sit on top */
    overflow: auto; /* Enable scroll if needed */
}

/* Notification Popup Container */
.notification-popup {
    background-color: var(--background);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    width: 90%; /* Responsive width */
    max-width: 400px; /* Maximum width */
    position: absolute;
    top: 80px; /* Position below the header */
    right: 20px; /* Align to the right */
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    max-height: 80vh; /* Max height to allow scrolling for many notifications */
    overflow-y: auto; /* Enable vertical scrolling */
    animation: fadeInScale 0.3s ease-out forwards; /* Simple animation */
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}


/* Popup Header */
.notification-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--outline);
}

.notification-popup-header h3 {
    margin: 0;
    font-size: 1.5em;
    color: var(--secondary);
}

.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: opacity 0.3s;
}

.close-popup-button {
    background: none;
    border: none;
    font-size: 1.2em;
    color: var(--textColor);
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-popup-button:hover {
    color: #f00; /* Red on hover for close */
}

/* Horizontal Rule */
.notification-popup hr {
    border: none;
    border-top: 1px solid var(--inline);
    margin: 10px 0;
}

/* Notification List Container */
.notification-list {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Space between notification cards */
}

/* Individual Notification Card */
.notification-card {
    background-color: var(--surface);
    border: 1px solid var(--outline);
    border-radius: 8px;
    padding: 15px;
    text-align: left;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: background-color 0.2s ease;
}

.notification-card.unread {
    background-color: var(--primary10); /* Highlight unread notifications */
    border-color: var(--primary);
}

.notification-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.notification-title {
    font-size: 1.1em;
    color: var(--foreground);
    margin: 0;
    flex-grow: 1;
}

.delete-notification-button {
    background: none;
    border: none;
    color: var(--textColor);
    cursor: pointer;
    font-size: 0.9em;
    margin-left: 10px;
    transition: color 0.3s ease;
}

.delete-notification-button:hover {
    color: #f00;
}

.notification-message {
    font-size: 0.9em;
    color: var(--textColor);
    margin: 0 0 10px 0;
}

.notification-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8em;
    color: var(--textColor);
    padding-top: 10px;
    border-top: 1px dashed var(--outline);
}

.mark-as-read-button {
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    font-weight: bold;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.mark-as-read-button:hover {
    color: var(--secondary);
}

#info-modal {
    /* Positioning (fixed inset-0) */
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    /* Background (bg-gray-900 bg-opacity-75) */
    background-color: rgba(17, 24, 39, 0.75);

    /* Layout */
    display: flex;
    align-items: center;
    justify-content: center;

    /* Layering */
    z-index: 50;

    /* Visibility Control */
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
}

/* Active state makes the modal visible */
#info-modal.active {
    visibility: visible;
    opacity: 1;
}

/* Modal Content Styling (The box itself) */
.modal-content {
    background-color: #fff;
    border-radius: 0.75rem; /* rounded-xl */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); /* shadow-2xl */
    padding: 1.5rem; /* p-6 */
    max-width: 32rem; /* max-w-lg */
    width: 91.666667%; /* w-11/12 */
}

/* Responsive Padding for larger screens */
@media (min-width: 768px) {
    .modal-content {
        padding: 2rem; /* md:p-8 */
    }
}

/* Header Styles */
.modal-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem; /* mb-4 */
}

.modal-icon {
    width: 2rem; /* w-8 */
    height: 2rem; /* h-8 */
    color: #f97316; /* text-orange-500 */
    margin-right: 0.75rem; /* mr-3 */
}

.modal-title {
    font-size: 1.5rem; /* text-2xl */
    font-weight: 700; /* font-bold */
    color: #1f2937; /* text-gray-800 */
}

/* Body Content Styles */
.modal-body {
    color: #4b5563; /* text-gray-600 */
    margin-bottom: 1.5rem; /* mb-6 */
}

/* Spacing for paragraphs inside the body (space-y-4) */
.modal-body > * + * {
    margin-top: 1rem;
}

.modal-list {
    list-style-type: disc;
    list-style-position: inside;
    margin-left: 1rem;
    font-size: 0.875rem; /* text-sm */
    font-weight: 500; /* font-medium */
}

.modal-highlight {
    color: #ea580c; /* text-orange-600 */
    font-weight: 600; /* font-semibold */
}

/* Footer and Button */
.modal-footer {
    display: flex;
    justify-content: flex-end; /* justify-end */
}

#modal-close {
    background-color: #9ca3af; /* bg-gray-400 equivalent for context */
    color: #1f2937;
}

#modal-close:hover {
    background-color: #6b7280; /* Darker gray on hover */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 600px) {
    .notification-popup {
        top: 60px; /* Adjust position for smaller screens */
        right: 10px;
        left: 10px; /* Take more width */
        max-width: none; /* Remove max-width constraint */
    }

    .notification-popup-header h3 {
        font-size: 1.3em;
    }
    .close-popup-button {
        font-size: 1em;
    }
}


/*!MEDIA QUERIES*/
@media screen and (min-width: 1px) {
    .one-objects, .four-objects, .five-objects, .six-objects, .two-objects {
        flex: 0 0 100%;
        max-width: calc(100% - 10px);
        margin: 5px;
    }
    .charts {
        display: flex;
        flex-direction: column;
    }
    .chart {
        width: 100%;
        height: 350px;
        margin: 5px;
    }
    .content-main {
        width: calc(100vw - 34px);
    }
    .content nav {
        width: 36px;
    }
    .content nav li {
        padding: 0;
        width: 34px;
    }
    .content nav .material-symbols-rounded {
        margin-right: 0;
    }
    .content nav .menu-title, header h2, .search, .login-gray {
        display: none;
    }
    .calendar {
        width: 0;
        display: none;
    }
    .appointments {
        width: 100%;
    }
    .notes-content, .chat-content {
        display: flex;
        flex-direction: column;
    }
    .chats, .notes, .notes-add, .messages, .client-profile {
        width: 100%;
        max-height: 33.3%;
    }
    .login-white {
        width: 100%;
        padding: 32px 64px;
    }
    .assessment-content {
        display: flex;
        flex-direction: column;
    }
    .assessments, .assessment-questions {
        width: 100%;
    }
    .assessments, .challenges {
        height: 350px;
        overflow-y: hidden;
    }
    .assessments ul {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-y: hidden;
    }
    .assessments ul li {
        margin-right: 10px;
    }
    .assessment-questions .card {
        display: flex;
        flex-direction: column;
    }
    .client-appointments, .client-messages {
        display: none;
    }
    .conferencing {
        width: 100%;
    }
}

@media screen and (min-width: 640px) {
    .four-objects, .five-objects, .two-objects {
        flex: 1 0 50%;
        max-width: calc(50% - 20px);
        margin: 10px;
    }
    .six-objects {
        flex: 1 0 33.333%;
        max-width: calc(33.333% - 20px);
        margin: 10px;
    }
    .search {
        display: flex;
    }
}

@media screen and (min-width: 960px) {
    .five-objects {
        flex: 1 0 33.333%;
        max-width: calc(33.333% - 20px);
        margin: 10px;
    }
    .six-objects {
        flex: 1 0 25%;
        max-width: calc(25% - 10px);
        margin: 5px;
    }
    .content-main {
        width: calc(100vw - 180px);
    }
    .content nav {
        width: 180px;
    }
    .content nav li {
        padding: 10px;
        width: 100%;
    }
    .content nav .material-symbols-rounded {
        margin-right: 10px;
    }
    .content nav .menu-title, header h2, .login-gray {
        display: flex;
    }
    .login-gray {
        width: 40vw;
    }
    .login-white {
        width: 60vw;
    }
    .notes-content, .chat-content {
        flex-direction: row;
    }
    .chats, .notes, .notes-add, .messages, .client-profile {
        height: calc(100% - 108px);
    }
    .chats, .notes-add, .client-profile {
        width: 20%;
    }
    .notes, .messages {
        width: 60%;
        margin: 0 16px;
    }
    .messages {
        height: calc(100vh - 108px);
    }
    .assessment-content {
        flex-direction: row;
    }
    .assessments, .challenges {
        width: 30%;
        height: 100%;
        overflow-y: scroll;
    }
    .assessment-questions, .challenges-questions {
        width: 70%;
        padding: 12px;
    }
    .assessments ul {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        overflow-y: auto;
    }
    .client-appointments {
        display: flex;
        width: 20%;
    }
    .client-messages {
        display: none;
    }
    .conferencing {
        width: 80%;
    }
}

@media screen  and (min-width: 1200px){
    .four-objects, .five-objects {
        flex: 1 0 25%;
        max-width: calc(25% - 10px);
        margin: 5px;
    }
    .six-objects {
        flex: 1 0 20%;
        max-width: calc(20% - 10px);
        margin: 5px;
    }
    .charts {
        display: flex;
        flex-direction: row;
        height: 350px;
    }
    .chart {
        width: 33.3%;
        height: 100%;
        margin: 5px;
    }
    .calendar {
        width: 60%;
        display: flex;
    }
    .appointments {
        width: 40%;
    }
    .login-gray {
        width: 40vw;
    }
    .login-white {
        width: 60vw;
        padding: 32px 20%;
    }
    .assessments, .challenges {
        width: 20%;
        overflow-y: scroll;
    }
    .assessment-questions, .challenges-questions {
        width: 80%;
        padding: 12px;
    }
    .assessment-questions .card {
        display: flex;
        flex-direction: row;
    }
    .client-appointments, .client-messages {
        display: flex;
        width: 20%;
    }
    .conferencing {
        width: 60%;
    }
}

@media screen  and (min-width: 1440px){
    .five-objects {
        flex: 1 0 20%;
        max-width: calc(20% - 10px);
        margin: 5px;
    }
    .six-objects {
        flex: 1 0 16.667%;
        max-width: calc(16.667% - 10px);
        margin: 5px;
    }
}

/* Main Container */
.education-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* ===== DASHBOARD HEADER ===== */
.dashboard-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 24px;
    padding: 32px;
    margin-bottom: 32px;
    color: white;
    box-shadow: 0 10px 30px rgba(31, 175, 7, 0.2);
}

.header-title h1 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 8px;
}

.header-title p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 24px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-icon {
    font-size: 36px !important;
    color: rgba(255, 255, 255, 0.9);
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}

.stat-label {
    font-size: 14px;
    opacity: 0.8;
}

/* Progress Bar */
.progress-container {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    padding: 20px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 15px;
    font-weight: 500;
}

.progress-bar {
    height: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--success);
    border-radius: 10px;
    width: 0%;
    transition: width 0.5s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: white;
    opacity: 0.3;
}

/* ===== EDUCATION GRID ===== */
.education-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* Section Cards */
.section-card {
    background: var(--white);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(31, 175, 7, 0.08);
    transition: box-shadow 0.3s ease;
}

.section-card:hover {
    box-shadow: 0 8px 30px rgba(31, 175, 7, 0.15);
}

.section-card.full-width {
    grid-column: 1 / -1;
}

/* Section Header */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border-light);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-icon {
    font-size: 28px !important;
    color: var(--primary);
    background: var(--primary-soft);
    padding: 8px;
    border-radius: 12px;
}

.section-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
}

.view-all {
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    background: var(--primary-soft);
    border-radius: 30px;
    transition: all 0.3s ease;
}

.view-all:hover {
    background: var(--primary);
    color: var(--white);
}

/* Topics List */
.topics-list {
    list-style: none;
    max-height: 300px;
    overflow-y: auto;
    padding-right: 8px;
}

.topics-list li {
    margin-bottom: 12px;
}

/* Topic Item */
.topic-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--off-white);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.topic-item:hover {
    background: var(--primary-soft);
    transform: translateX(4px);
    border-color: var(--border-light);
}

.topic-icon {
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(31, 175, 7, 0.1);
}

.topic-icon .material-symbols-rounded {
    font-size: 24px !important;
    color: var(--primary);
}

.topic-info {
    flex: 1;
}

.topic-title {
    font-weight: 600;
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.topic-meta {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    gap: 12px;
}

.topic-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.topic-meta .material-symbols-rounded {
    font-size: 14px !important;
}

.topic-badge {
    padding: 4px 12px;
    background: var(--border-light);
    border-radius: 30px;
    font-size: 12px;
    color: var(--secondary-dark);
}

.topic-progress {
    width: 48px;
    height: 48px;
    position: relative;
}

/* Progress Ring */
.progress-ring {
    transform: rotate(-90deg);
}

.progress-ring-bg {
    stroke: var(--border-light);
}

.progress-ring-fill {
    stroke: var(--primary);
    transition: stroke-dashoffset 0.3s;
}

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    background: var(--primary-soft);
    border-radius: 20px;
    color: var(--text-muted);
    text-align: center;
}

.empty-state .material-symbols-rounded {
    font-size: 48px !important;
    margin-bottom: 16px;
    opacity: 0.5;
    color: var(--primary);
}

.empty-state p {
    font-size: 15px;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-secondary);
}

.empty-state-sub {
    font-size: 13px;
    opacity: 0.7;
    color: var(--text-muted);
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.category-card {
    background: var(--off-white);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.category-card:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(31, 175, 7, 0.2);
}

.category-card:hover .category-icon,
.category-card:hover p {
    color: var(--white);
}

.category-icon {
    font-size: 40px !important;
    color: var(--primary);
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.category-card h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.category-card:hover h4 {
    color: var(--white);
}

.category-card p {
    font-size: 13px;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

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

.resource-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--off-white);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.resource-card:hover {
    background: var(--primary-soft);
    transform: translateY(-2px);
}

.resource-icon {
    font-size: 36px !important;
    color: var(--primary);
    background: var(--white);
    padding: 10px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(31, 175, 7, 0.1);
}

.resource-info {
    flex: 1;
}

.resource-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.resource-info p {
    font-size: 13px;
    color: var(--text-muted);
}

.resource-btn {
    padding: 8px 16px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.resource-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* Scrollbar Styling */
.topics-list::-webkit-scrollbar {
    width: 6px;
}

.topics-list::-webkit-scrollbar-track {
    background: var(--primary-soft);
    border-radius: 10px;
}

.topics-list::-webkit-scrollbar-thumb {
    background: var(--accent-green);
    border-radius: 10px;
}

.topics-list::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

@media (max-width: 768px) {
    .education-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .resources-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-header {
        padding: 24px;
    }

    .header-title h1 {
        font-size: 24px;
    }

    .section-card {
        padding: 20px;
    }

    .topic-item {
        padding: 12px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-card {
    animation: fadeIn 0.5s ease forwards;
}

.section-card:nth-child(2) {
    animation-delay: 0.1s;
}

.section-card:nth-child(3) {
    animation-delay: 0.2s;
}

.section-card:nth-child(4) {
    animation-delay: 0.3s;
}

/* Additional Green Elements */
.badge-green {
    background: var(--primary-soft);
    color: var(--primary-dark);
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 500;
}

.green-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.green-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.green-border {
    border: 1px solid var(--border-light);
}

.green-divider {
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--success));
    width: 100%;
    margin: 24px 0;
}
