:root {
    --primary: #002455;
    --primary-dark: #00204e;
    --primary-light: #00265c;
    --primary-lighter: #00275d;
    --error: #ef4444;
    --error-dark: #dc2626;
    --success: #10b981;
    --background: #ffffff;
    --surface: #fafafa;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-tertiary: #9ca3af;
    --text-disabled: #d1d5db;
    --border: #e5e7eb;
    --divider: #f3f4f6;
    --overlay: rgba(0, 0, 0, 0.5);
    --disabled-bg: #f3f4f6;
    --shadow-1: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    --shadow-2: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    --shadow-3: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
    --shadow-4: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
    --shadow-5: 0 19px 38px rgba(0, 0, 0, 0.30), 0 15px 12px rgba(0, 0, 0, 0.22);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Roboto', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background: var(--background);
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    user-select: none;
}

/* Shell wraps the persistent appbar + the swappable screen container so the
   appbar's sticky position and modal inert-lock cover both. */
#app-shell {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#app {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.screen-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

@media (min-width: 768px) {
    .screen-container {
        padding: 2rem;
        background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(167, 139, 250, 0.05) 100%);
    }
}

.card {
    background: var(--background);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-2);
    padding: 1.5rem;
    width: 100%;
    max-width: 400px;
    transition: box-shadow var(--transition-base);
}

@media (min-width: 768px) {
    .card {
        padding: 2.5rem;
        max-width: 480px;
        box-shadow: var(--shadow-3);
    }

    .card:hover {
        box-shadow: var(--shadow-4);
    }
}

@media (max-width: 767px) {
    .form-screen-container {
        min-height: 100vh;
        min-height: 100svh;
        min-height: 100dvh;
        padding: 0;
        align-items: stretch;
        justify-content: stretch;
        background: var(--background);
    }

    .form-screen-container>.card {
        min-height: 100vh;
        min-height: 100svh;
        min-height: 100dvh;
        max-width: none;
        width: 100%;
        border-radius: 0;
        box-shadow: none;
        display: flex;
        flex-direction: column;
        justify-content: center;
        overflow-y: auto;
    }
}

.margin-bottom-1-25rem {
    margin-bottom: 1.25rem;
}


.position-relative {
    position: relative;
}

.width-100-per {
    width: 100%;
}


.textfield-input {
    width: 100%;
    padding: 16px 12px;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-primary);
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.38);
    border-radius: 4px;
    outline: none;
    transition: border-color 150ms cubic-bezier(0.4, 0, 0.2, 1), border-width 150ms cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
}

.textfield-input:hover {
    border-color: rgba(0, 0, 0, 0.87);
}

.textfield-input:focus {
    border: 2px solid var(--primary);
    padding: 15px 11px;
}

.textfield-input.error {
    border: 2px solid var(--error);
}

.textfield-input.error:focus {
    border: 2px solid var(--error);
    padding: 15px 11px;
}

.textfield-label {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(0, 0, 0, 0.6);
    font-size: 1rem;
    pointer-events: none;
    transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--background);
    padding: 0 4px;
    line-height: 1;
}

.textfield-input:focus~.textfield-label,
.textfield-input:not(:placeholder-shown)~.textfield-label {
    top: 0;
    transform: translateY(-50%);
    font-size: 0.75rem;
    color: var(--primary);
}

.textfield-input.error:focus~.textfield-label,
.textfield-input.error:not(:placeholder-shown)~.textfield-label {
    color: var(--error);
}

.textfield-input:not(:focus):not(.error):not(:placeholder-shown)~.textfield-label {
    color: rgba(0, 0, 0, 0.6);
}

.display-none {
    display: none;
}


.textfield-helper {
    display: block;
    margin-top: 4px;
    font-size: 0.75rem;
    color: rgba(0, 0, 0, 0.6);
    min-height: 1rem;
    padding: 0 16px;
}

.textfield-helper.error {
    color: var(--error);
}



.display-block {
    display: block;
}

.font-size-0-875rem {
    font-size: 0.875rem;
}

.color-text-secondary {
    color: var(--text-secondary);
}

.margin-bottom-0-5rem {
    margin-bottom: 0.5rem;
}

.font-weight-500 {
    font-weight: 500;
}




.dropdown-trigger {
    width: 100%;
    padding: 14px 12px;
    font-size: 1rem;
    text-align: left;
    background: var(--surface);
    border: none;
    border-bottom: 1px solid var(--border);
    border-radius: 4px 4px 0 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all var(--transition-fast);
    color: var(--text-primary);
    font-family: inherit;
    outline: none;
}

.dropdown-trigger:hover {
    background: rgba(0, 0, 0, 0.04);
    border-bottom-color: var(--text-primary);
}

.dropdown-trigger:focus,
.dropdown-trigger.active {
    background: rgba(0, 0, 0, 0.06);
    border-bottom-color: var(--primary);
}

.dropdown-icon {
    width: 20px;
    height: 20px;
    color: var(--text-secondary);
    transition: transform var(--transition-base);
    flex-shrink: 0;
}

.dropdown-value {
    flex: 1;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: var(--background);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-3);
    max-height: 280px;
    overflow-y: auto;
    z-index: 100;
    animation: dropdownSlide var(--transition-base);
}

@media (min-width: 768px) {
    .dropdown-menu {
        max-height: 320px;
    }
}

@keyframes dropdownSlide {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    padding: 12px 16px;
    cursor: pointer;
    transition: background var(--transition-fast);
    color: var(--text-primary);
    font-size: 1rem;
}

.dropdown-item:hover {
    background: rgba(139, 92, 246, 0.08);
}

.dropdown-item.selected {
    background: var(--primary);
    color: white;
    font-weight: 500;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    border: none;
    border-radius: var(--radius-md);
    outline: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: inherit;
    user-select: none;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (min-width: 768px) {
    .btn {
        padding: 16px 32px;
    }

    .btn:hover:not(:disabled) {
        transform: translateY(-1px);
    }
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-2);
}

.btn-primary:hover:not(:disabled) {
    background: var(--primary-dark);
    box-shadow: var(--shadow-3);
}

.btn-primary:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: var(--shadow-1);
}

.btn-primary:disabled {
    background: var(--disabled-bg);
    color: var(--text-disabled);
    cursor: not-allowed;
    box-shadow: none;
}

.btn-text {
    background: transparent;
    color: var(--primary);
    padding: 10px 16px;
    text-transform: none;
    letter-spacing: normal;
}

.btn-text:hover:not(:disabled) {
    background: rgba(139, 92, 246, 0.08);
}



/*
 * Scroll lock while a modal is open.
 *
 * IMPORTANT: `overflow: hidden` must be applied to <body> ONLY, never to
 * <html> as well. #appbar-root is `position: sticky; top: 0` inside
 * #app-shell (a child of <body>). By default <body> only sets
 * `overflow-x: hidden`, so per the CSS/HTML overflow-propagation rules its
 * overflow is propagated up to the viewport (<html> stays "visible") and
 * the viewport is the single, shared scrolling context that the sticky
 * appbar sticks against.
 *
 * If <html> ALSO gets an explicit `overflow: hidden`, that propagation
 * stops: <html> and <body> become two independent scroll containers, each
 * with its own scrollTop. <body>'s own scrollTop was always 0 (it never
 * scrolled independently — scrolling was always tracked on <html> via
 * propagation), so the sticky appbar re-anchors to <body>'s zeroed scroll
 * position while the outer <html> box is still visually frozen at the
 * scroll offset it had when the modal opened. The appbar then renders
 * `top: 0 - scrollY`px — i.e. shifted off-screen by exactly however far
 * the page had been scrolled, which is why it "disappears" only when a
 * modal is opened after scrolling, and reappears once the modal closes.
 *
 * Locking overflow on <body> alone (which is what actually gets propagated
 * to the viewport anyway) blocks background scrolling without creating
 * that second scroll container, so the sticky appbar keeps its correct
 * position at any scroll depth.
 */
html.modal-open {
    overscroll-behavior: none;
}

body.modal-open {
    overflow: hidden;
    overscroll-behavior: none;
}

body.modal-open #app-shell {
    pointer-events: none;
    user-select: none;
}

body.modal-open .modal-overlay {
    pointer-events: auto;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: var(--overlay);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
    animation: fadeIn var(--transition-base);
    overscroll-behavior: contain;
    touch-action: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal {
    background: var(--background);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-5);
    width: 100%;
    max-width: 400px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlide var(--transition-slow);
    overscroll-behavior: contain;
    touch-action: pan-y;
}

@media (min-width: 768px) {
    .modal {
        max-width: 480px;
    }
}

@keyframes modalSlide {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--divider);
}

.font-size-1-25rem {
    font-size: 1.25rem;
}

.font-weight-600 {
    font-weight: 600;
}

.color-text-primary {
    color: var(--text-primary);
}


.modal-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: var(--divider);
    color: var(--text-primary);
}

.padding-1-5rem {
    padding: 1.5rem;
}


.passcode-input-group {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin: 1.5rem 0;
}

@media (min-width: 768px) {
    .passcode-input-group {
        gap: 0.75rem;
    }
}

.passcode-input {
    width: 48px;
    height: 56px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.38);
    border-radius: 4px;
    outline: none;
    transition: border-color 150ms cubic-bezier(0.4, 0, 0.2, 1), border-width 150ms cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-primary);
    font-family: inherit;
}

@media (min-width: 768px) {
    .passcode-input {
        width: 56px;
        height: 60px;
    }
}

.passcode-input:hover {
    border-color: rgba(0, 0, 0, 0.87);
}

.passcode-input:focus {
    border: 2px solid var(--primary);
}

.passcode-input.error {
    border: 2px solid var(--error);
}

.passcode-input.error:focus {
    border: 2px solid var(--error);
}

/* Single Passcode Input Styles */
.margin-1-5rem-0 {
    margin: 1.5rem 0;
}




.passcode-single-input {
    width: 100%;
    padding: 16px 12px;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-primary);
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.38);
    border-radius: 4px;
    outline: none;
    transition: border-color 150ms cubic-bezier(0.4, 0, 0.2, 1), border-width 150ms cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Roboto', monospace;
    letter-spacing: 0.25em;
    text-align: center;
}

.passcode-single-input::placeholder {
    font-size: 1rem;
    letter-spacing: normal;
    font-weight: 400;
    color: var(--text-tertiary);
}

.passcode-single-input:hover {
    border-color: rgba(0, 0, 0, 0.87);
}

.passcode-single-input:focus {
    border: 2px solid var(--primary);
    padding: 15px 11px;
}

.passcode-single-input.error {
    border: 2px solid var(--error);
}

.passcode-single-input.error:focus {
    border: 2px solid var(--error);
    padding: 15px 11px;
}

.margin-top-4px {
    margin-top: 4px;
}

.font-size-0-75rem {
    font-size: 0.75rem;
}

.min-height-1rem {
    min-height: 1rem;
}

.padding-0-12px {
    padding: 0 12px;
}


@media (min-width: 768px) {
    .passcode-single-input {
        font-size: 1.5rem;
        padding: 18px 14px;
    }

    .passcode-single-input:focus {
        padding: 17px 13px;
    }

    .passcode-single-input.error:focus {
        padding: 17px 13px;
    }
}

.toast-container {
    position: fixed;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: calc(100% - 2rem);
    max-width: 400px;
}

@media (min-width: 768px) {
    .toast-container {
        bottom: 2rem;
    }
}

.toast {
    background: var(--background);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-4);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: toastIn var(--transition-slow);
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateY(10px);
    }
}

.toast.success {
    border-left: 4px solid var(--success);
}

.toast.error {
    border-left: 4px solid var(--error);
}

.toast.info {
    border-left: 4px solid var(--primary);
}

.toast-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.toast-icon.success {
    color: var(--success);
}

.toast-icon.error {
    color: var(--error);
}

.toast-icon.info {
    color: var(--primary);
}

.flex-1 {
    flex: 1;
}

.font-size-0-9375rem {
    font-size: 0.9375rem;
}


.display-inline-block {
    display: inline-block;
}

.width-1rem {
    width: 1rem;
}

.height-1rem {
    height: 1rem;
}

.border-2px-solid-rgba255-255-255-0-3 {
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.border-top-color-white {
    border-top-color: white;
}

.border-radius-50-per {
    border-radius: 50%;
}

.animation-spin-0-6s-linear-infinite {
    animation: spin 0.6s linear infinite;
}


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

.hidden {
    display: none !important;
}

.animation-fadeinsmooth-250ms-ease-out {
    animation: fadeInSmooth 250ms ease-out;
}


@keyframes fadeInSmooth {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.text-align-center {
    text-align: center;
}




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


.font-size-1-125rem {
    font-size: 1.125rem;
}




.text-2xl {
    font-size: 1.5rem;
}

@media (min-width: 768px) {
    .text-2xl {
        font-size: 1.75rem;
    }
}



.text-secondary {
    color: var(--text-secondary);
}

.color-error {
    color: var(--error);
}






.margin-top-0-5rem {
    margin-top: 0.5rem;
}


.margin-top-0-75rem {
    margin-top: 0.75rem;
}




.margin-bottom-0-75rem {
    margin-bottom: 0.75rem;
}


.margin-bottom-1rem {
    margin-bottom: 1rem;
}


.margin-bottom-1-5rem {
    margin-bottom: 1.5rem;
}


::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--divider);
}

::-webkit-scrollbar-thumb {
    background: var(--text-tertiary);
    border-radius: var(--radius-sm);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

@media (hover: none) and (pointer: coarse) {
    .btn:active:not(:disabled) {
        transform: scale(0.98);
    }
}

#appbar-root {
	position: sticky;
	top:0;
	left:0;
	width:100%;
	z-index:1100;
}

/* Appbar Styles */
.top-0 {
    top: 0;
}

.left-0 {
    left: 0;
}

.right-0 {
    right: 0;
}

.background-primary {
    background: var(--primary);
}

.z-index-1100 {
    z-index: 1100;
}

.box-shadow-shadow-2 {
    box-shadow: var(--shadow-2);
}


.appbar-content {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 1rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.appbar-title {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-align: center;
    flex: 1;
}

.appbar-menu-container {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
}

.appbar-menu-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.appbar-menu-button:hover {
    background: rgba(255, 255, 255, 0.1);
}

.appbar-menu-button:active {
    background: rgba(255, 255, 255, 0.2);
}

.appbar-menu-icon {
    width: 24px;
    height: 24px;
    color: white;
}

.appbar-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-4);
    min-width: 200px;
    overflow: hidden;
    animation: dropdownSlide var(--transition-base);
    z-index: 200;
}

.appbar-menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    cursor: pointer;
    transition: background var(--transition-fast);
    color: var(--primary);
}

.appbar-menu-item:hover {
    background: rgba(0, 36, 85, 0.08);
}

.appbar-menu-item.active {
    background: var(--primary);
    color: white;
}

.appbar-menu-item.active .appbar-menu-item-icon {
    color: white;
}

.appbar-menu-item-icon {
    width: 20px;
    height: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

.appbar-menu-item.active .appbar-menu-item-icon {
    color: white;
}



/* Screen bodies for appbar routes. The appbar itself lives in #appbar-root
   and is never part of this markup — only the fade-in now lives here since
   there's no ".screen-container-with-appbar" wrapper any more. */
.dashboard-content,
.profile-content,
.about-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    animation: fadeIn var(--transition-slow);
}

@media (min-width: 768px) {

    .dashboard-content,
    .profile-content,
    .about-content {
        padding: 2rem;
        background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(167, 139, 250, 0.05) 100%);
    }
}

.dashboard-layout {
    width: 100%;
    max-width: 1120px;
    display: grid;
    gap: 1.5rem;
}

.jobs-section {
    width: 100%;
    background: var(--background);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-2);
    padding: 1.25rem;
}

.jobs-section-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.min-height-180px {
    min-height: 180px;
}

.display-flex {
    display: flex;
}

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

.align-items-center {
    align-items: center;
}

.justify-content-center {
    justify-content: center;
}

.gap-0-875rem {
    gap: 0.875rem;
}

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

.border-radius-radius-md {
    border-radius: var(--radius-md);
}

.background-surface {
    background: var(--surface);
}


.border-color-rgba239-68-68-0-25 {
    border-color: rgba(239, 68, 68, 0.25);
}


.width-32px {
    width: 32px;
}

.height-32px {
    height: 32px;
}

.color-primary {
    color: var(--primary);
}


.border-color-rgba0-36-85-0-16 {
    border-color: rgba(0, 36, 85, 0.16);
}

.border-top-color-primary {
    border-top-color: var(--primary);
}


.width-auto {
    width: auto;
}


.display-grid {
    display: grid;
}

.gap-1rem {
    gap: 1rem;
}


.job-card {
    display: grid;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--background);
}

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


.job-card-header {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.font-size-1-05rem {
    font-size: 1.05rem;
}

.line-height-1-35 {
    line-height: 1.35;
}


.font-size-0-925rem {
    font-size: 0.925rem;
}

.margin-top-0-125rem {
    margin-top: 0.125rem;
}


.job-salary {
    justify-self: start;
    color: var(--primary);
    background: rgba(0, 36, 85, 0.08);
    border-radius: 999px;
    padding: 0.375rem 0.625rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.line-height-1-55 {
    line-height: 1.55;
}

.margin-bottom-0-875rem {
    margin-bottom: 0.875rem;
}


.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.job-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--text-secondary);
    background: var(--surface);
    border-radius: 999px;
    padding: 0.35rem 0.55rem;
    font-size: 0.8rem;
}

.job-meta i,
.job-meta svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.job-apply-btn {
    align-self: center;
    text-decoration: none;
}

.job-apply-btn.disabled {
    pointer-events: none;
    background: var(--disabled-bg);
    color: var(--text-disabled);
    box-shadow: none;
}

@media (min-width: 768px) {
    .job-card {
        grid-template-columns: minmax(0, 1fr) 120px;
        align-items: center;
    }

    .job-card-header {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: flex-start;
    }

    .job-salary {
        justify-self: end;
        white-space: nowrap;
    }
}

/* Mobile Responsive: Full-width cards on mobile (below 1024px) */
@media (max-width: 1023px) {

    .dashboard-content .card,
    .profile-content .card {
        max-width: 100% !important;
        width: 100%;
        border-radius: 0;
        box-shadow: none;
    }

    .dashboard-content,
    .profile-content {
        padding: 0 !important;
        background: var(--background) !important;
    }

    .dashboard-layout {
        gap: 0;
    }

    .jobs-section {
        border-radius: 0;
        box-shadow: none;
    }

    .jobs-section-header {
        align-items: center;
    }
}


/* Profile Item Styles */
.profile-item {
    padding: 0.75rem;
    border-radius: var(--radius-md);
    background: var(--surface);
    transition: background var(--transition-fast);
}

.profile-item:hover {
    background: rgba(0, 36, 85, 0.05);
}

.profile-item-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.width-18px {
    width: 18px;
}

.height-18px {
    height: 18px;
}

.flex-shrink-0 {
    flex-shrink: 0;
}




.padding-left-1-625rem {
    padding-left: 1.625rem;
}


/* Warning Popup Styles */
.max-width-400px {
    max-width: 400px;
}



/* Mobile Responsiveness for Menu Button */
@media (max-width: 768px) {
    .appbar-menu-container {
        right: 0.25rem;
    }

    .appbar-menu-button {
        width: 36px;
        height: 36px;
    }

    .appbar-menu-icon {
        width: 22px;
        height: 22px;
    }

    .appbar-dropdown-menu {
        min-width: 180px;
        right: 0.25rem;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .appbar-content {
        padding: 0.875rem 1rem;
    }

    .appbar-menu-container {
        right: 0.125rem;
    }

    .appbar-dropdown-menu {
        min-width: 160px;
        right: 0.125rem;
    }
}

/* Desktop Appbar Layout (1024px+) */
@media (min-width: 1024px) {
    .appbar-content {
        justify-content: flex-start;
        gap: 1rem;
    }

    .appbar-logo-section {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding-left: 0.5rem;
    }

    .appbar-logo {
        width: 35px;
        height: 35px;
        color: white;
        flex-shrink: 0;
        object-fit: contain;
        border-radius: 4px;
    }

    .appbar-name {
        color: white;
        font-size: 1.125rem;
        font-weight: 600;
        letter-spacing: 0.5px;
        white-space: nowrap;
    }

    .appbar-title {
        display: none;
    }

    .appbar-menu-container {
        display: none;
    }

    .appbar-actions-desktop {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-left: auto;
        padding-right: 0.5rem;
    }

    .appbar-icon-button {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: none;
        background: transparent;
        cursor: pointer;
        transition: background var(--transition-fast);
    }

    .appbar-icon-button:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    .appbar-icon-button:active {
        background: rgba(255, 255, 255, 0.2);
    }

    .appbar-action-icon {
        width: 22px;
        height: 22px;
        color: white;
    }
}

/* Mobile: Hide desktop elements */
@media (max-width: 1023px) {
    .appbar-logo-section {
        display: none;
    }

    .appbar-actions-desktop {
        display: none;
    }

    .profile-bottom-actions {
        display: none;
    }
}

/* Desktop: Profile Bottom Actions (1024px+) */
@media (min-width: 1024px) {
    .profile-bottom-actions {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 2rem;
        padding-top: 1.5rem;
        border-top: 1px solid var(--divider);
    }

    .profile-bottom-actions .btn {
        width: 100%;
    }
}

/* Profile edit controls */
.profile-item-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.profile-item-top .profile-item-header {
    margin-bottom: 0.5rem;
}

.profile-edit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--primary);
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast);
    flex-shrink: 0;
}

.profile-edit-button:hover,
.profile-edit-button:focus-visible {
    background: rgba(0, 36, 85, 0.08);
    outline: none;
}



.profile-edit-modal .modal-header {
    position: relative;
    justify-content: center;
}

.profile-edit-modal .modal-close {
    position: absolute;
    right: 1rem;
}

.min-height-320px {
    min-height: 320px;
}


.max-width-360px {
    max-width: 360px;
}

.margin-0-auto {
    margin: 0 auto;
}


.padding-top-1rem {
    padding-top: 1rem;
}


.max-width-180px {
    max-width: 180px;
}


/* Profile email verification popup */
.profile-email-verification-modal .modal-header {
    position: relative;
    justify-content: center;
}

.profile-email-verification-modal .modal-close {
    position: absolute;
    right: 1rem;
}

.modal-close:disabled,
.modal-close[aria-disabled="true"] {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

.gap-0-25rem {
    gap: 0.25rem;
}




.border-radius-radius-lg {
    border-radius: var(--radius-lg);
}

.padding-0-75rem-1rem {
    padding: 0.75rem 1rem;
}


.justify-content-space-between {
    justify-content: space-between;
}

.gap-0-75rem {
    gap: 0.75rem;
}




.margin-top-0-25rem {
    margin-top: 0.25rem;
}



