/*Styling Sheet for Tempfolio frontEnd*/
/*noinspection ALL*/

@font-face {
    font-family: "Lato";
    src: url("/fonts/Lato/Lato-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}
/*noinspection ALL*/
@font-face {
    font-family: "Lato";
    src: url("/fonts/Lato/Lato-Bold.ttf") format("truetype");
    font-weight: bold;
    font-style: normal;
}
/*noinspection ALL*/
@font-face {
    font-family: "Lato";
    src: url("/fonts/Lato/Lato-Light.ttf") format("truetype");
    font-weight: 200;
    font-style: normal;
}
/*noinspection ALL*/
@font-face {
    font-family: "Lato";
    src: url("/fonts/Lato/Lato-Italic.ttf") format("truetype");
    font-weight: normal;
    font-style: italic;
}

:root {
    --notification-height: 0px !important; /* banners disabled */
    --scrollbar-width: 12px !important;
    --navbar-height: 66px !important;
}

html {
    overflow: hidden;
    height: 100%;
}

body {
    height: 100%;
    padding: 0;
    margin: 0;
    font-family: "Lato", "Segoe UI", sans-serif !important;
    background-color: #f8f9fa;
    color: #2d4456;
    overflow-x: hidden;
    overflow-y: auto;
    max-width: 100%;
    position: relative;
    z-index: 0;
}

body::-webkit-scrollbar {
    width: var(--scrollbar-width);
}

body::-webkit-scrollbar-track {
    margin-top: calc(var(--notification-height) + var(--navbar-height));
    background: #f1f1f1;
}

body::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 12px;
}

body::-webkit-scrollbar-thumb:hover {
    background: #555;
}

::-webkit-input-placeholder {
    font-style: italic;
}
::-moz-placeholder {
    font-style: italic;
}
:-ms-input-placeholder {
    font-style: italic;
}
:-moz-placeholder {
    font-style: italic;
}

/*Controls max width of entire site*/
.container {
    display: flex;
    flex-direction: column;
    min-height: 70vh;
    margin-top: 48px;
    margin-right: auto;
    margin-left: auto;
    width: 100%;
}
.container-home{
    margin-top: 30px;
}

/*replaces defaultsStyles in styles/defaults.js*/
.bg-color-main {
    background-color: #f8f9fa;
}

/*no link underline or hover for entire site*/
a {
    color: inherit !important;
    text-decoration-line: none !important;
}


select {
    color: #2d4456 !important;        /* Your preferred font color */
    font-family: "Lato", sans-serif !important;
    -webkit-appearance: none;         /* Remove iOS default styling */
    -moz-appearance: none;
    appearance: none;
    background-color: #fff;           /* Optional: match your UI */
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

/* ── Global Buttons ──────────────────────────────────────────────────────── */

/* Primary — pill, dark fill → orange on hover */
#buttons, .buttons {
    height: 40px !important;
    padding: 0 22px !important;
    background-color: #0f1429 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 999px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    letter-spacing: 0.01em !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background-color 0.18s, transform 0.12s, box-shadow 0.18s !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.18) !important;
    text-decoration: none !important;
}

#buttons:hover, .buttons:hover {
    background-color: #ff4a00 !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 18px rgba(255, 74, 0, 0.32) !important;
}

#buttons:active, .buttons:active {
    background-color: #e04200 !important;
    transform: translateY(0) !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.18) !important;
}

#buttons:focus-visible, .buttons:focus-visible {
    outline: 2px solid #ff4a00 !important;
    outline-offset: 2px !important;
}

#buttons:disabled, .buttons:disabled {
    background-color: #e5e7eb !important;
    color: #9ca3af !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Alt — pill ghost → dark fill on hover */
#buttons-alt {
    height: 40px !important;
    padding: 0 22px !important;
    background-color: transparent !important;
    color: #0f1429 !important;
    border: 1.5px solid rgba(15, 20, 41, 0.28) !important;
    border-radius: 999px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    letter-spacing: 0.01em !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    outline: none !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background-color 0.18s, border-color 0.18s, color 0.18s,
                transform 0.12s, box-shadow 0.18s !important;
    text-decoration: none !important;
    align-self: center;
    min-width: max-content;
}

#buttons-alt:hover {
    background-color: #0f1429 !important;
    border-color: #0f1429 !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 18px rgba(15, 20, 41, 0.20) !important;
}

#buttons-alt:active {
    transform: translateY(0) !important;
    box-shadow: none !important;
}

#buttons-alt:focus-visible {
    outline: 2px solid #0f1429 !important;
    outline-offset: 2px !important;
}

#buttons-alt:disabled {
    border-color: #e5e7eb !important;
    color: #9ca3af !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    transform: none !important;
}

#buttons-alt.selected {
    background-color: #ff4a00 !important;
    border-color: #ff4a00 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(255, 74, 0, 0.28) !important;
}

/* ── Global Buttons — Dark Mode ──────────────────────────────────────────── */

[data-theme="dark"] #buttons,
[data-theme="dark"] .buttons {
    background-color: #ff4a00 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.30) !important;
}

[data-theme="dark"] #buttons:hover,
[data-theme="dark"] .buttons:hover {
    background-color: #e04200 !important;
    box-shadow: 0 6px 18px rgba(255, 74, 0, 0.38) !important;
}

[data-theme="dark"] #buttons:active,
[data-theme="dark"] .buttons:active {
    background-color: #c43900 !important;
}

[data-theme="dark"] #buttons:disabled,
[data-theme="dark"] .buttons:disabled {
    background-color: #1e2640 !important;
    color: #475569 !important;
}

[data-theme="dark"] #buttons-alt {
    color: #cbd5e1 !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
}

[data-theme="dark"] #buttons-alt:hover {
    background-color: #ff4a00 !important;
    border-color: #ff4a00 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(255, 74, 0, 0.32) !important;
}

[data-theme="dark"] #buttons-alt:disabled {
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #475569 !important;
}

[data-theme="dark"] #buttons-alt.selected {
    background-color: #ff4a00 !important;
    border-color: #ff4a00 !important;
}

.button-search {
    width: 80px;
    margin: 0 0 0 10px;
    padding: 5px 15px !important;
    border-radius: 10px !important;
    font-weight: 500 !important;
    border: none !important;
}

.button-login {
    height: 40px !important;
    padding: 0 20px !important;
    margin: 0 8px 0 0 !important;
    color: #0f1429 !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    line-height: 1 !important;
    background-color: transparent !important;
    border: 1.5px solid rgba(15, 20, 41, 0.28) !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background-color 0.18s, border-color 0.18s, color 0.18s,
                transform 0.12s, box-shadow 0.18s !important;
    white-space: nowrap !important;
    text-decoration: none !important;
}

.button-login:hover {
    background-color: #0f1429 !important;
    border-color: #0f1429 !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 18px rgba(15, 20, 41, 0.18) !important;
}

.button-signup {
    margin: 0 8px 0 0 !important;
    color: #ffffff !important;
}

.button-create {
    vertical-align: middle;
    margin: 0 auto;
    text-wrap: nowrap;
}

.button-switch-admin{
    margin-left: 12px;
    margin-right: -15px;
}

.button-switch-admin-sidebar{
    display: flex;
    justify-self: center;
    padding: 10px 20px;
    margin-bottom: 15px;
}

.button-admin,
.button-admin-sidebar {
    color: white !important;
    background-color: #1e9f22;
    vertical-align: middle;
    display: flex;
    justify-content: center;
    border: none !important;
    border-radius: 10px !important;
    min-width: 100%;
}
.button-admin:hover,
.button-admin-sidebar:hover {
    background-color: #146b1f;
    color: white !important;
}

.button-logout {
    color: white !important;
    background-color: white !important;
    vertical-align: middle;
    display: flex;
    justify-content: center;
    border: none !important;
    border-radius: 10px !important;
}

#login-input-email,
#login-input-pass {
    border: 1px solid #0f1429;
}

#login-input:focus {
    box-shadow: 0 0 10px #f18805 !important;
    border-color: #f18805 !important;
    text-shadow: none !important;
}


.full-app-page {
    overflow-x: hidden;
    margin-right: 0 !important;
    background-color: #F8F9FA !important;
    transition: margin-top 0.3s ease-in-out, background-color 0.25s ease;
    position: relative;
    overflow: initial;
    /* padding-top: calc(var(--notification-height) + var(--navbar-height)); */
    padding-top: calc(var(--navbar-height));
}

/* ── Dark Mode — base ──────────────────────────────────────────────────────── */
[data-theme="dark"] body {
    background-color: #0f1117;
    color: #f1f5f9;
}
[data-theme="dark"] .full-app-page {
    background-color: #0f1117 !important;
}

/* Signup page has no navbar — remove the navbar offset */
.full-app-page:has(.register-page-container) {
    padding-top: 0;
    background-color: transparent !important;
}

[data-theme="dark"] body::-webkit-scrollbar-track {
    background: #1a1d2e;
}
[data-theme="dark"] body::-webkit-scrollbar-thumb {
    background: #4b5563;
}
/* ── End Dark Mode — base ──────────────────────────────────────────────────── */

.material-icons {
    vertical-align: middle;
}
.material-icons.mdi-18 {
    font-size: 18px;
}
.material-icons.mdi-24 {
    font-size: 24px;
}
.material-icons.mdi-36 {
    font-size: 36px;
}
.material-icons.mdi-48 {
    font-size: 48px;
}

.between {
    display: flex;
    justify-content: space-between;
}
.hover-pointer:hover {
    cursor: pointer;
}
#rsc-list:hover {
    background-color: #dedede;
}

/*Pagination for admin*/
.pagination {
    margin: 0 auto;
}

/*Disables interaction with the Preview feed on the post page*/
.previewFeed {
    pointer-events: none;
}

.profileStatus {
    text-transform: capitalize;
}

.side-bar-profile {
    display: flex;
    justify-content: left;
    align-items: center;
    font-size: 24px;
    border-bottom: 1px solid lightgray;
    padding: 15px;
    background-color: #0f1429;
    border-radius: 15px;
}

.user-login {
    overflow: hidden;
    margin: 0 auto;
    font-weight: bold;
    color: #ffffff;
    overflow-wrap: anywhere;
    padding: 0 5px;
}

.sidebar-buttons-wrapper {
    display: flex;
    justify-content: space-evenly;
    margin: 30px 0;
}

.side-bar-bottom{
    padding: 0 0 15px 30px;
}

.sidebar-logout-link {
    display: block;
    font-size: 20px;
    font-weight: bold;
    color: #c0392b;
    padding: 5px 0;
    text-decoration: none;
    transition: color 0.15s;
}
.sidebar-logout-link:hover {
    color: #e74c3c;
    text-decoration: none;
}

.button-login-sidebar,
.button-signup-sidebar {
    width: 45%;
}

.side-bar-wrappers {
    padding: 15px;
    margin-top: 15px;
}

.sidebar-links, .sidebar-links-admin {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    font-weight: bolder;
    color: #0f1429;
    padding: 5px 0 !important;
}

.header-profile {
    border: lightgray solid thin;
    border-radius: 15px;
    padding: 40px 20px;
    margin-bottom: 30px;
    background-color: #2d4456;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    color: white;
    align-content: center;
}

.header-profile-pic,
.nav-profile-pic-xlarge,
.nav-profile-pic-large,
.nav-profile-pic-small,
.nav-profile-pic-round,
.skeleton-large,
.skeleton-xlarge,
.skeleton-xsmall,
.feed-profile-pic,
.comment-profile-pic-wrapper,
.author-profile-pic-wrapper{
    color: #2d4456 !important;
    background-color: white;
    border-radius: 50%;
    text-align: center;
    display: flex;
    align-items: center;
    transition: transform 0.1s;
    justify-content: center;
    overflow: hidden;
    height: 165px;
    width: 165px;
    font-size: 60px;
    font-weight: bolder;
    object-fit: cover !important;
    object-position: center !important;
    align-content: center;
}

.nav-profile-pic-wrapper-resource {
    border: none;
}

.nav-profile-pic-wrapper-nav {
    background: white;
}

.nav-profile-pic-wrapper-round {
    background: white;
}

.skeleton-xsmall,
.nav-profile-pic-xsmall,
.nav-profile-pic-initials-xsmall{
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 5px;
    object-fit: cover;
    align-content: center;
    text-align: center;
    font-size: 12px;
    font-weight: bolder;
    alignment-baseline: middle;
    line-height: 12px;
}

.nav-profile-pic-xsmall  img{
    width: 24px;
    height: 24px;
    border: 1px solid lightgray;
}

.nav-profile-pic-initials-xsmall{
    border: 1px solid lightgray;
}

.skeleton-xlarge,
.nav-profile-pic-small{
    object-fit: cover ;
    width: 80px;
    height: 80px;
    font-size: 40px;
}

.skeleton-large,
.nav-profile-pic-large {
    height: 55px;
    width: 55px;
    font-size: 26px;
    font-weight: bolder;
}

.skeleton-round,
.nav-profile-pic-round{
    background: white;
    width: 128px;
    height: 128px;
    border: transparent 1px #D6D5D5;
    border-radius: 50%;
    flex-wrap: nowrap;
    gap: 24px;
}

.top-contributors-profile{
    background: white;
    border-radius: 50%;
    margin-right: 10px;
}

.top-contributors-profile-pic,
.top-contributors-profile-initials {
    display: inherit;
    text-align: center;
    height: 61px;
    width: 61px;
}
.top-contributors-profile-initials {
    justify-content: center;
    align-items: center;
}

.header-profile-pic img,
.nav-profile-pic-large img,
.nav-profile-pic-small img,
.nav-profile-pic-round img,
.feed-profile-pic img,
.top-contributors-profile-pic img {
    contain: content !important;
    object-fit: cover !important;
    object-position: center !important;
    padding: 0 !important;
}

.header-profile-pic {
    margin: 0 30px;
}

.feed-profile-pic {
    height: 20px !important;
    width: 20px !important;
    padding: 0;
    margin-left: 15px !important;
    font-size: 16px;
    contain: content !important;
    border-radius: 15px !important;
}

.header-profile-pic {
    background: white;
}

.feed-profile-pic img {
    height: 21px !important;
    width: 21px !important;
}

.header-profile-user {
    align-self: center;
    justify-content: flex-end;
}

.header-profile-list {
    align-self: center;
    width: 40%;
}

/*Combined flexbox for User pic and username*/
.header-profile-combo {
    display: flex;
    flex-flow: row nowrap;
    width: 50%;
}

.sidebar-links-admin {
    background-color: rgba(30, 159, 34, 0.15);
    border-radius: 15px;
    margin-left: -25px;
    margin-right: -25px;
    width: calc(100% + 50px);
    display: flex;
    justify-content: space-between;
    padding: 5px 25px !important;
}


.spinner {
    color: #2d4456 !important;
    z-index: 1;
    position: absolute;
    bottom: 50%;
    transform: translate(0, -50%);
}

.spinner.opposite {
    transform: translate(0, 50%);
}

.shared-posts-wrapper {
    display: flex;
    flex-direction: row;
    padding: 15px 0;
    background-color: #ffffff;
    border: 1px solid lightgray;
    border-radius: 15px;
    margin-bottom: 15px;
}

.shared-posts-leftCol {
    max-width: 35%;
    min-width: 35%;
    align-self: center;
}

.shared-posts-centerCol {
    display: flex;
    align-self: center;
}

.shared-posts-rightCol {
    max-width: fit-content;
    align-self: flex-end;
}

.shared-posts-screenshot-image {
    max-width: 100%;
    max-height: 300px;
    border-radius: 15px;
    min-width: 30%;
    min-height: 150px;
    object-fit: cover;
}

.contact-us-full {
    display: flex;
    margin-left: 30px;
    margin-right: 30px;
}

.contact-inline {
    margin-top: -60px;
    min-height: 0;
    margin-bottom: 120px;
}

.contact-inline-title {
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
}

.contact-inline-form {
    justify-content: center;
}

.contact-inline .contact-us-main {
    max-width: 760px;
    min-width: 0;
    width: 100%;
    background-color: #ffffff;
    padding-bottom: 24px;
}

.contact-inline textarea {
    height: 140px !important;
}

.contact-us-wrapper {
    display: flex;
    flex-direction: row;
}

.contact-us-main {
    border: solid 1px lightgray;
    border-radius: 15px;
    padding: 30px;
    margin: 0 auto ;
    min-width: 70%;
    gap: 30px;
}

.contact-us-sidebar {
    max-width: 75%;
    margin: 0 auto;
}

.contact-us-thanks {
    border: 1px solid lightgray;
    border-radius: 15px;
    background-color: #ffffff;
    padding: 30px;
}

/*** Modal Styling Start ***/
.modal-header, .modal-footer{
    border: none !important;
}

.modal-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-form {
    max-width: 360px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    padding: 16px;
}

.contact-form > :not(:last-child) {
    margin-bottom: 16px;
}

.contact-form .form-field {
    display: flex;
    flex-direction: column;
}

.contact-form .label-content {
    margin-bottom: 4px;
}

.contact-form input,
.contact-form textarea {
    display: flex;
    flex: 1;
    width: 100%;
    max-width: 100%;
}

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

.input-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin: 10px auto;
}

.otp-input {
    padding: 8px;
    border-radius: 10px;
    font-size: 14px;
    flex: 1;
    border: 1px solid #0f1429;
}

.otp-input:focus {
    box-shadow: 0 0 10px #f18805 !important;
    outline: none !important;
    border-color: #f18805 !important;
    text-shadow: none !important;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out; !important;
}

.message {
    font-size: 12px;
    color: #ff0000;
}

.verification-message-wrapper{
    justify-content: center;
}

.verification-message {
    font-size: 16px;
    color: green;
    display: flex !important;
    justify-content: center;
    align-items: center;
}

.tag-filter {
    cursor: pointer;
    margin-right: 5px;
    padding: 5px 10px;
    background-color: #f1f1f1;
    color: #333;
    border-radius: 12px;
    transition: background-color 0.2s;
}

.tag-filter.active, .tag-filter:hover {
    background-color: #007bff;
    color: white;
}

.search-filter-bar {
    display: flex;
    flex-direction: column;
    align-items: start;
}

.interaction-buttons {
    display: flex;
    gap: 10px;
}

.comment-item {
    border-bottom: 1px solid #eee;
}

.comment-toggle-btn {
    margin-right: 1em;
}

.submit-comment-btn {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
    margin-top: 0.5em;
}

.load-more-comments-btn {
    width: 100%;
    margin-top: 0.5em;
    background-color: #f8f9fa;
}

.toggle-description-btn, .submit-comment-btn, .comment-toggle-btn, .load-more-comments-btn {
    border-radius: 20px;
}
.toggle-comments-text {
    color: blue;
    cursor: pointer;
    margin-top: 10px;
    text-decoration: underline;
}

.center-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}


.skeleton.avatar {
    width: 150px;
    height: 150px;
    border-radius: 10px;
    flex-shrink: 0;
}

.skeleton-content {
    flex-grow: 1;
    margin-left: 20px;
}

.skeleton.author {
    height: 10px;
    width: 5%;
    margin-bottom: 15px;
    border-radius: 5px;
}

.skeleton.title {
    height: 20px;
    width: 90%;
    margin-bottom: 15px;
    border-radius: 5px;
}

.skeleton.text1 {
    height: 10px;
    width: 60%;
    margin-bottom: 15px;
    border-radius: 5px;
}

.skeleton.text2 {
    height: 10px;
    width: 70%;
    margin-bottom: 15px;
    border-radius: 5px;
}

.skeleton.text3 {
    height: 10px;
    width: 50%;
    margin-bottom: 15px;
    border-radius: 5px;
}

.skeleton-button {
    width: 60px;
    height: 60px;
    margin: 0;
    padding:10px;
}

.skeleton.button {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.skeleton-stats{
    display: flex;
    flex-direction: row;
}
.skeleton.stats{
    height: 20px;
    width: 10%;
    margin-bottom: 15px;
    margin-right:10px;
    border-radius: 5px;
}

.skeleton-stats1{
    display: flex;
    flex-direction: row;
}
.skeleton.stats1{
    height: 20px;
    width: 15%;
    margin-right:10px;
    border-radius: 15px;
}

@media (max-width: 600px) {
    .skeleton.avatar {
        width: 100px;
        height: 100px;
    }
    .skeleton-stats, .skeleton.text1{
        display: none;
    }
}

/*category menu skeleton*/
.skeleton-loader {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    height: 80px;
    overflow: hidden;
    margin: 0 30px;
}

.skeleton-tag {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100px;
    padding: 10px;
}

.skeleton-image {
    width: 50px;
    height: 50px;
    background-color: #ccc;
    border-radius: 50%;
}

.skeleton-text {
    width: 100%;
    height: 20px;
    background-color: #eee;
    margin-top: 5px;
    border-radius: 4px;
}

.cookie-consent {
    background: #fff !important;
    color: #000 !important;
    padding: 20px !important;
    font-size: 14px !important;
}

.cookie-consent-button {
    background: #f8b400 !important;
    color: #000 !important;
    font-size: 14px !important;
    border-radius: 5px !important;
    padding: 10px 20px !important;
    margin: 10px !important;
}

.cookie-consent-decline-button {
    background: #ddd !important;
    color: #000 !important;
    font-size: 14px !important;
    border-radius: 5px !important;
    padding: 10px 20px !important;
    margin: 10px !important;
}

.cookie-consent-link {
    color: #f8b400 !important;
    text-decoration: underline !important;
    font-size: 14px !important;
}

/* Google login / signup */
.google-signin-wrapper,
.googleAuth-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

.google-signin-wrapper [role="button"],
.googleAuth-wrapper [role="button"] {
    border-radius: 8px !important;
    overflow: hidden;
}

.google-signin-wrapper iframe,
.googleAuth-wrapper iframe {
    border-radius: 8px !important;
}

.terms-wrapper{
    padding: 30px;
}

/* --- Universal Toast Styling Override --- */
.Toastify__toast {
    border-radius: 12px !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05) !important;
    padding: 14px 16px !important;
    font-size: 0.95rem !important;
    display: flex;
    align-items: center;
}

/* Progress bar – soft pastel */
.Toastify__progress-bar {
    height: 4px !important;
    opacity: 0.7 !important;
    border-radius: 0 0 12px 12px !important;
}

/* SUCCESS – soft green */
.Toastify__toast--success {
    background: #e9f7ee !important;
    color: #256f3a !important;
    border: 1px solid #c6e8cf !important;
}
.Toastify__progress-bar--success {
    background: #6bcf8b !important;
}

/* ERROR – soft red */
.Toastify__toast--error {
    background: #fdecea !important;
    color: #a72626 !important;
    border: 1px solid #f5c2c0 !important;
}
.Toastify__progress-bar--error {
    background: #f28b82 !important;
}

/* INFO – pastel blue */
.Toastify__toast--info {
    background: #e8f1fd !important;
    color: #1a4f9c !important;
    border: 1px solid #bfd3f2 !important;
}
.Toastify__progress-bar--info {
    background: #82b2f2 !important;
}

/* WARNING – gentle amber */
.Toastify__toast--warning {
    background: #fff7e1 !important;
    color: #9c6b00 !important;
    border: 1px solid #ffe4a3 !important;
}
.Toastify__progress-bar--warning {
    background: #ffd666 !important;
}

/* !* Wrapper strip behind both cards *! */
/* .approach-section { */
/*     background: #0F1429; */
/*     border-radius: 24px; */
/*     padding: 64px 64px 64px 64px; */
/*     margin: -15px 0 115px 0; */
/*     !* height: 300px; *! */
/* } */

/* !* Layout *! */
/* .approach-row { */
/*     margin: 0; */
/*     align-items: stretch; */
/*     max-width: 1400px; */
/* } */

/* .approach-col { */
/*     display: flex; */
/* } */

/* !* Individual cards *! */
/* .approach-card { */
/*     background: #1c1f2a; */
/*     border-radius: 18px; */
/*     padding: 30px; */
/*     border: 1px solid rgba(255, 255, 255, 0.06); */
/*     box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35); */
/*     width: 100%; */
/* } */

/* .approach-card--right { */
/*     background: #F2F4FF; */
/* } */

/* !* Typography *! */
/* .approach-title { */
/*     font-size: 80px; */
/*     font-weight: 700; */
/*     letter-spacing: 0.06em; */
/*     text-transform: uppercase; */
/*     color: #ffffff; */
/*     text-shadow: 0 3px 8px rgba(0,0,0,0.15); */
/*     text-align-last: auto; */
/* } */

/* !* LEFT CARD — gradient background *! */
/* .approach-card--left { */
/*     background: linear-gradient(135deg, #FA2F9A 0%, #93AFFF 100%); */
/*     border-radius: 18px; */
/*     padding: 2.5rem 2rem; */
/*     border: none; */
/*     color: white; */
/*     box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35); */
/* } */

/* .approach-subtitle { */
/*     font-size: 26px; */
/*     font-weight: 600; */
/*     letter-spacing: 0.08em; */
/*     text-transform: uppercase; */
/*     background: #31edb2; */
/*     color: #1c1f2a; */
/*     display: inline-block; */
/*     padding: 30px; */
/*     border-radius: 999px; */
/*     text-align-last: auto; */
/* } */

/* .approach-body { */
/*     font-size: 20px; */
/*     line-height: 2; */
/*     color: #202433; */
/*     margin: 0; */
/*     padding: 48px 36px; */
/* } */

/* !* Logos inside gradient card *! */
/* .approach-logos-inside { */
/*     display: flex; */
/*     align-items: center; */
/*     gap: 12px; */
/* } */

/* .approach-logo { */
/*     width: 42px; */
/*     height: auto; */
/* } */

/* .approach-logo-secondary { */
/*     height: 80px; */
/*     width: auto; */
/* } */

/* ── Mini-app shared: header top row (back btn + theme toggle) ─────────────── */
.app-header-top-row {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    margin: 24px 0 32px;
}

/* Right-side group: HIW button + theme toggle */
.app-header-top-row__right {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ── Mini-app standard header shell ────────────────────────────────────────── */
/* All mini-app header outer wrappers get this class.
   Individual apps keep only their background/border/glow — no height/overflow needed. */
.mini-app-header {
    height: 300px;
    overflow: hidden;
}

/* Cancel global .container rules; fill the header height as a flex column */
.mini-app-header .container {
    min-height: 0;
    margin-top: 0;
    padding-top: 48px;
    padding-bottom: 16px;
    height: 100%;
    box-sizing: border-box;
}

/* Anchors the bottom row (chips / mode-tabs) to the footer of the header */
.app-header-bottom-row {
    margin-top: auto;
}

/* ── Theme toggle pill ─────────────────────────────────────────────────────── */
.app-theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    padding: 5px 12px 5px 6px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    line-height: 1;
}

.app-theme-toggle:hover {
    background: rgba(255, 255, 255, 0.16);
}

.app-theme-toggle__track {
    width: 28px;
    height: 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.20);
    position: relative;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.app-theme-toggle__thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    transition: transform 0.2s ease;
}

.app-theme-toggle--light .app-theme-toggle__track {
    background: rgba(0, 0, 0, 0.15);
}

.app-theme-toggle--light .app-theme-toggle__thumb {
    transform: translateX(12px);
    background: #fff;
}

.app-theme-toggle--light {
    background: rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.14);
    color: rgba(0, 0, 0, 0.70);
}

.app-theme-toggle--light:hover {
    background: rgba(0, 0, 0, 0.12);
}

.app-theme-toggle__icon {
    font-size: 0.9rem;
    line-height: 1;
}

