:root {
    --ink: #17202a;
    --muted: #657181;
    --line: #d9e1ea;
    --soft: #f4f7f9;
    --brand: #0f766e;
    --brand-dark: #115e59;
    --accent: #f59e0b;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

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

.skip-link {
    position: absolute;
    top: -50px;
    left: 12px;
    z-index: 1000;
    padding: 10px 16px;
    border-radius: 6px;
    background: var(--brand);
    color: var(--white);
    font-weight: 700;
    transition: top .15s ease;
}

.skip-link:focus {
    top: 12px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

html {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100%;
}

img,
svg,
video {
    max-width: 100%;
    height: auto;
}

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

.header-right {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: nowrap;
}

.login-open-btn {
    display: inline-flex;
    align-items: center;
    width: auto;
    padding: 9px 16px;
    border: none;
    border-radius: 999px;
    background: var(--brand);
    color: var(--white);
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
    cursor: pointer;
}

.login-open-btn:hover {
    background: var(--brand-dark);
}

.register-open-btn {
    display: inline-flex;
    align-items: center;
    width: auto;
    padding: 9px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    color: var(--ink);
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
    cursor: pointer;
}

.register-open-btn:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.login-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, .5);
    align-items: flex-start;
    justify-content: center;
    padding: 6vh 16px;
    z-index: 100;
    overflow-y: auto;
}

.login-modal-overlay.is-open {
    display: flex;
}

.login-modal {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: var(--white);
    border-radius: 16px;
    padding: 32px 28px 24px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .25);
}

.login-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: var(--bg);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    color: var(--ink);
}

.login-modal-close:hover {
    background: var(--line);
}

.login-modal h2 {
    text-align: center;
    margin: 0 0 18px;
}

.auth-view-register {
    display: none;
}

.login-modal.mode-register .auth-view-login {
    display: none;
}

.login-modal.mode-register .auth-view-register {
    display: block;
}

.login-modal-switch {
    text-align: center;
    font-size: 14px;
    color: var(--muted);
    margin: 16px 0 0;
}

.auth-switch-btn {
    display: inline;
    width: auto;
    border: none;
    background: none;
    color: var(--brand);
    font-weight: 700;
    cursor: pointer;
    padding: 0 0 0 4px;
    font-size: 14px;
}

.auth-switch-btn:hover {
    text-decoration: underline;
}

.login-option-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    color: var(--ink) !important;
    font-weight: 700;
    margin-bottom: 12px;
}

.login-option-btn:hover {
    border-color: var(--brand);
}

.login-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin: 18px 0;
}

.login-divider::before,
.login-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line);
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.login-form input {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 15px;
    background: var(--bg);
}

.login-form input:focus {
    background: var(--white);
    border-color: var(--brand);
}

.login-form button {
    margin-top: 6px;
    padding: 13px 16px;
    border: none;
    border-radius: 999px;
    background: var(--brand);
    color: var(--white);
    font-weight: 700;
    cursor: pointer;
}

.login-form button:hover {
    background: var(--brand-dark);
}

.login-modal-footnote {
    margin: 18px 0 0;
    font-size: 12px;
    color: var(--muted);
    text-align: center;
    line-height: 1.5;
}

.user-menu {
    position: relative;
}

.user-menu-button {
    display: flex;
    align-items: center;
    gap: 8px;
    width: auto;
    padding: 6px 10px 6px 6px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
    color: var(--ink);
    font-weight: 700;
}

.user-menu-button:hover {
    border-color: var(--line);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.user-avatar-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand);
    color: var(--white);
    font-size: 13px;
}

.user-menu-name {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-menu-chevron {
    color: var(--muted);
    transition: transform .15s ease;
    flex-shrink: 0;
}

.user-menu.is-open .user-menu-chevron {
    transform: rotate(180deg);
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 250px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .14);
    padding: 8px;
    display: none;
    flex-direction: column;
    z-index: 40;
}

.user-menu.is-open .user-dropdown {
    display: flex;
}

.user-dropdown-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px 14px;
}

.user-dropdown-header div {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.user-dropdown-header strong {
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-dropdown-header small {
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-avatar-lg {
    width: 42px;
    height: 42px;
    font-size: 15px;
}

.user-dropdown-divider {
    height: 1px;
    background: var(--line);
    margin: 6px 4px;
}

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--ink);
    font-weight: 600;
    font-size: 14px;
}

.user-dropdown a svg {
    flex-shrink: 0;
    color: var(--muted);
}

.user-dropdown a:hover {
    background: var(--bg);
}

.user-dropdown-logout {
    color: #b3261e !important;
}

.user-dropdown-logout svg {
    color: #b3261e;
}

.profile-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    margin-bottom: 20px;
}

.profile-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.profile-avatar-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand);
    color: var(--white);
    font-size: 26px;
    font-weight: 700;
}

.checkbox-field {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.checkbox-field input {
    width: auto;
}

.site-header,
.site-footer {
    max-width: 1180px;
    margin: 0 auto;
    padding: 20px;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: nowrap;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    color: var(--white);
    background: var(--brand);
    font-weight: 800;
}

.brand small,
.section-heading span,
.eyebrow,
.page-hero span,
.detail-hero span,
.firm-card span,
.firm-row span,
.cta-band span {
    display: block;
    color: var(--muted);
    font-size: 13px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--muted);
    font-weight: 700;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.nav-cta,
.main-nav a:hover {
    color: var(--brand);
}

.main-nav a[aria-current="page"] {
    color: var(--brand-dark);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    cursor: pointer;
    position: relative;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    height: 2px;
    background: var(--ink);
}

.nav-toggle-bar {
    top: 21px;
}

.nav-toggle-bar::before {
    top: -7px;
}

.nav-toggle-bar::after {
    top: 7px;
}

.hero,
.page-hero,
.detail-hero,
.cta-band {
    max-width: 1180px;
    margin: 0 auto;
    padding: 64px 20px;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 32px;
    align-items: stretch;
}

.hero-content {
    padding: 44px;
    border-radius: 8px;
    background: linear-gradient(135deg, #e8f5f3 0%, #fff7ed 100%);
}

.hero h1,
.page-hero h1,
.detail-hero h1 {
    margin: 10px 0 16px;
    max-width: 760px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.05;
}

.hero p,
.page-hero p,
.detail-hero p {
    max-width: 720px;
    color: var(--muted);
    font-size: 18px;
}

.search-box {
    display: grid;
    grid-template-columns: 1fr 180px auto;
    gap: 10px;
    margin-top: 28px;
}

input,
select,
textarea,
button {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 13px 14px;
    font: inherit;
}

button,
.search-box button,
.cta-band a,
.firm-card a,
.firm-row a,
.detail-actions a,
.form-card button {
    border: 0;
    color: var(--white);
    background: var(--brand);
    font-weight: 800;
    cursor: pointer;
    text-align: center;
}

.hero-panel,
.filter-box,
.ad-placeholder,
.form-card,
.notice {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.hero-panel {
    display: grid;
    align-content: center;
    gap: 14px;
    padding: 28px;
    box-shadow: 0 18px 50px rgba(15, 118, 110, .12);
}

.hero-panel strong {
    font-size: 24px;
}

.hero-panel span {
    padding: 12px;
    border-radius: 8px;
    background: var(--soft);
}

.section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 46px 20px;
}

.muted {
    max-width: none;
    padding-left: max(20px, calc((100vw - 1180px) / 2 + 20px));
    padding-right: max(20px, calc((100vw - 1180px) / 2 + 20px));
    background: var(--soft);
}

.section-heading {
    margin-bottom: 22px;
}

.section-heading h2 {
    margin: 4px 0 0;
    font-size: 30px;
}

.category-grid,
.firm-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.category-card,
.firm-card,
.firm-row {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.category-card {
    display: grid;
    gap: 6px;
    padding: 22px;
}

.category-icon {
    color: var(--brand);
    font-weight: 800;
}

.firm-card {
    padding: 24px;
}

.firm-topline {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.firm-topline b {
    color: var(--accent);
}

.firm-card h3,
.firm-row h2 {
    margin: 10px 0 8px;
}

.firm-card p,
.firm-row p {
    color: var(--muted);
}

.firm-meta {
    margin: 16px 0;
    color: var(--muted);
    font-weight: 700;
}

.firm-card a,
.firm-row a,
.detail-actions a,
.cta-band a,
.inline-button {
    display: inline-block;
    width: auto;
    padding: 11px 15px;
    border-radius: 8px;
}

.inline-button {
    color: var(--white);
    background: var(--brand);
    font-weight: 800;
}

.cta-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 34px;
    background: var(--ink);
    color: var(--white);
}

.cta-band h2 {
    margin: 6px 0 0;
}

.compact {
    padding-top: 42px;
    padding-bottom: 30px;
}

.listing-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 20px;
}

.filter-box,
.form-card {
    padding: 22px;
}

.filter-box {
    display: grid;
    align-content: start;
    gap: 16px;
}

label {
    display: grid;
    gap: 7px;
    color: var(--muted);
    font-weight: 700;
}

.firm-list {
    display: grid;
    gap: 14px;
}

.firm-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 22px;
}

.detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 24px;
}

.detail-hero aside {
    display: grid;
    gap: 12px;
    align-content: center;
    padding: 24px;
    border-radius: 8px;
    background: var(--soft);
}

.detail-hero aside strong {
    font-size: 32px;
    color: var(--accent);
}

.detail-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.detail-actions a + a {
    color: var(--brand);
    background: #dff3f0;
}

.detail-actions .ghost-link {
    border: 1px solid var(--line);
    color: var(--ink);
    background: var(--white);
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 28px;
}

.check-list {
    padding-left: 20px;
}

.content-page {
    max-width: 820px;
}

.content-page h2 {
    margin-top: 26px;
}

.content-page p {
    color: var(--muted);
}

.ad-placeholder {
    min-height: 240px;
    padding: 24px;
    background: repeating-linear-gradient(45deg, #f8fafc, #f8fafc 12px, #eef2f7 12px, #eef2f7 24px);
}

.notice {
    margin-bottom: 18px;
    padding: 16px;
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: #166534;
}

.notice.warning {
    border-color: #fed7aa;
    background: #fff7ed;
    color: #9a3412;
}

.spaced {
    margin-top: 34px;
}

.row-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.row-actions form {
    margin: 0;
}

.row-actions button,
.ghost-button {
    width: auto;
    padding: 10px 13px;
}

.ghost-button {
    border: 1px solid var(--line);
    color: var(--ink);
    background: var(--white);
}

.form-card {
    display: grid;
    gap: 16px;
    max-width: 760px;
}

.compact-form {
    margin-bottom: 28px;
}

.form-note {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.hp-field {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.breadcrumb {
    max-width: 1180px;
    margin: 0 auto;
    padding: 18px 20px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    color: var(--muted);
}

.breadcrumb a {
    color: var(--muted);
}

.breadcrumb a:hover {
    color: var(--brand);
    text-decoration: underline;
}

.breadcrumb span[aria-current="page"] {
    color: var(--ink);
    font-weight: 700;
}

.filter-box form {
    display: grid;
    gap: 16px;
}

.filter-box button {
    width: auto;
    padding: 11px 15px;
}

.faq-list {
    display: grid;
    gap: 12px;
    max-width: 820px;
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 16px 20px;
    background: var(--white);
}

.faq-item summary {
    cursor: pointer;
    font-weight: 700;
}

.faq-item p {
    margin: 12px 0 2px;
    color: var(--muted);
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    border-top: 1px solid var(--line);
    color: var(--muted);
}

.footer-links {
    display: grid;
    gap: 8px;
    text-align: right;
}

@media (max-width: 1024px) {
    .category-grid,
    .firm-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .site-header {
        flex-wrap: wrap;
    }

    .header-right {
        display: contents;
    }

    .nav-toggle {
        order: 1;
        margin-left: auto;
    }

    .user-menu,
    .login-open-btn {
        order: 2;
    }

    .register-open-btn {
        display: none;
    }

    .login-modal {
        padding: 26px 20px 20px;
    }

    .user-menu-name {
        max-width: 90px;
    }

    .user-dropdown {
        right: 0;
        left: auto;
        min-width: 220px;
    }

    .profile-card {
        flex-direction: column;
        text-align: center;
    }

    .site-footer,
    .cta-band,
    .firm-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .nav-toggle {
        display: block;
        order: 2;
        margin-left: auto;
    }

    .main-nav {
        order: 3;
        flex-basis: 100%;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        margin-top: 0;
        transition: max-height .2s ease;
    }

    .main-nav.is-open {
        max-height: 400px;
        margin-top: 16px;
    }

    .main-nav a {
        width: 100%;
        padding: 10px 4px;
        border-bottom: 1px solid var(--line);
    }

    .hero,
    .detail-hero,
    .detail-grid,
    .listing-layout {
        grid-template-columns: 1fr;
    }

    .hero-content {
        padding: 28px;
    }

    .search-box,
    .category-grid,
    .firm-grid,
    .form-split {
        grid-template-columns: 1fr;
    }

    .site-footer,
    .footer-links {
        text-align: left;
    }
}

@media (max-width: 420px) {
    .user-menu-name {
        display: none;
    }

    .brand small {
        display: none;
    }
}


/* Firma detay sayfasi - firma gorseli */
.detail-hero-image {
    width: 100%;
    min-height: 320px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--soft);
}

.detail-hero-image img {
    display: block;
    width: 100%;
    height: 320px;
    object-fit: cover;
}

/* Mobil */
@media (max-width: 820px) {
    .detail-hero-image {
        min-height: 240px;
    }

    .detail-hero-image img {
        height: 240px;
    }
}

/* Öne çıkan firma kartı görseli */
.firm-card-image {
    position: relative;
    width: calc(100% + 48px);
    height: 200px;
    margin: -24px -24px 18px -24px;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
    background: var(--soft);
}

.firm-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.firm-card-image-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    padding: 16px;
    background: linear-gradient(135deg, #eef2f7 0%, #e2e8f0 100%);
    color: var(--muted);
}

.firm-card-image-placeholder strong {
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
}

.firm-card-image-placeholder span {
    font-size: 12px;
}

.firm-card-image .firm-topline {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    z-index: 2;
}

.firm-card-image .firm-topline span {
    background: rgba(15, 23, 42, .72);
    color: #fff;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.firm-card-image .firm-topline b {
    background: var(--accent);
    color: #1f2937;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

/* Mobil */
@media (max-width: 820px) {
    .firm-card-image {
        height: 170px;
    }
}
/* Gorsel yukleme onizleme */
.upload-preview {
    display: block;
    width: 100%;
    max-width: 160px;
    height: 90px;
    object-fit: cover;
    border-radius: 6px;
    margin: 8px 0;
    border: 1px solid var(--line);
}

/* Ilan durumu etiketi */
.status-pill {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--soft);
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 6px;
}

.status-pill.ok {
    background: #dcfce7;
    color: #166534;
}

.status-pill.warning {
    background: #fee2e2;
    color: #991b1b;
}

/* Sifremi unuttum linki */
.login-forgot-link {
    align-self: flex-end;
    font-size: 13px;
    color: var(--brand);
    font-weight: 600;
    margin-top: -6px;
}

.login-forgot-link:hover {
    text-decoration: underline;
}

/* Onay checkbox satiri (admin formu) */
.check-control {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.check-control input {
    width: auto;
}

.row-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.row-actions form {
    display: inline-flex;
}

/* Firma kaydet butonu */
.save-firm-form {
    display: inline-flex;
}

.save-firm-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: auto;
    padding: 12px 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    color: var(--ink);
    font-weight: 700;
    cursor: pointer;
}

.save-firm-btn:hover {
    border-color: var(--brand);
}

.save-firm-btn.is-saved {
    background: var(--brand);
    border-color: var(--brand);
    color: var(--white);
}

/* Cloudflare Turnstile widget kapsayicisi */
.cf-turnstile {
    margin: 4px 0;
}

/* Sayfalama */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.pagination a {
    padding: 10px 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-weight: 700;
    color: var(--ink);
}

.pagination a:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.pagination-status {
    color: var(--muted);
    font-size: 14px;
}

/* Ilan formu - galeri onizleme */
.gallery-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 10px;
    margin: 10px 0;
}

.gallery-preview-item {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--line);
}

.gallery-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-delete-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    border: none;
    border-radius: 50%;
    background: rgba(15, 23, 42, .75);
    color: #fff;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
}

/* Firma detay - galeri, harita, calisma saatleri */
.firm-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    margin: 16px 0 28px;
}

.firm-gallery-item {
    display: block;
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--line);
}

.firm-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .2s ease;
}

.firm-gallery-item:hover img {
    transform: scale(1.05);
}

.firm-map {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--line);
    margin: 16px 0 28px;
}

.firm-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.working-hours {
    background: var(--bg);
    border-radius: 8px;
    padding: 14px 16px;
    font-weight: 600;
    display: inline-block;
}
