/**
 * Hesabım (bireysel) — renkler fh-themes.css içindeki --fh-account-* token’larından gelir.
 */
.fh-account-page {
        display: flex;
        flex-direction: column;
        gap: 22px;
    }

    .fh-account-page .fh-alert {
        padding: 14px 16px;
        border-radius: 14px;
        font-size: 14px;
        border: 1px solid var(--fh-account-card-border);
        background: var(--fh-account-card-bg);
    }

    .fh-alert.success {
        color: #3f6f4f;
        background: #eef6f0;
    }

    .fh-alert.error {
        color: #7f2a2a;
        background: #f8ecec;
    }

    .fh-alert.warning {
        color: #7a4a0a;
        background: rgba(245, 158, 11, 0.12);
        border-color: rgba(245, 158, 11, 0.45);
    }

    /* HERO */
   .fh-account-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 26px 28px;
    border-radius: 22px;
    background: var(--fh-account-hero-bg);
    border: 1px solid var(--fh-account-hero-border);
    box-shadow: 0 10px 28px rgba(43, 43, 43, 0.05);
}

html.fh-theme-dark .fh-account-hero {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.fh-account-hero-main {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
    flex: 1;
}

.fh-account-avatar {
    position: relative;
    width: 74px;
    height: 74px;
    min-width: 74px;
    min-height: 74px;
    max-width: 74px;
    max-height: 74px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: var(--fh-account-avatar-gradient);
    color: #fff;
    font-weight: 800;
    font-size: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    flex-shrink: 0;
    box-shadow: 0 10px 22px rgba(107, 79, 58, 0.18);
    overflow: hidden;
}

.fh-account-avatar img {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.fh-account-hero-info {
    min-width: 0;
}

.fh-account-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--fh-account-badge-bg);
    color: var(--fh-account-badge-text);
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 8px;
}

.fh-account-hero-info h1 {
    font-size: 31px;
    line-height: 1.1;
    margin: 0 0 8px;
    color: var(--fh-account-heading);
    font-weight: 700;
}

.fh-account-hero-info p {
    margin: 0;
    color: var(--fh-account-muted);
    font-size: 15px;
}

.fh-account-hero-stats {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.fh-account-hero-stat {
    min-width: 160px;
    padding: 14px 16px;
    border-radius: 16px;
    background: var(--fh-account-stat-bg);
    border: 1px solid var(--fh-account-stat-border);
}

.fh-account-hero-stat-label {
    display: block;
    font-size: 12px;
    color: var(--fh-account-muted);
    margin-bottom: 6px;
}

.fh-account-hero-stat strong {
    font-size: 15px;
    color: var(--fh-account-heading);
    font-weight: 700;
}
    /* GRID */
    .fh-account-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .fh-account-card {
        background: var(--fh-account-card-bg);
        border: 1px solid var(--fh-account-card-border);
        border-radius: 16px;
        padding: 20px;
        box-shadow: 0 4px 14px rgba(0,0,0,0.03);
    }

html.fh-theme-dark .fh-account-card {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

    .fh-account-card.full-width {
        grid-column: 1 / -1;
    }

    .fh-account-card-head {
        margin-bottom: 16px;
    }

    .fh-account-card-head h2 {
        margin: 0;
        font-size: 16px;
        color: var(--fh-account-heading);
    }

    .fh-account-card-head p {
        margin: 4px 0 0;
        font-size: 13px;
        color: var(--fh-account-muted);
    }

    /* FORM */
    .fh-form-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .fh-form-group {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .fh-form-group.full {
        grid-column: 1 / -1;
    }

    .fh-account-page .fh-form-group label {
        font-size: 12px;
        font-weight: 600;
        color: var(--fh-account-label);
    }

    .fh-account-page .fh-form-group input,
    .fh-account-page .fh-form-group select,
    .fh-account-page .fh-form-group textarea {
        padding: 11px 12px;
        border-radius: 10px;
        border: 1px solid var(--fh-account-input-border);
        background-color: var(--fh-account-input-bg);
        font-size: 14px;
        color: var(--fh-account-input-text);
        outline: none;
        transition: 0.2s;
    }

    .fh-account-page .fh-form-group select {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        background-image: var(--fh-select-chevron);
        background-repeat: no-repeat;
        background-position: right 12px center;
        background-size: 16px 16px;
        padding-right: 36px;
        cursor: pointer;
    }

    .fh-account-page .fh-form-group select::-ms-expand {
        display: none;
    }

    .fh-account-page .fh-form-group input:focus,
    .fh-account-page .fh-form-group select:focus,
    .fh-account-page .fh-form-group textarea:focus {
        border-color: var(--fh-gold);
        background-color: var(--fh-account-card-bg);
        box-shadow: 0 0 0 2px rgba(212, 175, 53, 0.12);
    }

    textarea {
        min-height: 100px;
    }

    /* BUTTON */
    .fh-account-submit-wrap {
        margin-top: 10px;
        display: flex;
        justify-content: flex-end;
    }

.fh-account-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 14px 22px;
    border-radius: 14px;

    border: 1px solid var(--fh-settings-btn-border);
    background: var(--fh-settings-btn-bg);

    color: var(--fh-settings-btn-text);
    font-weight: 700;
    font-size: 14px;

    cursor: pointer;
    transition: all 0.2s ease;

    box-shadow: 
        0 6px 16px rgba(107, 79, 58, 0.18),
        inset 0 1px 0 rgba(255,255,255,0.15);
}

/* hover */
.fh-account-action-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
    box-shadow: 
        0 10px 22px rgba(107, 79, 58, 0.25),
        inset 0 1px 0 rgba(255,255,255,0.18);
}

/* click */
.fh-account-action-btn:active {
    transform: translateY(0);
    box-shadow: 
        0 4px 10px rgba(107, 79, 58, 0.18),
        inset 0 2px 4px rgba(0,0,0,0.15);
}

/* ikon */
.fh-account-action-btn .material-symbols-outlined {
    font-size: 18px;
    opacity: 0.9;
}

    /* RESPONSIVE */
    @media (max-width: 900px) {
        .fh-account-hero {
            flex-direction: column;
            align-items: stretch;
            padding: 20px 18px;
        }

        .fh-account-hero-stats {
            justify-content: stretch;
            width: 100%;
        }

        .fh-account-hero-stat {
            flex: 1;
            min-width: 0;
        }

        .fh-account-hero-info h1 {
            font-size: 24px;
        }

        .fh-account-grid,
        .fh-form-grid {
            grid-template-columns: 1fr;
        }

        .fh-account-submit-wrap {
            justify-content: stretch;
        }

        .fh-account-submit-wrap button {
            width: 100%;
        }

        .fh-my-offers-grid {
            grid-template-columns: 1fr;
        }
    }

    /* Fırsatlarım */
    .fh-account-my-offers-above-save {
        margin-top: 8px;
        margin-bottom: 4px;
    }

    .fh-account-card--my-offers {
        margin-bottom: 0;
        margin-top: 0;
    }

    .fh-my-offers-head .material-symbols-outlined {
        font-size: 26px;
        color: #6B4F3A;
        opacity: 0.85;
    }

    .fh-my-offers-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 16px;
        max-height: min(70vh, 920px);
        overflow-y: auto;
        padding: 2px;
        margin: 0 -2px;
    }

    .fh-my-offer-card {
        display: flex;
        flex-direction: column;
        border-radius: 14px;
        border: 1px solid var(--fh-account-stat-border);
        background: var(--fh-account-my-offer-card);
        overflow: hidden;
        min-height: 100%;
    }

    .fh-my-offer-card-media {
        position: relative;
        aspect-ratio: 16 / 10;
        background: var(--fh-account-my-offer-media);
    }

    .fh-my-offer-card-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .fh-my-offer-badge {
        position: absolute;
        top: 10px;
        left: 10px;
        padding: 5px 10px;
        border-radius: 999px;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.02em;
        border: 1px solid rgba(43, 43, 43, 0.08);
        background: rgba(255, 255, 255, 0.92);
        color: #3B2F28;
    }

    .fh-my-offer-badge--active {
        background: rgba(234, 250, 241, 0.95);
        color: #1f5d3a;
        border-color: rgba(31, 93, 58, 0.2);
    }

    .fh-my-offer-badge--expired {
        background: rgba(248, 236, 236, 0.95);
        color: #7f2a2a;
        border-color: rgba(127, 42, 42, 0.2);
    }

    .fh-my-offer-badge--pending {
        background: rgba(255, 248, 225, 0.96);
        color: #8a5a00;
        border-color: rgba(138, 90, 0, 0.25);
    }

    .fh-my-offer-badge--inactive {
        background: rgba(241, 241, 241, 0.96);
        color: #5c534c;
        border-color: rgba(0, 0, 0, 0.08);
    }

    .fh-my-offer-badge--expiring {
        background: rgba(255, 243, 214, 0.96);
        color: #8a5a00;
        border-color: rgba(212, 175, 53, 0.45);
    }

    .fh-my-offer-renew-form {
        display: inline-flex;
        margin: 0;
    }

    .fh-my-offer-action--renew {
        background: rgba(212, 175, 53, 0.18);
        border-color: rgba(212, 175, 53, 0.55);
        color: #5a4630;
    }

    .fh-my-offer-action--renew:hover {
        background: rgba(212, 175, 53, 0.28);
        border-color: #b8922e;
        color: #3B2F28;
    }

    .fh-my-offer-card-body {
        padding: 14px 16px 16px;
        display: flex;
        flex-direction: column;
        gap: 10px;
        flex: 1;
    }

    .fh-my-offer-card-title {
        margin: 0;
        font-size: 15px;
        font-weight: 700;
        color: #2B2B2B;
        line-height: 1.3;
    }

    .fh-my-offer-card-desc {
        margin: 0;
        font-size: 13px;
        line-height: 1.45;
        color: #6b6158;
        flex: 1;
    }

    .fh-my-offer-meta {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px 12px;
        margin: 0;
    }

    .fh-my-offer-meta dt {
        margin: 0;
        font-size: 10px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        color: #8A7B6E;
    }

    .fh-my-offer-meta dd {
        margin: 2px 0 0;
        font-size: 13px;
        font-weight: 600;
        color: #3B2F28;
    }

    .fh-my-offer-stats {
        display: flex;
        gap: 14px;
        font-size: 12px;
        color: #7A6E63;
    }

    .fh-my-offer-stats > span {
        display: inline-flex;
        align-items: center;
        gap: 4px;
    }

    .fh-my-offer-stats .material-symbols-outlined {
        font-size: 16px;
        opacity: 0.85;
    }

    .fh-my-offer-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 4px;
        padding-top: 12px;
        border-top: 1px solid #E6D8CB;
    }

    .fh-my-offer-action {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        padding: 8px 10px;
        border-radius: 10px;
        font-size: 12px;
        font-weight: 600;
        font-family: inherit;
        text-decoration: none;
        border: 1px solid transparent;
        cursor: pointer;
        transition: background 0.15s, border-color 0.15s, color 0.15s;
    }

    button.fh-my-offer-action {
        appearance: none;
        background: #fff;
    }

    .fh-my-offer-action .material-symbols-outlined {
        font-size: 16px;
    }

    .fh-my-offer-action--ghost {
        background: #fff;
        border-color: #DDD2C7;
        color: #5c4a3d;
    }

    .fh-my-offer-action--ghost:hover {
        border-color: #6B4F3A;
        color: #3B2F28;
    }

    .fh-my-offer-action--primary {
        margin-left: auto;
        background: linear-gradient(135deg, #6B4F3A, #5A4130);
        color: #fff;
        border-color: #5E4634;
    }

    .fh-my-offer-action--primary:hover:not(.is-disabled) {
        filter: brightness(1.05);
    }

    .fh-my-offer-action--primary.is-disabled {
        opacity: 0.45;
        pointer-events: none;
        cursor: not-allowed;
    }

    .fh-my-offers-empty {
        text-align: center;
        padding: 36px 20px 40px;
        border-radius: 14px;
        border: 1px dashed #D4C4B5;
        background: linear-gradient(180deg, rgba(253, 251, 248, 0.9), #F8F3EE);
    }

    .fh-my-offers-empty-icon {
        font-size: 48px;
        color: #A89484;
        display: block;
        margin: 0 auto 12px;
    }

    .fh-my-offers-empty-title {
        margin: 0 0 8px;
        font-size: 17px;
        color: #2B2B2B;
    }

    .fh-my-offers-empty-text {
        margin: 0 auto 18px;
        max-width: 360px;
        font-size: 14px;
        color: #7A6E63;
        line-height: 1.5;
    }

    .fh-my-offers-empty-cta {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 12px 18px;
        border-radius: 12px;
        font-weight: 700;
        font-size: 14px;
        text-decoration: none;
        color: #fff;
        background: linear-gradient(135deg, #6B4F3A, #5A4130);
        border: 1px solid #5E4634;
        box-shadow: 0 6px 16px rgba(107, 79, 58, 0.18);
    }

    .fh-my-offers-empty-cta:hover {
        filter: brightness(1.05);
    }

    .fh-my-offers-empty-cta .material-symbols-outlined {
        font-size: 20px;
    }

    .fh-my-offers-pagination-wrap {
        margin-top: 16px;
    }

    .fh-my-offers-paginator-inner {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .fh-my-offers-paginator-btn {
        display: inline-flex;
        align-items: center;
        padding: 8px 14px;
        border-radius: 10px;
        font-size: 13px;
        font-weight: 600;
        text-decoration: none;
        background: #fff;
        border: 1px solid #DDD2C7;
        color: #5c4a3d;
    }

    .fh-my-offers-paginator-btn:hover:not(.is-disabled) {
        border-color: #6B4F3A;
        color: #3B2F28;
    }

    .fh-my-offers-paginator-btn.is-disabled {
        opacity: 0.45;
        cursor: not-allowed;
    }

    .fh-my-offers-paginator-meta {
        font-size: 13px;
        color: #7A6E63;
        font-weight: 600;
    }

    .fh-my-offer-modal {
        position: fixed;
        inset: 0;
        z-index: 80;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
    }

    .fh-my-offer-modal[hidden] {
        display: none !important;
    }

    .fh-my-offer-modal__backdrop {
        position: absolute;
        inset: 0;
        background: rgba(43, 43, 43, 0.45);
        backdrop-filter: blur(2px);
    }

    .fh-my-offer-modal__dialog {
        position: relative;
        z-index: 1;
        width: min(420px, 100%);
        padding: 22px 22px 18px;
        border-radius: 18px;
        background: #fff;
        border: 1px solid #E6D8CB;
        box-shadow: 0 18px 48px rgba(43, 43, 43, 0.18);
    }

    .fh-my-offer-modal__title {
        margin: 0 0 10px;
        font-size: 17px;
        font-weight: 800;
        color: #2B2B2B;
    }

    .fh-my-offer-modal__text {
        margin: 0 0 18px;
        font-size: 14px;
        line-height: 1.5;
        color: #6b6158;
    }

    .fh-my-offer-modal__actions {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: flex-end;
        margin: 0;
    }

    .fh-my-offer-modal__btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 10px 16px;
        border-radius: 12px;
        font-size: 13px;
        font-weight: 700;
        border: 1px solid transparent;
        cursor: pointer;
        font-family: inherit;
    }

    .fh-my-offer-modal__btn--muted {
        background: #F8F3EE;
        border-color: #DDD2C7;
        color: #5c4a3d;
    }

    .fh-my-offer-modal__btn--danger {
        background: linear-gradient(135deg, #8f3d3d, #722f2f);
        border-color: #5f2727;
        color: #fff;
    }

    .fh-my-offer-modal__btn--danger:hover {
        filter: brightness(1.05);
    }
