/* Professional profile experience — scoped to profile.html */
:root {
    --profile-cyan: #22d3ee;
    --profile-blue: #2563eb;
    --profile-ink: #08111f;
    --profile-panel: rgba(15, 27, 47, 0.82);
}

* {
    box-sizing: border-box;
}

/*
 * Keep scrolling on the root element only. The shared responsive styles set
 * overflow-x on body; combined with overflow-y: visible, browsers compute the
 * latter as auto and create a second vertical scrollbar.
 */
html {
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

html > body {
    line-height: 1.6;
    max-width: 100%;
    overflow: visible !important;
    background:
        radial-gradient(circle at 15% 2%, rgba(34, 211, 238, 0.09), transparent 25rem),
        radial-gradient(circle at 92% 38%, rgba(124, 58, 237, 0.08), transparent 28rem),
        #08111f;
}

/* Preserve intentional scroll locking while menus or overlays are open. */
html > body.no-scroll,
html > body.menu-open,
html > body.mobile-menu-open,
html > body[style*="overflow: hidden"],
html > body[style*="overflow:hidden"] {
    overflow: hidden !important;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(148, 163, 184, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.025) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, #000, transparent 85%);
    z-index: 0;
}

button,
input,
select,
textarea {
    font: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(34, 211, 238, 0.45);
    outline-offset: 3px;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.profile-wrapper {
    width: 100%;
    max-width: 1280px;
    padding-top: 2rem;
}

.profile-hero {
    isolation: isolate;
    background: linear-gradient(155deg, rgba(15, 30, 51, 0.97), rgba(8, 17, 31, 0.98));
    border-color: rgba(148, 163, 184, 0.14);
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.34);
}

.profile-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.06);
    z-index: 4;
}

.profile-hero-cover {
    height: 176px;
    background:
        linear-gradient(115deg, rgba(6, 182, 212, 0.92), rgba(37, 99, 235, 0.92) 48%, rgba(109, 40, 217, 0.92)),
        #1d4ed8;
}

.profile-hero-cover::before {
    opacity: 0.75;
    background:
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.28), transparent 26%),
        linear-gradient(110deg, transparent 52%, rgba(255, 255, 255, 0.1) 52.3%, transparent 53%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 18px);
}

.cover-brand {
    position: absolute;
    top: 1.5rem;
    right: 1.75rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.55rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(8, 17, 31, 0.2);
    color: #fff;
    font-size: 0.86rem;
    font-weight: 800;
    backdrop-filter: blur(10px);
}

.cover-brand-mark {
    display: grid;
    width: 29px;
    height: 29px;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.17);
}

.cover-orb {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    z-index: 1;
}

.cover-orb-one {
    width: 190px;
    height: 190px;
    left: 8%;
    top: -105px;
}

.cover-orb-two {
    width: 95px;
    height: 95px;
    left: 20%;
    bottom: -58px;
}

.profile-hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(290px, 370px);
    align-items: end;
    gap: 2.5rem;
    margin-top: -66px;
    padding: 0 2rem 2rem;
}

.profile-user-main {
    align-items: end;
    min-width: 0;
    gap: 1.5rem;
}

.profile-avatar-wrapper {
    appearance: none;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: inherit;
}

.profile-avatar {
    width: 132px;
    height: 132px;
    border: 5px solid #102039;
    border-radius: 32px;
    background: linear-gradient(145deg, #22d3ee, #2563eb 55%, #7c3aed);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.avatar-camera-btn {
    left: -6px;
    bottom: -5px;
    width: 40px;
    height: 40px;
    border-radius: 13px;
    border-color: #102039;
    background: #fff;
    color: #0f172a;
}

.profile-avatar-wrapper:hover .avatar-camera-btn {
    background: #e0f2fe;
    color: #0369a1;
}

.status-dot-online {
    top: 2px;
    right: -3px;
    width: 17px;
    height: 17px;
    border-color: #102039;
}

.profile-user-details {
    width: 100%;
    min-width: 0;
}

.profile-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0 0 0.4rem;
    color: #a5f3fc;
    font-size: 0.86rem;
    font-weight: 800;
}

.online-pulse {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34d399;
}

.online-pulse::after {
    content: "";
    position: absolute;
    inset: -4px;
    border: 1px solid rgba(52, 211, 153, 0.5);
    border-radius: inherit;
    animation: profile-pulse 1.8s ease-out infinite;
}

@keyframes profile-pulse {
    0% { opacity: 1; transform: scale(0.55); }
    80%, 100% { opacity: 0; transform: scale(1.4); }
}

.user-name-title {
    max-width: 100%;
    flex-wrap: wrap;
    margin-bottom: 0.65rem;
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.verified-badge {
    filter: drop-shadow(0 3px 8px rgba(14, 165, 233, 0.45));
}

.meta-pill {
    padding: 0.42rem 0.8rem;
    border-color: rgba(255, 255, 255, 0.09);
    background: rgba(8, 17, 31, 0.48);
    backdrop-filter: blur(8px);
}

.profile-motivation {
    max-width: 580px;
    margin: 0.85rem 0 0;
    color: #94a3b8;
    font-size: 0.92rem;
}

.profile-hero-side {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    min-width: 0;
}

.profile-level-card {
    padding: 1rem 1.1rem;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 16px;
    background: rgba(8, 17, 31, 0.62);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(14px);
}

.level-card-top,
.level-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.level-card-top {
    color: #cbd5e1;
    font-size: 0.84rem;
    font-weight: 700;
}

.level-card-top i {
    margin-inline-end: 0.35rem;
    color: #22d3ee;
}

.level-card-top strong {
    color: #fff;
}

.level-progress-track {
    height: 7px;
    margin: 0.7rem 0 0.55rem;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.15);
}

.level-progress-track span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #22d3ee, #3b82f6);
    box-shadow: 0 0 14px rgba(34, 211, 238, 0.5);
    transition: width 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.level-card-meta {
    color: #64748b;
    font-size: 0.75rem;
}

.level-card-meta span:first-child {
    color: #cbd5e1;
    font-weight: 800;
}

.profile-hero-actions {
    justify-content: flex-end;
    padding: 0;
}

.btn-profile-action {
    min-height: 44px;
    justify-content: center;
    border-radius: 12px;
}

.btn-profile-action.btn-primary {
    background: linear-gradient(135deg, #0891b2, #2563eb);
    box-shadow: 0 9px 24px rgba(37, 99, 235, 0.25);
}

.btn-profile-action.btn-outline {
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(15, 30, 51, 0.75);
}

.btn-icon-only {
    width: 46px;
    padding: 0;
    flex: 0 0 46px;
}

.stats-grid {
    gap: 1rem;
}

.stat-card {
    position: relative;
    align-items: flex-start;
    min-width: 0;
    padding: 1.25rem;
    overflow: hidden;
    border-color: rgba(148, 163, 184, 0.12);
    background: linear-gradient(145deg, rgba(17, 32, 54, 0.91), rgba(10, 21, 38, 0.91));
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.18);
}

.stat-card::after {
    content: "";
    position: absolute;
    right: auto;
    left: -28px;
    bottom: -38px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.035;
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: 1.25rem;
}

.stat-info {
    min-width: 0;
}

.stat-info .stat-number {
    font-size: 1.65rem;
}

.stat-context {
    display: block;
    margin-top: 0.3rem;
    color: #64748b;
    font-size: 0.73rem;
    white-space: nowrap;
}

.profile-tabs-nav {
    position: sticky;
    top: 82px;
    z-index: 20;
    gap: 0.35rem;
    padding: 0.5rem;
    border-color: rgba(148, 163, 184, 0.12);
    background: rgba(8, 17, 31, 0.84);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
    scrollbar-width: none;
}

.profile-tabs-nav::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    position: relative;
    flex: 1;
    justify-content: center;
    min-height: 46px;
    padding: 0.7rem 1rem;
    border: 1px solid transparent;
    font-size: 0.9rem;
}

.tab-btn.active {
    border-color: rgba(34, 211, 238, 0.23);
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.2), rgba(37, 99, 235, 0.2));
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.06);
}

.tab-btn.active::after {
    content: "";
    position: absolute;
    right: 25%;
    bottom: -0.5rem;
    left: 25%;
    height: 2px;
    border-radius: 999px;
    background: #22d3ee;
    box-shadow: 0 0 12px rgba(34, 211, 238, 0.6);
}

.grid-2col {
    gap: 1.25rem;
}

.card-box {
    overflow: hidden;
    padding: 1.65rem;
    border-color: rgba(148, 163, 184, 0.12);
    border-radius: 20px;
    background: linear-gradient(150deg, rgba(17, 32, 54, 0.91), rgba(9, 19, 34, 0.93));
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.card-box::before {
    content: "";
    position: absolute;
    top: 0;
    right: 1.5rem;
    left: 1.5rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.34), transparent);
}

.card-header-box {
    margin-bottom: 1.35rem;
    padding-bottom: 1.1rem;
}

.card-title-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
}

.card-title-group {
    min-width: 0;
}

.card-title-group h3 {
    font-size: 1.16rem;
}

.card-title-group p {
    max-width: 34rem;
}

.card-header-action {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 11px;
    background: rgba(148, 163, 184, 0.06);
    color: #94a3b8;
    cursor: pointer;
    transition: 0.2s ease;
}

.card-header-action:hover {
    border-color: rgba(34, 211, 238, 0.3);
    background: rgba(34, 211, 238, 0.08);
    color: #67e8f9;
}

.info-grid-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.info-pair {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.42rem;
    min-width: 0;
    padding: 0.9rem 1rem;
    border-color: rgba(148, 163, 184, 0.08);
    background: rgba(8, 17, 31, 0.42);
}

.info-pair:hover {
    border-color: rgba(34, 211, 238, 0.16);
    background: rgba(11, 25, 43, 0.65);
}

.info-pair-value {
    max-width: 100%;
    padding-inline-start: 1.65rem;
    overflow-wrap: anywhere;
    font-size: 0.94rem;
}

.user-bio-box {
    border-color: rgba(148, 163, 184, 0.08);
    background: rgba(8, 17, 31, 0.42);
}

.profile-completion {
    display: grid;
    grid-template-columns: 126px minmax(0, 1fr);
    align-items: center;
    gap: 1.3rem;
    padding: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 16px;
    background: rgba(8, 17, 31, 0.44);
}

.completion-ring {
    display: grid;
    width: 116px;
    height: 116px;
    place-items: center;
    border-radius: 50%;
    background: conic-gradient(#22d3ee calc(var(--completion) * 1%), rgba(148, 163, 184, 0.12) 0);
    box-shadow: 0 0 25px rgba(34, 211, 238, 0.08);
}

.completion-ring::before {
    content: "";
    grid-area: 1 / 1;
    width: 90px;
    height: 90px;
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 50%;
    background: #0c192b;
}

.completion-ring > div {
    z-index: 1;
    display: flex;
    grid-area: 1 / 1;
    flex-direction: column;
    align-items: center;
}

.completion-ring strong {
    color: #fff;
    font-size: 1.5rem;
    line-height: 1.1;
}

.completion-ring span {
    color: #64748b;
    font-size: 0.72rem;
}

.completion-checklist {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.completion-item {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: #64748b;
    font-size: 0.82rem;
}

.completion-item i {
    display: grid;
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    place-items: center;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 50%;
    color: transparent;
    font-size: 0.58rem;
}

.completion-item.done {
    color: #cbd5e1;
}

.completion-item.done i {
    border-color: rgba(16, 185, 129, 0.25);
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
}

.quick-actions-title {
    margin: 1.25rem 0 0.65rem;
    color: #94a3b8;
    font-size: 0.78rem;
    font-weight: 800;
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
}

.quick-action {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(148, 163, 184, 0.09);
    border-radius: 13px;
    background: rgba(8, 17, 31, 0.38);
    color: #e2e8f0;
    text-align: start;
    cursor: pointer;
    transition: 0.2s ease;
}

.quick-action:hover {
    transform: translateX(-3px);
    border-color: rgba(34, 211, 238, 0.2);
    background: rgba(14, 33, 55, 0.7);
}

.quick-action-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 12px;
}

.action-blue {
    background: rgba(14, 165, 233, 0.12);
    color: #38bdf8;
}

.action-green {
    background: rgba(16, 185, 129, 0.12);
    color: #34d399;
}

.quick-action strong,
.quick-action small {
    display: block;
}

.quick-action strong {
    font-size: 0.88rem;
}

.quick-action small {
    margin-top: 0.08rem;
    color: #64748b;
    font-size: 0.72rem;
}

.quick-action-arrow {
    color: #475569;
    font-size: 0.72rem;
}

.form-control {
    min-height: 48px;
    border-color: rgba(148, 163, 184, 0.14);
    background: rgba(8, 17, 31, 0.55);
}

.form-control:hover:not(:disabled) {
    border-color: rgba(148, 163, 184, 0.25);
}

.toggle-row {
    border-color: rgba(148, 163, 184, 0.09);
    background: rgba(8, 17, 31, 0.42);
}

.course-mini-card {
    position: relative;
    border-color: rgba(148, 163, 184, 0.11);
    background: rgba(8, 17, 31, 0.48);
}

.course-mini-card:hover {
    transform: translateY(-5px);
}

.course-card-accent {
    height: 3px;
    background: linear-gradient(90deg, #f59e0b, #fb7185);
}

.course-mini-card.is-active .course-card-accent {
    background: linear-gradient(90deg, #22d3ee, #3b82f6);
}

.course-mini-card.is-complete .course-card-accent {
    background: linear-gradient(90deg, #34d399, #14b8a6);
}

.course-card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.course-progress-badge {
    padding: 0.22rem 0.55rem;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.06);
    color: #cbd5e1;
    font-size: 0.72rem;
    font-weight: 800;
}

.course-mini-card.is-complete .course-card-tag,
.course-mini-card.is-complete .course-progress-badge {
    color: #34d399;
}

.course-mini-card.is-active .course-card-tag {
    color: #38bdf8;
}

.course-mini-card.is-starting .course-card-tag {
    color: #fbbf24;
}

.course-mini-card.is-starting .course-progress-fill {
    background: linear-gradient(90deg, #f59e0b, #fb7185);
}

.course-mini-card.is-complete .course-progress-fill {
    background: linear-gradient(90deg, #34d399, #14b8a6);
}

.course-continue-btn {
    width: 100%;
    margin-top: 1.2rem;
    font-size: 0.88rem;
}

.courses-empty-state {
    grid-column: 1 / -1;
    padding: 3rem 1rem;
    text-align: center;
}

.empty-state-icon {
    display: grid;
    width: 74px;
    height: 74px;
    margin: 0 auto 1rem;
    place-items: center;
    border: 1px solid rgba(34, 211, 238, 0.16);
    border-radius: 22px;
    background: rgba(34, 211, 238, 0.07);
    color: #22d3ee;
    font-size: 1.8rem;
    transform: rotate(-4deg);
}

.courses-empty-state h4 {
    margin: 0;
    color: #f8fafc;
    font-size: 1.1rem;
}

.courses-empty-state p {
    margin: 0.35rem 0 1.2rem;
    color: #64748b;
    font-size: 0.88rem;
}

.modal-overlay {
    padding: 1rem;
}

.modal-box {
    border-color: rgba(148, 163, 184, 0.14);
    background: #0f1e33;
}

@media (max-width: 1050px) {
    .profile-hero-content {
        grid-template-columns: minmax(0, 1fr) 310px;
        gap: 1.5rem;
    }

    .profile-avatar {
        width: 116px;
        height: 116px;
    }

    .stat-card {
        gap: 0.85rem;
    }
}

@media (max-width: 820px) {
    .profile-hero-content {
        display: flex;
        align-items: stretch;
        text-align: start;
    }

    .profile-user-main {
        flex-direction: row;
        align-items: end;
    }

    .user-meta-badges {
        justify-content: flex-start;
    }

    .profile-hero-side {
        width: 100%;
    }

    .profile-hero-actions {
        justify-content: stretch;
    }

    .profile-hero-actions .btn-primary {
        flex: 1;
    }

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

    .grid-2col {
        grid-template-columns: 1fr;
    }

    .card-box {
        grid-column: 1 / -1 !important;
    }

    .profile-tabs-nav {
        top: 70px;
    }

    .tab-btn {
        flex: 0 0 auto;
    }
}

@media (max-width: 560px) {
    html,
    body {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100vw !important;
    }

    header {
        width: calc(100% - 20px) !important;
        min-width: 0 !important;
        max-width: calc(100% - 20px) !important;
        margin-inline: 10px !important;
        padding-inline: 14px !important;
    }

    .profile-wrapper {
        width: 100% !important;
        max-width: 100vw;
        padding: 1rem 0.8rem 4rem;
    }

    .profile-hero {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
    }

    .profile-hero-cover {
        height: 130px;
    }

    .cover-brand {
        top: 1rem;
        right: 1rem;
        max-width: calc(100% - 2rem);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .cover-orb-one {
        left: -15%;
    }

    .profile-hero-content {
        width: 100%;
        max-width: 100%;
        align-items: center;
        margin-top: -48px;
        padding: 0 1rem 1.15rem;
        text-align: center;
    }

    .profile-user-main {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        flex-direction: column;
        align-items: center;
        gap: 0.9rem;
    }

    .profile-avatar {
        width: 96px;
        height: 96px;
        border-radius: 25px;
    }

    .profile-eyebrow,
    .user-meta-badges {
        justify-content: center;
    }

    .user-name-title {
        justify-content: center;
        font-size: 1.65rem;
    }

    .user-meta-badges {
        width: 100%;
        gap: 0.45rem;
    }

    .meta-pill {
        max-width: 100%;
        padding: 0.35rem 0.62rem;
        font-size: 0.75rem;
    }

    .profile-motivation {
        margin-top: 0.7rem;
    }

    .meta-pill:last-child {
        display: none;
    }

    .profile-level-card {
        width: 100%;
        min-width: 0;
        text-align: start;
    }

    .profile-hero-actions {
        width: 100%;
        min-width: 0;
        gap: 0.6rem;
    }

    .profile-hero-actions .btn-profile-action {
        min-width: 0;
    }

    .stats-grid {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0.65rem;
    }

    .stat-card {
        width: 100%;
        min-width: 0;
        align-items: center;
        flex-direction: column;
        gap: 0.55rem;
        padding: 1rem 0.65rem;
        text-align: center;
    }

    .stat-icon {
        width: 42px;
        height: 42px;
    }

    .stat-info .stat-number {
        font-size: 1.45rem;
    }

    .stat-info .stat-label {
        font-size: 0.78rem;
    }

    .stat-context {
        display: none;
    }

    .profile-tabs-nav {
        max-width: 100%;
        margin-inline: -0.15rem;
        border-radius: 14px;
    }

    .tab-btn {
        min-height: 42px;
        padding: 0.62rem 0.85rem;
        font-size: 0.82rem;
    }

    .card-box {
        padding: 1.15rem;
        border-radius: 17px;
    }

    .card-header-box {
        align-items: flex-start;
    }

    .card-title-group {
        gap: 0.65rem;
    }

    .card-title-icon {
        width: 38px;
        height: 38px;
        flex: 0 0 38px;
    }

    .card-title-group h3 {
        font-size: 1rem;
    }

    .info-grid-list {
        grid-template-columns: 1fr;
    }

    .profile-completion {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .completion-checklist {
        width: 100%;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .form-group-full {
        grid-column: auto;
    }

    #profileToastContainer {
        right: 0.8rem;
        bottom: 0.8rem;
        left: 0.8rem;
    }

    .toast-msg {
        min-width: 0;
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
