﻿:root {
    --title-mkstyle:"normal";
    --subtitle-mkstyle:"normal";
    --paragraph-mkstyle:"normal";
    --description-mkstyle:"normal";
    --button-mkstyle:"normal";
}

.cover-screen {
    min-height: 100vh !important; /* full viewport height */
}

.m-footer {
    margin-top: auto;
}

/* ─── Responsive logo (4 sizes, one per breakpoint) ─────────────────── */
.pfl-logo {
    height: 56px; /* lg / xl — biggest */
}

@media (max-width: 1279px) { /* md */
    .pfl-logo { height: 52px; }
}

@media (max-width: 959px) { /* sm */
    .pfl-logo { height: 44px; }
}

@media (max-width: 599px) { /* xs */
    .pfl-logo { height: 36px; }
}

/* ─── Header center nav links ───────────────────────────────────────── */
.mud-appbar .mud-toolbar {
    position: relative;
}

.pfl-nav-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 2px;
    white-space: nowrap;
    z-index: 1;
}

.pfl-nav-link {
    text-transform: none;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    position: relative;
}

.pfl-nav-link::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 5px;
    height: 2px;
    border-radius: 2px;
    background: var(--mud-palette-primary);
    opacity: 0.55;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.pfl-nav-link:hover::after {
    transform: scaleX(1);
}

/* Drawer nav link text in primary color */
.pfl-drawer-nav .mud-nav-link .mud-nav-link-text {
    color: var(--mud-palette-primary);
}

/* Admin sidebar: make the active (selected) item bright white for readability
   against the dark drawer — overrides MudBlazor's default primary highlight */
.admin-nav .mud-nav-link.active,
.admin-nav .mud-nav-link.active .mud-nav-link-text,
.admin-nav .mud-nav-link.active .mud-nav-link-icon,
.admin-nav .mud-nav-link.active .mud-icon-root {
    color: #ffffff !important;
}

/* ─── Profeslink Footer ─────────────────────────────────────────────── */
.pfl-footer {
    margin-top: 60px;
    background: linear-gradient(180deg, #0F1F4B 0%, #1A2A5E 55%, #2B2E7C 100%);
    color: #e8eef9;
    font-family: inherit;
    width: 100%;
}

.pfl-footer-main {
    padding: 56px 0 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.pfl-footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 320px;
}

.pfl-footer-logo {
    height: 56px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.pfl-footer-tagline {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
    line-height: 1.55;
    margin: 0;
}

.pfl-footer-social {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}

.pfl-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    transition: background 0.2s ease, transform 0.2s ease;
    text-decoration: none;
}

.pfl-footer-social a:hover {
    background: rgba(255, 255, 255, 0.20);
    transform: translateY(-2px);
}

.pfl-footer-social .mud-icon-root {
    color: #ffffff;
    font-size: 1.05rem;
}

.pfl-footer-heading {
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    margin: 0 0 18px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.16);
    display: inline-block;
}

.pfl-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pfl-footer-links li {
    margin-bottom: 10px;
}

.pfl-footer-links a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-size: 0.91rem;
    transition: color 0.15s ease, padding-left 0.15s ease;
    display: inline-block;
}

.pfl-footer-links a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.pfl-footer-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.pfl-footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
}

.pfl-footer-contact-item .mud-icon-root {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.05rem;
}

.pfl-footer-contact-item a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    transition: color 0.15s ease;
}

.pfl-footer-contact-item a:hover {
    color: #ffffff;
}

.pfl-footer-bottom {
    background: rgba(0, 0, 0, 0.18);
    padding: 18px 0;
}

.pfl-footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.85rem;
}

.pfl-footer-bottom-inner a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.15s ease;
}

.pfl-footer-bottom-inner a:hover {
    opacity: 0.85;
    text-decoration: underline;
}

.pfl-footer-trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
}
.pfl-footer-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.82rem;
    font-weight: 500;
}
.pfl-footer-trust-item .mud-icon-root {
    font-size: 1.05rem;
    color: #F2A35B;
}

@media (max-width: 600px) {
    .pfl-footer-main { padding: 40px 0 24px; }
    .pfl-footer-heading { margin-bottom: 14px; }
    .pfl-footer-bottom-inner { justify-content: center; text-align: center; }
    .pfl-footer-trust { justify-content: center; }
}



.app-bar-forced {
    background: #2B2E7C !important;
    background: linear-gradient(135deg, #0F1F4B 0%, #2B2E7C 100%) !important;
}

.m-full-height {
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.m-content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 90vh;
}

.image-container {
    overflow: hidden;
    position: relative;
    border: 2px solid black;
}

.image-container img {
    max-width: none; /* Allow scaling */
    max-height: none; /* Allow scaling */
    position: absolute; /* Required for dragging */
    cursor: grab;
}

/* General menu styling */
.context-menu {
    display: none;
    position: absolute;
    background: white;
    border: 1px solid #ccc;
    padding: 5px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.context-menu ul {
    list-style: none;
    padding: 5px;
    margin: 0;
}

.context-menu li {
    padding: 5px 10px;
    cursor: pointer;
}

.context-menu li:hover {
    background: #f0f0f0;
}

/* Styling the elements */
.box {
    width: 200px;
    height: 100px;
    margin: 20px;
    display: inline-block;
    text-align: center;
    line-height: 100px;
    background: lightgray;
    border: 1px solid #333;
}

.top-bar.dark-mode {
    background-color: #211919; /* Dark mode background */
    color: #ffffff; /* Light text for contrast */
}

.tooltip-container {
    position: relative;
    display: inline-block;
    width: 100%; /* Ensure the container takes up the full width */
}

.input-wrapper {
    display: flex;
    align-items: center; /* Vertically center the label and input */
    width: 100%; /* Allow the input to take up the full width */
    position: relative;
}

.info-icon {
    cursor: pointer;
    color: white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
    border: none;
}

.tooltip-text {
    position: absolute;
    bottom: 35px; /* Adjust the position if needed */
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px;
    border-radius: 5px;
    font-size: 14px;
    white-space: normal; /* Allow text to wrap */
    display: block; /* Hidden by default */
    max-width: 50%; /* Tooltip will take up 50% of the input width */
    word-wrap: break-word; /* Ensure long words break and wrap within the tooltip */
}

.input-wrapper .info-icon {
    position: absolute;
    top: -10px; /* Adjust the vertical position */
    right: calc(5% + 10px);
    margin-left: 0;
}

.color-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #ccc;
}

.b-right{
    border-right: 1px dashed black;
}

.font-box{
    margin-bottom: 20px;
    margin-top:20px;
    border: 1px solid black;
    border-radius:10px;
    min-height: 40px;
    text-align: center;
    vertical-align: central;
    padding:10px;
    height: auto;
}

.rb-corner-round{
    border-right: 1px solid black;
    border-bottom: 1px solid black;
}

.mk-footer {
    width: 100%;
    background-color: var(--mud-palette-appbar-background);
    color: var(--mud-palette-appbar-text);
    padding: 16px 0;
}

.mk-title {
    color: var(--mud-palette-appbar-text);
    font-style: var(--title-mkstyle);
}

.mk-subtitle{
    font-style: var(--subtitle-mkstyle);
}

.mk-paragraph {
    font-style: var(--subtitle-mkstyle);
}

.mk-description {
    font-style: var(--subtitle-mkstyle);
}

.mk-button-style {
    font-style: var(--subtitle-mkstyle);
}

.mk-autocomplete-list {
    max-height: 200px !important; /* Ensures dropdown doesn't get too big */
    overflow-y: scroll;
}

.mk-dropdown-content {
    display: block;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 100%;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    padding: 12px 16px;
    z-index: 9999;
    max-height:200px;
    overflow:scroll;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #2B2E7C;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

.profile-crop .cropper-crop-box,
.profile-crop .cropper-view-box {
    border-radius: 50%;
}

.cropper-crop-box-circle .cropper-face {
    border-radius: 50%;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ── Chat page ───────────────────────────────────────────────────────────── */

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to   { transform: translateX(0);    opacity: 1; }
}

/* ── Chat custom tab strip (replaces MudTabs) ────────────────────── */

.chat-tab-strip {
    display: flex;
    gap: 6px;
    padding: 8px;
    border-bottom: 1px solid var(--mud-palette-divider);
    flex-shrink: 0;
}

.chat-tab-btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 8px 6px;
    border: 1px solid var(--mud-palette-divider);
    background: transparent;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    color: var(--mud-palette-text-primary);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.chat-tab-btn:hover {
    background: var(--mud-palette-action-default-hover);
}

.chat-tab-btn.active {
    background: var(--mud-palette-primary);
    color: var(--mud-palette-primary-text);
    border-color: var(--mud-palette-primary);
}

.chat-tab-btn .chat-tab-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    font-size: 10px;
    font-weight: 600;
    background: var(--mud-palette-primary);
    color: var(--mud-palette-primary-text);
}

.chat-tab-btn.active .chat-tab-badge {
    background: var(--mud-palette-primary-text);
    color: var(--mud-palette-primary);
}
/* ───────────── Landing pages (Find/Become a Professional, About, etc.) ───────────── */
.pfl-lp-hero {
    padding: 64px 0;
}
.pfl-lp-hero--clients {
    background: linear-gradient(135deg, #0F1F4B 0%, #2B2E7C 100%);
}
.pfl-lp-hero--pros {
    background: #F8FAFC;
}
.pfl-lp-hero--pros-cta {
    background: linear-gradient(135deg, #0F1F4B 0%, #2B2E7C 100%);
    padding: 48px 0;
}
.pfl-lp-hero-title {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    margin: 0 0 16px;
}
.pfl-lp-hero-title--dark {
    color: #0F1F4B;
}
.pfl-lp-hero-accent {
    color: #F2A35B;
}
.pfl-lp-hero-title--dark .pfl-lp-hero-accent {
    color: #2B2E7C;
}
.pfl-lp-hero-sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.82);
    margin: 0 0 24px;
    max-width: 520px;
}
.pfl-lp-hero-sub--dark {
    color: #5B6478;
}
.pfl-lp-hero-btn {
    border-radius: 10px !important;
    text-transform: none;
    padding: 10px 26px !important;
}
.pfl-lp-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}
.pfl-lp-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: #ffffff;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 20px;
    padding: 5px 12px;
}
.pfl-lp-badge--dark {
    color: #0F1F4B;
    background: #ffffff;
    border: 1px solid #E2E8F0;
}
.pfl-lp-hero-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 22px;
    border-radius: 14px;
    max-width: 320px;
    background: #ffffff;
}
.pfl-lp-hero-visual {
    position: relative;
    width: 100%;
    max-width: 460px;
}
.pfl-lp-hero-img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 18px 40px rgba(16, 38, 74, 0.28));
}
.pfl-lp-hero-card--float {
    position: absolute;
    left: 8px;
    bottom: -18px;
    max-width: 280px;
    box-shadow: 0 12px 30px rgba(16, 38, 74, 0.22);
}
@media (max-width: 959px) {
    .pfl-lp-hero-visual {
        margin-bottom: 28px;
    }
    .pfl-lp-hero-card--float {
        position: static;
        margin: 16px auto 0;
    }
}
.pfl-lp-feature {
    text-align: center;
    padding: 12px;
}
.pfl-lp-feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #EEF2FF;
    color: #2B2E7C;
}
.pfl-lp-feature-icon .mud-icon-root {
    color: #2B2E7C;
}
.pfl-lp-faq-band {
    background: #F8FAFC;
}
@media (max-width: 600px) {
    .pfl-lp-hero-title { font-size: 2rem; }
    .pfl-lp-hero { padding: 40px 0; }
}
