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

html, body {
    height: 100%;
}

body {
    font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
    color: var(--color-text);
    background-color: var(--color-background);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

[x-cloak] {
    display: none !important;
}

/* ── Toast notifications ── */

.toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toast {
    padding: 0.7rem 1.25rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    background-color: #e8f5e9;
    color: #2e7d32;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    transition: opacity 0.3s, transform 0.3s;
}

.toast--success {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.toast--error {
    background-color: #fce4ec;
    color: #c62828;
}

.toast--warning {
    background-color: #fff3e0;
    color: #e65100;
}

/* ── Navbar ── */

.navbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    background-color: var(--color-background);
    border-bottom: 1px solid #e8e4e4;
}

.navbar__logo {
    display: flex;
    align-items: center;
}

.navbar__logo img {
    height: 28px;
    width: auto;
}

.navbar__toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.navbar__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-text);
    border-radius: 2px;
}

.navbar__links {
    display: none;
    flex-direction: column;
    width: 100%;
    list-style: none;
    gap: 0;
    padding-top: 1rem;
}

.navbar__links--open {
    display: flex;
}

.navbar__links li a {
    display: block;
    padding: 0.6rem 0;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text);
    transition: color 0.2s;
}

.navbar__links li a:hover {
    color: var(--color-primary);
}

.navbar__auth {
    display: none;
    width: 100%;
    padding-top: 0.75rem;
    align-items: center;
    gap: 0.75rem;
}

.navbar__auth--open {
    display: flex;
}

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

.navbar__signin {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
}

.navbar__signin:hover {
    opacity: 0.75;
}

/* ── Hero ── */

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 1.25rem;
}

.hero__title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.15;
    max-width: 700px;
    margin-bottom: 1rem;
}

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

.hero__subtitle {
    font-size: 1rem;
    color: #5a5757;
    max-width: 520px;
    margin-bottom: 2rem;
}

.hero__cta {
    display: inline-block;
    padding: 0.85rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-background);
    background-color: var(--color-accent);
    border-radius: 6px;
    transition: opacity 0.2s;
}

.hero__cta:hover {
    opacity: 0.85;
}

/* ── Auth pages ── */

.auth {
    display: flex;
    justify-content: center;
    padding: 2.5rem 1.25rem 4rem;
}

.auth__card {
    width: 100%;
    max-width: 440px;
}

.auth__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

.auth__subtitle {
    text-align: center;
    color: #5a5757;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.auth__social {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.auth__social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.7rem;
    font-size: 0.95rem;
    font-weight: 500;
    border: 1px solid #d4d0d0;
    border-radius: 6px;
    background: var(--color-background);
    color: var(--color-text);
    cursor: pointer;
    transition: background-color 0.2s;
}

.auth__social-btn:hover {
    background-color: #f5f2f2;
}

.auth__divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    color: #918d8d;
    font-size: 0.85rem;
}

.auth__divider::before,
.auth__divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: #d4d0d0;
}

.auth__form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auth__row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auth__field {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.auth__field label {
    font-size: 0.85rem;
    font-weight: 600;
}

.auth__field input {
    padding: 0.65rem 0.75rem;
    font-size: 0.95rem;
    border: 1px solid #d4d0d0;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
    color: var(--color-text);
    background: var(--color-background);
}

.auth__field input::placeholder {
    color: #a09c9c;
}

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

.auth__help {
    font-size: 0.8rem;
    color: var(--color-text-secondary, #777);
    margin-top: 0.2rem;
    display: block;
}

.auth__error {
    font-size: 0.8rem;
    color: #c62828;
}

.auth__submit {
    padding: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-background);
    background-color: var(--color-primary);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: opacity 0.2s;
    font-family: inherit;
    margin-top: 0.25rem;
}

.auth__submit:hover {
    opacity: 0.85;
}

.auth__forgot-link {
    display: block;
    text-align: right;
    margin-top: 0.35rem;
    font-size: 0.82rem;
    color: var(--color-primary);
}

.auth__forgot-link:hover {
    text-decoration: underline;
}

.auth__footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #5a5757;
}

.auth__footer a {
    color: var(--color-primary);
    font-weight: 600;
}

.auth__footer a:hover {
    text-decoration: underline;
}

.auth__input--readonly {
    background-color: #f0eded;
    color: #918d8d;
    cursor: not-allowed;
}

/* ── Profile page ── */

.profile__message {
    padding: 0.65rem 0.85rem;
    border-radius: 6px;
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

.profile__message--success {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.profile__message--error {
    background-color: #fce4ec;
    color: #c62828;
}

.profile__photo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.profile__avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-primary);
}

.profile__avatar--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary);
    color: var(--color-background);
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
}

.profile__photo-section .auth__field {
    width: 100%;
}

.profile__divider {
    height: 1px;
    background-color: #d4d0d0;
    margin: 2rem 0 1.5rem;
}

.profile__section-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* ── Select (dropdown) ── */

.auth__select {
    padding: 0.65rem 0.75rem;
    font-size: 0.95rem;
    border: 1px solid #d4d0d0;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
    color: var(--color-text);
    background: var(--color-background);
    cursor: pointer;
}

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

/* ── Dashboard ── */

.dashboard {
    padding: 2.5rem 1.5rem 4rem;
    max-width: 1100px;
    margin: 0 auto;
}

.dashboard__badge {
    display: inline-block;
    width: fit-content;
    padding: 0.2rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dashboard__badge--admin {
    background-color: #e3f2fd;
    color: #1565c0;
}

.dashboard__badge--superadmin {
    background-color: #fce4ec;
    color: #c62828;
}

.dashboard__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.dashboard__card {
    display: block;
    padding: 1.75rem;
    border: 1px solid #f0eded;
    border-radius: 12px;
    background: #fff;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.dashboard__card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

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

.dashboard__card-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.dashboard__card-text {
    font-size: 0.9rem;
    color: #5a5757;
}

/* ── Textarea ── */

.auth__textarea {
    padding: 0.65rem 0.75rem;
    font-size: 0.95rem;
    border: 1px solid #d4d0d0;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
    color: var(--color-text);
    background: var(--color-background);
    resize: vertical;
}

.auth__textarea::placeholder {
    color: #a09c9c;
}

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

/* ── Auth card wide variant ── */

.auth__card--wide {
    max-width: 640px;
}

/* ── Admin form wrapper (used after page-hero) ── */

.admin-form {
    padding: 2.5rem 1.5rem 4rem;
    max-width: 640px;
    margin: 0 auto;
}

.admin-form__card {
    background: #fff;
    border: 1px solid #f0eded;
    border-radius: 12px;
    padding: 2rem 1.75rem;
}

.admin-form__card .auth__form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.admin-form__section-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
    margin-top: 0.5rem;
}

.admin-form__divider {
    border: none;
    border-top: 1px solid #f0eded;
    margin: 0.5rem 0;
}

/* ── Services (admin list pages) ── */

.services {
    padding: 2.5rem 1.5rem 4rem;
    max-width: 1100px;
    margin: 0 auto;
}

.services__toolbar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.services__action-btn {
    display: inline-block;
    width: fit-content;
    padding: 0.55rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    background-color: var(--color-primary);
    border-radius: 8px;
    transition: background-color 0.2s, transform 0.2s;
}

.services__action-btn:hover {
    background-color: #d89202;
    transform: translateY(-1px);
}

.services__card {
    background: #fff;
    border: 1px solid #f0eded;
    border-radius: 12px;
    overflow: hidden;
}

.services__table-wrap {
    overflow-x: auto;
}

.services__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.services__table th,
.services__table td {
    text-align: left;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #f0eded;
}

.services__table th {
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #5a5757;
    background: #fafafa;
}

.services__actions {
    display: flex;
    gap: 0.75rem;
}

.services__actions a {
    font-weight: 500;
    color: var(--color-primary);
}

.services__actions a:hover {
    text-decoration: underline;
}

.services__delete-link {
    color: #c62828 !important;
}

.services__empty {
    color: #5a5757;
    font-size: 0.95rem;
    padding: 2rem 0;
}

/* ── Filter bar ── */

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.filter-bar__btn {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid #e8e4e4;
    border-radius: 20px;
    color: #5a5757;
    background: #fff;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.filter-bar__btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.filter-bar__btn--active {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.filter-bar__btn--active:hover {
    color: #fff;
}

/* ── Status badge ── */

.status-badge {
    display: inline-block;
    padding: 0.15rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.status-badge--pending {
    background-color: #fff3e0;
    color: #e65100;
}

.status-badge--confirmed {
    background-color: #e3f2fd;
    color: #1565c0;
}

.status-badge--in_progress {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.status-badge--completed {
    background-color: #f5f5f5;
    color: #616161;
}

.status-badge--assigned {
    background-color: #e3f2fd;
    color: #1565c0;
}

.status-badge--cancelled {
    background-color: #fce4ec;
    color: #c62828;
}

/* ── Request hub ── */

.request-hub {
    padding: 2.5rem 1.25rem 4rem;
    max-width: 900px;
    margin: 0 auto;
}

.request-hub__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.request-hub__subtitle {
    font-size: 0.95rem;
    color: #5a5757;
    margin-bottom: 2rem;
}

.request-hub__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.request-hub__card {
    display: block;
    padding: 1.5rem;
    border: 1px solid #e8e4e4;
    border-radius: 8px;
    background: var(--color-background);
    border-left: 4px solid var(--color-primary);
    transition: background-color 0.2s, box-shadow 0.2s;
}

.request-hub__card:hover {
    background-color: #fef7e8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.request-hub__card-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.request-hub__card-text {
    font-size: 0.9rem;
    color: #5a5757;
}

/* ── Estimate ── */

.estimate {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.estimate__btn {
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
    background: var(--color-background);
    border: 2px solid var(--color-primary);
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
    font-family: inherit;
}

.estimate__btn:hover {
    background-color: #fef7e8;
}

.estimate__result {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary);
}

/* ── Checkbox field ── */

.auth__field--checkbox {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.auth__field--checkbox label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    cursor: pointer;
}

.auth__field--checkbox input[type="checkbox"] {
    width: 1.1rem;
    height: 1.1rem;
    accent-color: var(--color-primary);
}

/* ── File input ── */

.auth__file-input {
    padding: 0.5rem 0;
    font-size: 0.9rem;
    font-family: inherit;
}

/* ── Detail panel (slide-in) ── */

.detail-panel__overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 899;
}

.detail-panel__overlay--open {
    display: block;
}

.detail-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    z-index: 900;
    background: var(--color-background);
    box-shadow: -4px 0 16px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.detail-panel--open {
    transform: translateX(0);
}

.detail-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e8e4e4;
    flex-shrink: 0;
}

.detail-panel__title {
    font-size: 1.1rem;
    font-weight: 700;
}

.detail-panel__close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #5a5757;
    padding: 0 0.25rem;
    line-height: 1;
}

.detail-panel__close:hover {
    color: var(--color-text);
}

.detail-panel__body {
    overflow-y: auto;
    padding: 1.5rem;
    flex: 1;
}

/* ── Detail fragment content ── */

.detail__top {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.detail__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.detail__section-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.detail__group {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    margin-bottom: 0.75rem;
}

.detail__label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #5a5757;
}

.detail__value {
    font-size: 0.9rem;
}

.detail__value--warning {
    color: #e65100;
    background: #fff3e0;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
}

.detail__divider {
    height: 1px;
    background-color: #e8e4e4;
    margin: 1rem 0;
}

.detail__items-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.detail__items-table th,
.detail__items-table td {
    text-align: left;
    padding: 0.5rem 0.4rem;
    border-bottom: 1px solid #e8e4e4;
}

.detail__items-table th {
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #5a5757;
}

.detail__items-table tfoot td {
    border-top: 2px solid #d4d0d0;
    border-bottom: none;
    padding-top: 0.6rem;
}

.detail__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.detail__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
    font-family: inherit;
    box-sizing: border-box;
    text-decoration: none;
    transition: opacity 0.2s;
}

.detail__btn:hover {
    opacity: 0.85;
}

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

.detail__btn--secondary {
    color: var(--color-primary);
    background: var(--color-background);
    border: 2px solid var(--color-primary);
}

.detail__btn--danger {
    background-color: transparent;
    color: #c62828;
    border: 2px solid #c62828;
}

.detail__btn--danger:hover {
    background-color: #c62828;
    color: #fff;
}

.detail__actions {
    display: flex;
    gap: 0.75rem;
    align-items: stretch;
}

.detail__btn--small {
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
}

.detail__assignment-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail__select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.9rem;
}

.detail__info {
    font-size: 0.85rem;
    color: #5a5757;
    font-style: italic;
}

.detail__info--success {
    color: #2e7d32;
    font-style: normal;
    font-weight: 600;
}

/* Clickable table rows */

.services__row {
    cursor: pointer;
    transition: background-color 0.15s;
}

.services__row:hover {
    background-color: #fef7e8;
}

/* Status badges for request types */

.status-badge--onsite {
    background-color: #e3f2fd;
    color: #1565c0;
}

.status-badge--telephone {
    background-color: #f3e5f5;
    color: #7b1fa2;
}

.status-badge--translation {
    background-color: #e8f5e9;
    color: #2e7d32;
}

/* Status badges for quotation statuses */

.status-badge--draft {
    background-color: #f5f5f5;
    color: #616161;
}

.status-badge--sent {
    background-color: #e3f2fd;
    color: #1565c0;
}

.status-badge--revision_requested {
    background-color: #fff3e0;
    color: #e65100;
}

/* ── Quotation edit page ── */

.quotation-edit__section-title {
    font-size: 1rem;
    font-weight: 700;
    margin-top: 0.5rem;
}

.quotation-edit__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.quotation-edit__table th,
.quotation-edit__table td {
    text-align: left;
    padding: 0.5rem 0.35rem;
    border-bottom: 1px solid #e8e4e4;
}

.quotation-edit__table th {
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #5a5757;
}

.quotation-edit__table tfoot td {
    border-top: 2px solid #d4d0d0;
    border-bottom: none;
    padding-top: 0.6rem;
}

.quotation-edit__input {
    padding: 0.45rem 0.5rem;
    font-size: 0.9rem;
    border: 1px solid #d4d0d0;
    border-radius: 6px;
    outline: none;
    font-family: inherit;
    color: var(--color-text);
    background: var(--color-background);
    width: 100%;
}

.quotation-edit__input:focus {
    border-color: var(--color-primary);
}

.quotation-edit__input--narrow {
    width: 5rem;
}

.quotation-edit__input--medium {
    width: 7rem;
}

.quotation-edit__line-total {
    font-weight: 600;
    white-space: nowrap;
}

.quotation-edit__delete-label input[type="checkbox"] {
    width: 1.1rem;
    height: 1.1rem;
    accent-color: #c62828;
}

.quotation-edit__input[readonly] {
    background-color: #f0eded;
    color: #918d8d;
    cursor: not-allowed;
}

.quotation-edit__readonly-text {
    font-size: 0.9rem;
    font-weight: 500;
}

.quotation-edit__minutes-wrap {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.quotation-edit__minutes-label {
    font-size: 0.8rem;
    color: #5a5757;
    font-weight: 500;
    white-space: nowrap;
}

.quotation-edit__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
    justify-content: flex-end;
}

.quotation-edit__add-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.quotation-edit__remove-btn {
    background: none;
    border: none;
    color: var(--color-error, #dc3545);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    line-height: 1;
}

.quotation-edit__remove-btn:hover {
    background: rgba(220, 53, 69, 0.1);
}

/* ── Customer quotation page ── */

.quotation__details {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.quotation__details td {
    padding: 0.4rem 1rem 0.4rem 0;
}

.quotation__notes {
    background: #f5f5f5;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.quotation__notes p {
    margin-top: 0.35rem;
}

.quotation__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.quotation__table th,
.quotation__table td {
    text-align: left;
    padding: 0.6rem 0.5rem;
    border-bottom: 1px solid #e8e4e4;
}

.quotation__table th {
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #5a5757;
}

.quotation__table th:last-child,
.quotation__table td:last-child {
    text-align: right;
}

.quotation__table tfoot td {
    border-top: 2px solid #d4d0d0;
    border-bottom: none;
    padding-top: 0.6rem;
}

.quotation__actions {
    margin-top: 1rem;
}

.quotation__confirm-form {
    margin-top: 0.5rem;
}

.quotation__divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    color: #918d8d;
    font-size: 0.85rem;
}

.quotation__divider::before,
.quotation__divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: #d4d0d0;
}

.quotation__confirmed,
.quotation__revision {
    margin-top: 1.5rem;
    padding: 1.25rem;
    border-radius: 6px;
    font-size: 0.9rem;
}

.quotation__confirmed {
    background: #e8f5e9;
    color: #2e7d32;
}

.quotation__confirmed h3,
.quotation__revision h3 {
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
}

.quotation__revision {
    background: #fff3e0;
    color: #e65100;
}

/* ── Submit button spinner ── */

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

button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

button[type="submit"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

button[type="submit"] .btn-spinner {
    width: 1em;
    height: 1em;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: btn-spin 0.6s linear infinite;
    flex-shrink: 0;
    margin-right: 0.4em;
}

/* ── Shared Page Hero ── */

.page-hero {
    background: linear-gradient(135deg, #fdf6e3 0%, #fff7ed 50%, #fef3f2 100%);
    padding: 4rem 1.5rem 3.5rem;
    text-align: center;
}

.page-hero__inner {
    max-width: 720px;
    margin: 0 auto;
}

.page-hero__label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.page-hero__title {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-text);
    margin-bottom: 1.25rem;
}

.page-hero__subtitle {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #5a5757;
    max-width: 580px;
    margin: 0 auto;
}

/* ── Shared Page Body (long-form content) ── */

.page-body {
    padding: 3rem 1.5rem 4rem;
    max-width: 800px;
    margin: 0 auto;
}

/* ── About page ── */

/* ── About: Values ── */

.about-values {
    padding: 3.5rem 1.5rem;
    background: var(--color-background);
}

.about-values__inner {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.about-values__card {
    background: #fff;
    border: 1px solid #f0eded;
    border-radius: 12px;
    padding: 2rem 1.75rem;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.about-values__card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.about-values__icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: #fef3e2;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.about-values__card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.about-values__card-text {
    font-size: 0.95rem;
    color: #5a5757;
    line-height: 1.7;
}

/* ── About: What Sets Us Apart ── */

.about-apart {
    padding: 3.5rem 1.5rem;
    background: #fafafa;
}

.about-apart__inner {
    max-width: 1000px;
    margin: 0 auto;
}

.about-apart__label {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.about-apart__heading {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 2.5rem;
}

.about-apart__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.about-apart__card {
    background: #fff;
    border: 1px solid #f0eded;
    border-radius: 12px;
    padding: 2rem 1.75rem;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.about-apart__card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.about-apart__number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-primary);
    opacity: 0.3;
    margin-bottom: 0.75rem;
}

.about-apart__card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.about-apart__card-text {
    font-size: 0.95rem;
    color: #5a5757;
    line-height: 1.7;
}

/* ── About: Team ── */

.about-team {
    padding: 3.5rem 1.5rem 5rem;
    background: var(--color-background);
}

.about-team__inner {
    max-width: 1000px;
    margin: 0 auto;
}

.about-team__label {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.about-team__heading {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.about-team__subheading {
    text-align: center;
    font-size: 1rem;
    color: #5a5757;
    margin-bottom: 3rem;
}

.about-team__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.about-team__card {
    background: #fff;
    border: 1px solid #f0eded;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.about-team__card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.about-team__photo {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center 20%;
    display: block;
    background-color: #e8e4e4;
}

.about-team__body {
    padding: 1.5rem 1.75rem 1.75rem;
}

.about-team__name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.15rem;
}

.about-team__role {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.about-team__bio {
    font-size: 0.9rem;
    color: #5a5757;
    line-height: 1.7;
}

/* ── Tabs ── */

.tabs {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.tabs__btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    border: 2px solid #d4d0d0;
    border-radius: 6px;
    background: none;
    color: #5a5757;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

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

.tabs__btn--active {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.tabs__btn--active:hover {
    color: #fff;
}

/* ── Terms page ── */

.terms {
    text-align: left;
    margin-top: 1.5rem;
}

.terms__updated {
    font-size: 0.85rem;
    color: #9ca3af;
    margin-bottom: 1.5rem;
}

.terms__intro {
    font-size: 0.95rem;
    color: #5a5757;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.terms__heading {
    font-size: 1.15rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.terms__subheading {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 1.25rem;
    margin-bottom: 0.35rem;
    color: var(--color-text);
}

.terms__text {
    font-size: 0.9rem;
    color: #5a5757;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

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

.terms__link:hover {
    opacity: 0.8;
}

.terms__list {
    font-size: 0.9rem;
    color: #5a5757;
    line-height: 1.7;
    margin: 0.5rem 0 0.75rem 1.5rem;
}

.terms__list li {
    margin-bottom: 0.35rem;
}

.terms__disclaimer {
    margin-top: 2rem;
    padding: 1rem 1.25rem;
    background-color: #fff7ed;
    border-left: 4px solid #f97316;
    font-size: 0.85rem;
    font-weight: 600;
    color: #9a3412;
    line-height: 1.6;
    border-radius: 4px;
}

/* ── Timeline ── */

.timeline {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.25rem 4rem;
}

.timeline__heading {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
}

.timeline__line {
    position: relative;
    padding: 1rem 0;
}

.timeline__line::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: repeating-linear-gradient(
        to bottom,
        #ccc 0,
        #ccc 6px,
        transparent 6px,
        transparent 12px
    );
    transform: translateX(-50%);
}

.timeline__item {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    width: 50%;
}

.timeline__item--left {
    justify-content: flex-end;
    padding-right: 2.5rem;
    margin-right: auto;
}

.timeline__item--right {
    justify-content: flex-start;
    padding-left: 2.5rem;
    margin-left: auto;
}

.timeline__badge {
    position: absolute;
    top: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
    z-index: 1;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px currentColor;
}

.timeline__item--left .timeline__badge {
    right: -20px;
}

.timeline__item--right .timeline__badge {
    left: -20px;
}

.timeline__badge--orange  { background: #f97316; box-shadow: 0 0 0 2px #f97316; }
.timeline__badge--yellow  { background: #eab308; box-shadow: 0 0 0 2px #eab308; }
.timeline__badge--green   { background: #22c55e; box-shadow: 0 0 0 2px #22c55e; }
.timeline__badge--pink    { background: #ec4899; box-shadow: 0 0 0 2px #ec4899; }
.timeline__badge--purple  { background: #a855f7; box-shadow: 0 0 0 2px #a855f7; }
.timeline__badge--blue    { background: #6366f1; box-shadow: 0 0 0 2px #6366f1; }
.timeline__badge--teal    { background: #14b8a6; box-shadow: 0 0 0 2px #14b8a6; }

.timeline__content {
    max-width: 300px;
}

.timeline__item--left .timeline__content {
    text-align: right;
}

.timeline__tag {
    display: inline-block;
    padding: 0.15rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 0.25rem;
}

.timeline__tag--orange  { background: #fff7ed; color: #ea580c; }
.timeline__tag--yellow  { background: #fefce8; color: #ca8a04; }
.timeline__tag--green   { background: #f0fdf4; color: #16a34a; }
.timeline__tag--pink    { background: #fdf2f8; color: #db2777; }
.timeline__tag--purple  { background: #faf5ff; color: #9333ea; }
.timeline__tag--blue    { background: #eef2ff; color: #4f46e5; }
.timeline__tag--teal    { background: #f0fdfa; color: #0d9488; }

.timeline__year {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0.15rem 0 0.35rem;
}

.timeline__text {
    font-size: 0.9rem;
    color: #5a5757;
    line-height: 1.6;
}

/* Timeline mobile: stack single column */
@media (max-width: 767px) {
    .timeline__line::before {
        left: 20px;
    }

    .timeline__item {
        width: 100%;
        padding-left: 3.5rem !important;
        padding-right: 0 !important;
        justify-content: flex-start !important;
    }

    .timeline__item--left .timeline__badge,
    .timeline__item--right .timeline__badge {
        left: 0;
        right: auto;
    }

    .timeline__item--left .timeline__content,
    .timeline__item--right .timeline__content {
        text-align: left;
    }

    .timeline__content {
        max-width: 100%;
    }
}

/* ── Contact page ── */

/* ── Contact page ── */

.contact-body {
    padding: 3.5rem 1.5rem 5rem;
    background: var(--color-background);
}

.contact-body__inner {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-body__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

.contact-body__info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.contact-body__card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #fff;
    border: 1px solid #f0eded;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.contact-body__card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.contact-body__icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 10px;
    background: #fef3e2;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-body__card-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #5a5757;
    margin-bottom: 0.1rem;
}

.contact-body__card-value {
    font-size: 0.95rem;
    color: var(--color-text);
}

.contact-body__form {
    background: #fff;
    border: 1px solid #f0eded;
    border-radius: 12px;
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ── Desktop (768px+) ── */

@media (min-width: 768px) {
    .navbar {
        flex-wrap: nowrap;
        padding: 1.25rem 4rem;
    }

    .navbar__toggle {
        display: none;
    }

    .navbar__links,
    .navbar__links--open {
        display: flex;
        flex-direction: row;
        width: auto;
        gap: 2rem;
        padding-top: 0;
    }

    .navbar__links li a {
        padding: 0;
    }

    .navbar__auth,
    .navbar__auth--open {
        display: flex;
        width: auto;
        padding-top: 0;
    }

    .hero {
        padding: 8rem 2rem;
    }

    .hero__title {
        font-size: 3rem;
        margin-bottom: 1.25rem;
    }

    .hero__subtitle {
        font-size: 1.15rem;
        margin-bottom: 2.5rem;
    }

    .auth {
        padding: 4rem 2rem 6rem;
    }

    .auth__row {
        flex-direction: row;
        gap: 1rem;
    }

    .auth__row .auth__field {
        flex: 1;
    }

    .page-hero--home {
        padding: 8rem 2rem 7rem;
    }

    .help__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .dashboard {
        padding: 3rem 2rem 6rem;
        max-width: 1100px;
    }

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

    .services {
        padding: 3rem 2rem 6rem;
    }

    .services__toolbar {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .request-hub {
        padding: 3rem 4rem 6rem;
    }

    .request-hub__title {
        font-size: 2rem;
    }

    .request-hub__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .page-hero {
        padding: 5rem 2rem 4.5rem;
    }

    .page-hero__title {
        font-size: 3rem;
    }

    .page-body {
        padding: 3.5rem 2rem 5rem;
    }

    .about-values {
        padding: 4.5rem 2rem;
    }

    .about-values__inner {
        grid-template-columns: repeat(3, 1fr);
    }

    .about-apart {
        padding: 4.5rem 2rem;
    }

    .about-apart__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .about-team {
        padding: 4.5rem 2rem 6rem;
    }

    .about-team__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .contact-body {
        padding: 4.5rem 2rem 6rem;
    }

    .contact-body__grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .contact-body__info {
        grid-template-columns: 1fr;
    }

    .detail-panel {
        width: 33.33%;
    }
}

/* ── Role badges ── */

.status-badge--customer {
    background-color: #e3f2fd;
    color: #1565c0;
}

.status-badge--interpreter {
    background-color: #f3e5f5;
    color: #7b1fa2;
}

.status-badge--admin {
    background-color: #fff3e0;
    color: #e65100;
}

.status-badge--superadmin {
    background-color: #fce4ec;
    color: #c62828;
}

/* ── Interpreter-specific styles ── */

.status-badge--approved {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.status-badge--rejected {
    background-color: #fce4ec;
    color: #c62828;
}

.status-badge--inactive {
    background-color: #f5f5f5;
    color: #757575;
}

.status-badge--paid {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.status-badge--unpaid {
    background-color: #fff3e0;
    color: #e65100;
}

.auth__section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid var(--color-border);
}

.auth__checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    padding: 0.5rem 0;
}

.auth__checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    cursor: pointer;
}

.auth__checkbox {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    cursor: pointer;
}

.auth__checkbox--delete {
    color: #c62828;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.auth__formset-row {
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border);
}

.auth__formset-row:last-child {
    border-bottom: none;
}

.detail__btn--approve {
    background-color: #2e7d32;
    color: #fff;
}

.detail__btn--approve:hover {
    background-color: #1b5e20;
}

.detail__btn--reject {
    background-color: #c62828;
    color: #fff;
}

.detail__btn--reject:hover {
    background-color: #b71c1c;
}

.dashboard__badge--interpreter {
    background-color: var(--color-primary);
    color: #fff;
}

.dashboard__count {
    display: inline-block;
    background-color: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    min-width: 1.4em;
    height: 1.4em;
    line-height: 1.4em;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    vertical-align: middle;
}

.auth__add-btn {
    display: inline-block;
    margin-top: 0.75rem;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-primary);
    background: none;
    border: 1px dashed var(--color-primary);
    border-radius: 6px;
    cursor: pointer;
}

.auth__add-btn:hover {
    background-color: var(--color-primary);
    color: #fff;
}

.auth__remove-btn {
    margin-top: 0.25rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
    color: #c62828;
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: underline;
}

.auth__remove-btn:hover {
    color: #b71c1c;
}

/* ── Job detail page ── */

.job-detail__back {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.job-detail__back:hover {
    text-decoration: underline;
}

.job-detail {
    margin-top: 1rem;
}

.job-detail__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

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

.job-detail__map-container {
    border: 1px solid #e8e4e4;
    border-radius: 8px;
    overflow: hidden;
}

.job-detail__map {
    width: 100%;
    height: 300px;
}

.job-detail__directions-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.5rem;
    text-align: center;
}

@media (min-width: 768px) {
    .job-detail__grid {
        grid-template-columns: 1fr 1fr;
    }

    .job-detail__map {
        height: 100%;
        min-height: 400px;
    }
}

/* ── Footer ── */

.footer {
    background-color: #1a1a1a;
    color: #ffffff;
    margin-top: auto;
    width: 100%;
}

.footer__top {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3.5rem 1.5rem 2.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
}

.footer__brand {
    flex: 1 1 100%;
    min-width: 250px;
}

.footer__logo {
    display: inline-block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: -0.5px;
    margin-bottom: 0.75rem;
}

.footer__tagline {
    font-size: 0.95rem;
    color: #9ca3af;
    line-height: 1.6;
    max-width: 280px;
}

.footer__nav {
    flex: 1 1 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer__column {
    flex: 1 1 140px;
    min-width: 140px;
}

.footer__heading {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff;
    margin-bottom: 1.25rem;
}

.footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer__links li {
    margin-bottom: 0.75rem;
}

.footer__links a {
    font-size: 0.9rem;
    color: #9ca3af;
    transition: color 0.2s ease;
}

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

.footer__bottom {
    border-top: 1px solid #2d2d2d;
    background-color: #141414;
}

.footer__bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.footer__social {
    display: flex;
    gap: 0.75rem;
}

.footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #2d2d2d;
    color: #9ca3af;
    transition: all 0.2s ease;
}

.footer__social-link:hover {
    background-color: var(--color-primary);
    color: #ffffff;
    transform: translateY(-2px);
}

.footer__copyright {
    font-size: 0.85rem;
    color: #6b7280;
}

@media (min-width: 768px) {
    .footer__top {
        padding: 4rem 2rem 3rem;
        flex-wrap: nowrap;
        gap: 4rem;
    }

    .footer__brand {
        flex: 0 0 280px;
    }

    .footer__nav {
        flex: 1;
        justify-content: flex-end;
        gap: 3rem;
    }

    .footer__column {
        flex: 0 0 auto;
    }

    .footer__bottom-inner {
        flex-direction: row;
        justify-content: space-between;
        padding: 1.25rem 2rem;
    }
}

/* -- Extension form -- */

.extension-form {
    margin-top: 1rem;
    padding: 1rem 0;
}

.extension-form--hidden {
    display: none;
}

.extension-form__divider {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-light, #6b7280);
    margin: 1.25rem 0 0.75rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid var(--color-border, #e5e7eb);
}

.extension-form__sig-wrapper {
    position: relative;
    border: 1px solid var(--color-border, #e5e7eb);
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

.extension-form__canvas {
    display: block;
    width: 100%;
    height: 200px;
    cursor: crosshair;
}

.extension-form__clear-btn {
    position: absolute;
    top: 0.4rem;
    right: 0.4rem;
    padding: 0.25rem 0.6rem;
    font-size: 0.75rem;
    border: 1px solid var(--color-border, #e5e7eb);
    border-radius: 4px;
    background: #fff;
    color: var(--color-text, #374151);
    cursor: pointer;
}

.extension-form__clear-btn:hover {
    background: #f3f4f6;
}

.extension__record {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-border, #e5e7eb);
}

.extension__record:last-child {
    border-bottom: none;
}

.extension__record-minutes {
    font-weight: 600;
    color: var(--color-primary, #2563eb);
    font-size: 0.95rem;
}

.extension__record-info {
    font-size: 0.85rem;
    color: var(--color-text-light, #6b7280);
}

/* ── Close job form ── */

.close-job-form {
    margin-top: 1rem;
    padding: 1rem 0;
}

.close-job-form--hidden {
    display: none;
}

/* ── Translation review ── */

.review__submission {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border, #e5e7eb);
}

.review__submission:last-child {
    border-bottom: none;
}

.review__version-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.review__version-badge {
    display: inline-block;
    padding: 0.15rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    background-color: #e3f2fd;
    color: #1565c0;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.review__file-link {
    display: inline-block;
    color: var(--color-primary);
    font-weight: 500;
    font-size: 0.9rem;
    margin-right: 0.75rem;
}

.review__file-link:hover {
    text-decoration: underline;
}

.review__comment {
    background: #fff3e0;
    color: #e65100;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    margin-top: 0.35rem;
}

/* ── Detail input (used in close/extend forms) ── */

.detail__input {
    padding: 0.5rem;
    font-size: 0.9rem;
    border: 1px solid #d4d0d0;
    border-radius: 6px;
    outline: none;
    font-family: inherit;
    color: var(--color-text);
    background: var(--color-background);
    width: 100%;
    transition: border-color 0.2s;
}

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

/* ── Job Tracking ── */

.tracking__actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.tracking__inline-form {
    display: inline;
}

.tracking__section {
    margin: 1rem 0;
}

.tracking__btn {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
}

.tracking__timer-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.tracking__timer {
    font-size: 1.5rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--color-primary);
    background: var(--color-primary-light, #e8f5e9);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    letter-spacing: 0.05em;
}

.tracking__completed {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.25rem 0.75rem;
    font-size: 0.9rem;
}

.tracking__label {
    font-weight: 600;
    color: var(--color-text-light, #666);
}

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

/* ── Home page hero variant ── */

.page-hero--home {
    padding: 5rem 1.5rem 4.5rem;
}

.page-hero--home .hero__cta {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.85rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-background);
    background-color: var(--color-accent);
    border-radius: 6px;
    transition: opacity 0.2s;
}

.page-hero--home .hero__cta:hover {
    opacity: 0.85;
}

/* ── Help page ── */

.help {
    padding: 3rem 1.5rem 4rem;
    max-width: 1100px;
    margin: 0 auto;
}

.help__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.help__card {
    background: #fff;
    border: 1px solid #f0eded;
    border-radius: 12px;
    padding: 1.75rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.help__card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.help__card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.help__card-text {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #5a5757;
}

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