/* ChargeCenter — enerji/EV temalı tasarım sistemi. Renkler CSS degiskenleri uzerinden
   tanimlanir. Site acik (light) temada calisir. */

:root {
    --bg: #e3ece6;
    --bg-top: #eef6f1;
    --surface: #ffffff;
    --surface-alt: #f0f4f2;
    --text: #101c18;
    --text-muted: #57645d;
    --border: #dde5e0;

    --primary: #16a34a;
    --primary-hover: #128a3e;
    --primary-contrast: #ffffff;
    --primary-tint: #dcfce7;

    --accent: #2563eb;
    --accent-tint: #dbeafe;

    --danger: #dc2626;
    --danger-bg: #fee2e2;
    --danger-text: #b91c1c;

    --success-bg: #dcfce7;
    --success-text: #166534;

    --warning-bg: #fef9c3;
    --warning-text: #854d0e;

    --neutral-bg: #e7ece9;
    --neutral-text: #1f2b26;

    --header-bg: linear-gradient(135deg, #14532d 0%, #052e16 100%);
    --header-text: #f1f5f4;
    --header-text-muted: #b7c9c1;

    --radius: 12px;
    --radius-sm: 7px;
    --shadow-sm: 0 1px 2px rgba(16, 28, 24, 0.06), 0 1px 1px rgba(16, 28, 24, 0.04);
    --shadow-md: 0 8px 24px rgba(16, 28, 24, 0.08), 0 2px 6px rgba(16, 28, 24, 0.06);

    color-scheme: light;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    margin: 0;
    padding: 0;
    background:
        radial-gradient(ellipse 90% 60% at 8% -8%, rgba(22, 163, 74, 0.16), transparent 60%),
        radial-gradient(ellipse 70% 50% at 108% 8%, rgba(37, 99, 235, 0.12), transparent 60%),
        linear-gradient(180deg, var(--bg-top) 0%, var(--bg) 420px);
    background-attachment: fixed;
    color: var(--text);
    line-height: 1.55;
}

::selection {
    background: var(--primary);
    color: var(--primary-contrast);
}

h1, h2, h3 {
    color: var(--text);
    line-height: 1.2;
    font-family: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 1.95rem;
    font-weight: 800;
    margin: 0 0 1rem;
}

.auth-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
}

.auth-brand img {
    height: 2.4rem;
    width: auto;
}

h2 {
    font-size: 1.25rem;
    margin: 2rem 0 0.75rem;
}

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

/* Header / navigasyon */

header {
    position: sticky;
    top: 0;
    z-index: 10;
}

header nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 2rem;
    background: var(--header-bg);
    box-shadow: var(--shadow-md), inset 0 -1px 0 rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    flex-wrap: wrap;
}

header nav .nav-main {
    display: flex;
    align-items: center;
    gap: 1rem;
}

header nav a {
    color: var(--header-text);
    text-decoration: none;
    font-weight: 600;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 1.2rem;
    font-weight: 800;
    font-family: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
    letter-spacing: -0.01em;
}

.brand-mark {
    width: 2.3rem;
    height: 2.3rem;
    object-fit: contain;
    flex-shrink: 0;
}

.nav-auth {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.nav-icon {
    width: 1.05rem;
    height: 1.05rem;
    flex-shrink: 0;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    color: var(--header-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    opacity: 0.92;
    transition: background 0.15s ease, opacity 0.15s ease;
    white-space: nowrap;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.12);
    opacity: 1;
    text-decoration: none;
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-left: 0.35rem;
    padding: 0.3rem 0.4rem 0.3rem 0.3rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.nav-user-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--header-text);
    text-decoration: none;
}

.nav-user-link:hover .nav-user-name {
    text-decoration: underline;
}

.avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 999px;
    background: var(--primary);
    color: var(--primary-contrast);
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.nav-user-name {
    font-size: 0.85rem;
    font-weight: 600;
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 999px;
    background: transparent;
    border: none;
    color: var(--header-text);
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.15s ease;
}

.icon-btn:hover {
    background: rgba(255, 255, 255, 0.16);
}

.btn-sm {
    padding: 0.4rem 0.9rem;
    font-size: 0.85rem;
}

.logout-form {
    display: inline;
}

main {
    padding: 2rem;
    max-width: 960px;
    margin: 0 auto;
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

th, td {
    text-align: left;
    padding: 0.7rem 0.9rem;
    border-bottom: 1px solid var(--border);
}

th {
    background: var(--surface-alt);
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 700;
}

tbody tr:last-child td {
    border-bottom: none;
}

tbody tr:hover {
    background: var(--surface-alt);
}

footer {
    text-align: center;
    padding: 1.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Forms */

.form {
    max-width: 640px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
}

.form-wide {
    max-width: 900px;
}

.form-group {
    margin-bottom: 1.25rem;
}

/* Dogrudan cocuk secici (>) bilincli - .choice-card gibi baska bilesenler de birer <label>
   olabilir ve .form-group icinde ic ice bulunabilir; descendant secici (>'siz) bunlara da
   sizip display:flex'lerini ve font stillerini eziyordu (bkz. LocationRequests/Create.cshtml
   .choice-cards - ikonlar solda sikisip yaziya uppercase/kucuk font sizmisti). */
.form-group > label {
    display: block;
    font-weight: 700;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

.form-check label {
    display: inline;
    font-weight: 400;
    font-size: 1rem;
    text-transform: none;
    letter-spacing: normal;
    color: var(--text);
    margin-bottom: 0;
    margin-left: 0.35rem;
}

.form-control {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font: inherit;
    background: var(--surface);
    color: var(--text);
    box-sizing: border-box;
    box-shadow: inset 0 1px 2px rgba(16, 28, 24, 0.03);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-control::placeholder {
    color: #9aa8a1;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-tint);
}

textarea.form-control {
    min-height: 5rem;
    resize: vertical;
}

.form-check {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.form-check .hint {
    flex-basis: 100%;
    margin-left: calc(1.15rem + 0.35rem);
}

input[type="checkbox"],
input[type="radio"] {
    width: 1.15rem;
    height: 1.15rem;
    accent-color: var(--primary);
    cursor: pointer;
    flex-shrink: 0;
}

.role-fieldset {
    border: 1px solid var(--border);
    background: var(--surface-alt);
    border-radius: var(--radius);
    padding: 1.1rem 1.25rem;
    margin: 1.5rem 0;
}

.role-fieldset legend {
    font-weight: 700;
    padding: 0 0.5rem;
    color: var(--primary);
}

.role-fields {
    margin: 0.5rem 0 1rem 1.5rem;
    padding-left: 0.75rem;
    border-left: 2px solid var(--border);
}

.hint {
    color: var(--text-muted);
    font-size: 0.85rem;
    display: block;
    margin-top: 0.3rem;
}

.info-callout {
    background: var(--accent-tint);
    border: 1px solid var(--accent);
    border-radius: var(--radius-sm);
    padding: 0.9rem 1rem;
    margin: 0.75rem 0 1.1rem;
    font-size: 0.88rem;
    color: var(--text);
}

.field-validation-error,
.validation-summary-errors {
    color: var(--danger-text);
    display: block;
    font-size: 0.85rem;
}

.validation-summary-errors:empty {
    display: none;
}

.validation-summary-errors ul {
    margin: 0;
    padding-left: 1.2rem;
}

/* Buttons */

.btn {
    display: inline-block;
    padding: 0.55rem 1.1rem;
    border: none;
    border-radius: var(--radius-sm);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    color: var(--text);
    background: var(--neutral-bg);
    transition: transform 0.05s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
    box-shadow: var(--shadow-sm);
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: var(--primary-contrast);
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.35);
}

.btn-primary:hover {
    box-shadow: 0 6px 18px rgba(22, 163, 74, 0.45);
}

.btn-danger {
    background: var(--danger-bg);
    color: var(--danger-text);
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.inline-form {
    display: inline-block;
    margin: 0 0.25rem 0.25rem 0;
}

/* Badges */

.badge {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    background: var(--neutral-bg);
    color: var(--neutral-text);
    border: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 0.78rem;
    font-weight: 700;
    margin-right: 0.35rem;
}

.badge-approved {
    background: var(--success-bg);
    color: var(--success-text);
}

.badge-pending {
    background: var(--warning-bg);
    color: var(--warning-text);
}

.badge-danger {
    background: var(--danger-bg);
    color: var(--danger-text);
}

.badge-accent {
    background: var(--accent-tint);
    color: var(--accent);
}

/* Kart listeleri (Taleplerim, Tekliflerim, Acik Talepler) */

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

.card-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
}

@media (max-width: 760px) {
    .card-list-grid {
        grid-template-columns: 1fr;
    }
}

.list-card {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    min-width: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.4rem 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.list-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    border-color: #c7d6cd;
}

.list-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    min-width: 0;
}

.list-card-header-main {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
}

.list-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    color: #fff;
}

.list-card-icon svg {
    width: 1.3rem;
    height: 1.3rem;
}

.list-card-icon-primary {
    background: var(--primary);
}

.list-card-icon-accent {
    background: var(--accent);
}

.list-card-icon-warning {
    background: var(--warning-text);
}

.list-card-icon-success {
    background: var(--success-text);
}

.list-card-icon-danger {
    background: var(--danger-text);
}

.list-card-title-group {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.list-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.list-card-title:hover {
    text-decoration: underline;
}

.list-card-subtitle {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* Durum gostergesi - noktali, yumusak zeminli pill (Details/Reviews/Profile'daki genel
   .badge'den farkli - bu bilincli olarak sadece kart bileseninde kullanilir). */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

.status-pill::before {
    content: "";
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: currentColor;
    flex-shrink: 0;
}

.status-pill-success {
    background: var(--success-bg);
    color: var(--success-text);
}

.status-pill-warning {
    background: var(--warning-bg);
    color: var(--warning-text);
}

.status-pill-danger {
    background: var(--danger-bg);
    color: var(--danger-text);
}

.status-pill-neutral {
    background: var(--neutral-bg);
    color: var(--neutral-text);
}

.list-card-desc {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.list-card-divider {
    border: none;
    border-top: 1px dashed var(--border);
    margin: 0;
}

.list-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.list-card-meta strong {
    color: var(--text);
    font-weight: 600;
}

.list-card-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.list-card-meta-item svg {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    color: var(--text-muted);
}

.list-card-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
}

.offer-count-pill {
    margin-right: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
}

.offer-count-pill svg {
    width: 1.05rem;
    height: 1.05rem;
}

.offer-count-pill-active {
    color: var(--primary-hover);
}

.offer-price {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary-hover);
}

.capability-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.chip {
    display: inline-block;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    background: var(--neutral-bg);
    color: var(--neutral-text);
    font-size: 0.78rem;
    font-weight: 600;
}

.chip-primary {
    background: var(--primary-tint);
    color: var(--primary-hover);
}

.chip-accent {
    background: var(--accent-tint);
    color: var(--accent);
}

.chip-warning {
    background: var(--warning-bg);
    color: var(--warning-text);
}

/* Kart secim (radio-as-card) - Motivasyon gibi az sayida, gorsel olarak ayirt edilebilir
   secenekler icin dropdown yerine kullanilir. Native radio gorsel olarak gizlenir, secili
   durum karta :has() ile yansitilir - JS gerekmez, native klavye/erisilebilirlik korunur. */

.choice-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.choice-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    padding: 1.5rem 1.25rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

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

.choice-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.choice-card:has(input:checked) {
    border-color: var(--primary);
    background: var(--primary-tint);
    box-shadow: var(--shadow-sm);
}

.choice-card:has(input:focus-visible) {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.choice-card:has(input:checked)::after {
    content: "\2713";
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    width: 1.3rem;
    height: 1.3rem;
    border-radius: 999px;
    background: var(--primary);
    color: var(--primary-contrast);
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.choice-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    flex-shrink: 0;
    color: var(--primary);
}

.choice-card-icon svg {
    width: 100%;
    height: 100%;
}

.choice-card-title {
    font-weight: 700;
    color: var(--text);
}

.choice-card-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Cok adimli (wizard) form ilerleme cubugu - Talep Olustur */

.wizard-progress {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0 0 1.75rem;
    padding: 0;
    gap: 0.4rem;
}

.wizard-progress li {
    flex: 1 1 110px;
    text-align: center;
    padding-bottom: 0.7rem;
    border-bottom: 3px solid var(--border);
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: default;
    transition: border-color 0.15s ease, color 0.15s ease;
}

.wizard-progress li.is-reachable {
    cursor: pointer;
}

.wizard-progress li.is-done {
    border-color: var(--primary);
    color: var(--text);
}

.wizard-progress li.is-active {
    border-color: var(--primary);
    color: var(--primary);
}

.wizard-step {
    margin-bottom: 1.5rem;
}

.wizard-nav {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.wizard-nav:has(> :only-child) {
    justify-content: flex-end;
}

/* Firma dizini (Profile/Directory) */

.company-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
    margin: 1rem 0 2.5rem;
}

.company-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.6rem;
    padding: 1.5rem 1.25rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.company-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
    text-decoration: none;
}

.company-card-logo {
    width: 4rem;
    height: 4rem;
    border-radius: 999px;
    object-fit: contain;
    background: var(--surface-alt);
    border: 1px solid var(--border);
    padding: 0.4rem;
    flex-shrink: 0;
}

.company-card-logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
}

.company-card-body h3 {
    margin: 0;
    font-size: 1.02rem;
    color: var(--text);
}

.company-card-rating {
    font-size: 0.85rem;
    color: var(--warning-text);
    font-weight: 700;
}

.company-card-rating-count {
    color: var(--text-muted);
    font-weight: 400;
}

.company-card-desc {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Teklif - onerilen unite/soket dagilimi satirlari (bkz. OfferUnitConfiguration) */

.unit-config-row {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0.75rem;
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 0.75rem;
}

.unit-config-row-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    flex: 1 1 auto;
}

.unit-config-row-fields .form-group {
    flex: 1 1 140px;
    min-width: 110px;
    margin-bottom: 0;
}

.unit-config-row-fields .form-group:has(input[data-field="SocketCount"]),
.unit-config-row-fields .form-group:has(input[data-field="Quantity"]) {
    flex: 0 1 90px;
    min-width: 80px;
}

.unit-config-row > .btn {
    align-self: center;
    white-space: nowrap;
}

/* Teklif detay sayfasi (Offers/Details) */

.back-link {
    display: inline-block;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
}

.back-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

.offer-detail-card {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    margin: 1rem 0;
    box-shadow: var(--shadow-sm);
}

.offer-detail-row {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.offer-detail-row-block {
    flex-direction: column;
    gap: 0.35rem;
}

.offer-detail-row-block .offer-detail-label {
    flex: 0 0 auto;
}

.offer-detail-label {
    flex: 0 0 160px;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
}

.offer-detail-value {
    color: var(--text);
    margin: 0;
}

.offer-detail-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}

.unit-summary-table-wrap {
    overflow-x: auto;
    margin-bottom: 1rem;
}

.offer-detail-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    margin: 1.5rem 0;
}

/* Harita */

#map {
    height: 400px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 0.5rem;
    overflow: hidden;
}

#map.map-lg {
    height: 650px;
}

/* Vitrin profili */

.profile-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.profile-logo {
    width: 96px;
    height: 96px;
    object-fit: contain;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    padding: 0.4rem;
}

.showcase-block {
    border: 1px solid var(--border);
    background: var(--surface-alt);
    border-radius: var(--radius);
    padding: 1.25rem;
    margin: 1rem 0;
    box-shadow: var(--shadow-sm);
}

/* Vitrin profili: kapak gorseli, foto galerisi, urun katalogu */

.profile-banner {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius);
    margin-bottom: 1rem;
}

.profile-banner-preview {
    max-width: 100%;
    max-height: 220px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    display: block;
    margin-bottom: 0.5rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
    margin: 1rem 0;
}

.gallery-grid-item img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.gallery-grid-item form {
    margin-top: 0.35rem;
    text-align: center;
}

.product-catalog {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.75rem;
    margin: 0.75rem 0;
}

.product-catalog-item {
    border: 1px solid var(--border);
    background: var(--surface);
    border-radius: var(--radius);
    padding: 0.85rem;
}

.product-catalog-item h3 {
    margin: 0 0 0.4rem;
    font-size: 1rem;
}

.product-catalog-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin: 0.35rem 0;
}

.detail-list {
    padding-left: 1.2rem;
}

.detail-list li {
    margin-bottom: 0.35rem;
}

/* Review listesi */

.review-list {
    list-style: none;
    padding: 0;
}

.review-list li {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--border);
}

.review-list li:last-child {
    border-bottom: none;
}

/* Ana sayfa: hero, adimlar, ozellik kartlari, CTA */

.hero {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(100deg, rgba(4, 36, 18, 0.94) 0%, rgba(4, 36, 18, 0.82) 38%, rgba(4, 36, 18, 0.35) 72%, rgba(4, 36, 18, 0.08) 100%),
        url("/images/marketing/cc-hero-sm.jpg") center/cover no-repeat;
    color: var(--header-text);
    border-radius: var(--radius);
    padding: 3.5rem 3rem;
    margin: -0.5rem 0 1rem;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.hero-inner {
    max-width: 600px;
}

@media (max-width: 820px) {
    .hero {
        min-height: 0;
        padding: 2.5rem 1.75rem;
        text-align: center;
        background:
            linear-gradient(180deg, rgba(4, 36, 18, 0.72) 0%, rgba(4, 36, 18, 0.88) 65%, rgba(4, 36, 18, 0.94) 100%),
            url("/images/marketing/cc-hero-sm.jpg") center/cover no-repeat;
    }

    .hero-inner {
        max-width: none;
    }

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

.eyebrow {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--header-text);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 1rem;
}

.hero h1 {
    color: #fff;
    font-size: clamp(1.75rem, 1.35rem + 1.6vw, 2.35rem);
    line-height: 1.2;
    margin: 0 0 1rem;
}

.hero-lead {
    color: var(--header-text-muted);
    font-size: 1.02rem;
    margin: 0 0 1.75rem;
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.hero-trust {
    margin: 1.1rem 0 0;
    font-size: 0.82rem;
    color: var(--header-text-muted);
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.18);
}

.section {
    padding: 2.5rem 0;
}

.section-alt {
    background: var(--surface-alt);
    border-radius: var(--radius);
    padding: 2.5rem;
}

.section-title {
    margin: 0 0 0.4rem;
    font-size: 1.5rem;
}

.section-lead {
    color: var(--text-muted);
    margin: 0 0 2rem;
}

.steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.step:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* Kart gorseli - kucuk, tam ortalanmis bir daire rozet olarak gosterilir. Kaynak gorsel zaten
   daireyi kenardan kenara dolduracak sekilde kirpildigi icin (bkz. box-*.png), object-fit:cover +
   border-radius:50% herhangi bir bosluk/kayma olmadan kusursuz bir daire uretir. */
.card-image-wrap {
    position: relative;
    display: inline-flex;
    width: 7rem;
    height: 7rem;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 0.85rem;
}

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

.step-number {
    position: absolute;
    top: -0.2rem;
    right: -0.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: var(--surface);
    color: var(--primary);
    font-weight: 800;
    font-size: 0.88rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.step h3 {
    margin: 0 0 0.4rem;
    font-size: 1.05rem;
}

.step p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
    gap: 1.25rem;
}

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.feature-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.feature-card h3 {
    margin: 0 0 0.4rem;
    font-size: 1.05rem;
}

.feature-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.cta-band {
    text-align: center;
    background: var(--header-bg);
    color: #fff;
    border-radius: var(--radius);
    padding: 3rem 2rem;
    margin: 2.5rem 0 1rem;
    box-shadow: var(--shadow-md);
}

.cta-band h2 {
    color: #fff;
    margin: 0 0 0.5rem;
}

.cta-band p {
    color: var(--header-text-muted);
    margin: 0 0 1.5rem;
}

/* Lokasyon sahibi fayda bandi */

.owner-banner {
    display: flex;
    align-items: stretch;
    gap: 2.25rem;
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow 0.15s ease;
}

.owner-banner:hover {
    box-shadow: var(--shadow-md);
}

.owner-banner-visual {
    flex: 0 0 300px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    line-height: 0;
}

.owner-banner-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.owner-banner-body {
    flex: 1 1 320px;
    padding: 0.5rem 0.5rem 0.5rem 0;
}

.owner-banner-body .section-lead {
    margin-bottom: 1.5rem;
}

.benefit-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.benefit-list svg {
    width: 1.4rem;
    height: 1.4rem;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.benefit-list span {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.benefit-list strong {
    color: var(--text);
}

@media (max-width: 720px) {
    .owner-banner {
        flex-direction: column;
    }

    .owner-banner-visual {
        flex-basis: auto;
        height: 180px;
    }
}

/* Bos durum (empty state) illustrasyonlari */

.empty-state {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.empty-state img {
    width: 220px;
    max-width: 60%;
    height: auto;
    margin: 0 auto 1.25rem;
}

.empty-state p {
    color: var(--text-muted);
    margin: 0 0 1.25rem;
}

.empty-state-sm {
    padding: 1.5rem 1rem;
}

.empty-state-sm img {
    width: 140px;
    margin-bottom: 0.75rem;
}

.empty-state-sm p {
    margin: 0;
}

/* Mesajlasma (bkz. Views/Messages/Index.cshtml) */

.message-thread {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1rem 0 1.5rem;
}

.message-row {
    display: flex;
}

.message-row-self {
    justify-content: flex-end;
}

.message-bubble {
    max-width: 70%;
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.6rem 0.9rem;
}

.message-row-self .message-bubble {
    background: var(--primary-tint);
    border-color: var(--primary-tint);
}

.message-sender {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.15rem;
}

.message-text {
    margin: 0;
    color: var(--text);
}

.message-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.message-composer {
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
}

/* Bildirim zili (bkz. Views/Shared/_NotificationBell.cshtml) */

.notification-bell {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.notification-badge {
    position: absolute;
    top: -0.35rem;
    right: -0.5rem;
    background: var(--danger);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1;
    padding: 0.2rem 0.4rem;
    border-radius: 999px;
    min-width: 1rem;
    text-align: center;
}

.notification-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 1rem 0;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.85rem 1.1rem;
    text-decoration: none;
    color: var(--text);
}

.notification-item:hover {
    box-shadow: var(--shadow-sm);
}

.notification-item-unread {
    border-left: 3px solid var(--accent);
}

.notification-item-text {
    margin: 0;
}

.notification-item-time {
    font-size: 0.8rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.paywall-banner {
    background: var(--warning-bg);
    color: var(--warning-text);
    text-align: center;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}
