.nn-admin-wrap {
    max-width: 1100px
}

.nn-admin-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 20px 0 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid #dcdcde
}

.nn-admin-header__icon {
    width: 44px;
    height: 44px;
    background: #18523f;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center
}

.nn-admin-header__icon .dashicons {
    color: #fff;
    font-size: 24px;
    width: 24px;
    height: 24px
}

.nn-admin-header h1 {
    font-size: 21px;
    margin: 0 0 2px
}

.nn-admin-header p {
    color: #646970;
    margin: 0;
    font-size: 13px
}

.nn-admin-layout {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 20px;
    align-items: start
}

@media (max-width:900px) {
    .nn-admin-layout {
        grid-template-columns: 1fr
    }
}

.nn-card {
    background: #fff;
    border: 1px solid #dcdcde;
    border-radius: 6px;
    padding: 18px;
    margin-bottom: 14px
}

.nn-card:last-child {
    margin-bottom: 0
}

.nn-card-title {
    font-size: 11px;
    font-weight: 700;
    color: #1d2327;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin: 0 0 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f1
}

.nn-tabs {
    display: flex;
    gap: 2px;
    border-bottom: 2px solid #dcdcde;
    margin-bottom: 16px
}

.nn-tab {
    padding: 8px 16px;
    background: none;
    border: none;
    border-bottom: 2px solid #fff0;
    margin-bottom: -2px;
    font-size: 13px;
    font-weight: 500;
    color: #646970;
    cursor: pointer;
    border-radius: 3px 3px 0 0;
    transition: color 0.15s, background 0.15s
}

.nn-tab:hover {
    color: #18523f;
    background: #f0f7f4
}

.nn-tab.active {
    color: #18523f;
    border-bottom-color: #18523f;
    font-weight: 600
}

.nn-tab-content {
    display: none
}

.nn-tab-content.active {
    display: block
}

.nn-field {
    margin-bottom: 14px
}

.nn-field:last-child {
    margin-bottom: 0
}

.nn-field>label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #3c434a;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: .3px
}

.nn-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px
}

@media (max-width:600px) {
    .nn-field-row {
        grid-template-columns: 1fr
    }
}

.nn-input {
    width: 100%;
    padding: 7px 10px;
    border: 1px solid #dcdcde;
    border-radius: 4px;
    font-size: 13px;
    color: #2c3338;
    transition: border-color 0.2s, box-shadow 0.2s
}

.nn-input:focus {
    border-color: #18523f;
    outline: 0;
    box-shadow: 0 0 0 1px #18523f
}

.nn-input--sm {
    max-width: 120px
}

.nn-select {
    width: 100%;
    padding: 7px 10px;
    border: 1px solid #dcdcde;
    border-radius: 4px;
    font-size: 13px;
    color: #2c3338;
    background: #fff
}

.nn-select:focus {
    border-color: #18523f;
    outline: 0
}

.nn-help {
    font-size: 12px;
    color: #8c8f94;
    margin: 4px 0 0
}

.nn-radio-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.nn-radio {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid #dcdcde;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    color: #2c3338;
    transition: all 0.15s
}

.nn-radio input {
    accent-color: #18523f;
    cursor: pointer
}

.nn-radio.active {
    border-color: #18523f;
    background: #eaf3ee;
    color: #18523f
}

.nn-toggle-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px
}

@media (max-width:500px) {
    .nn-toggle-grid {
        grid-template-columns: 1fr
    }
}

.nn-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border: 1px solid #e8e8e8;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
    color: #2c3338;
    transition: background 0.15s, border-color 0.15s
}

.nn-toggle input {
    display: none
}

.nn-toggle:hover {
    background: #f6f7f7
}

.nn-toggle--on {
    border-color: #c8dfd6;
    background: #f0f7f4
}

.nn-toggle__slider {
    width: 34px;
    height: 18px;
    flex-shrink: 0;
    background: #c3c4c7;
    border-radius: 9px;
    position: relative;
    transition: background 0.2s
}

.nn-toggle__slider::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    top: 3px;
    left: 3px;
    transition: transform 0.2s;
    box-shadow: 0 1px 2px rgb(0 0 0 / .2)
}

.nn-toggle--on .nn-toggle__slider {
    background: #18523f
}

.nn-toggle--on .nn-toggle__slider::after {
    transform: translateX(16px)
}

.nn-toggle__label {
    font-size: 13px;
    color: #2c3338
}

.nn-shortcode-box {
    display: flex;
    align-items: center;
    background: #f6f7f7;
    border: 1px solid #dcdcde;
    border-radius: 4px;
    padding: 7px 10px;
    gap: 8px;
    margin-top: 8px
}

.nn-shortcode-box code {
    flex: 1;
    font-size: 12px;
    color: #2c3338;
    font-family: Consolas, Monaco, monospace;
    background: none
}

.nn-copy-btn {
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 600;
    background: #18523f;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s
}

.nn-copy-btn:hover {
    background: #0f3528
}

.nn-copy-btn.copied {
    background: #2e7d32
}

.nn-form-footer {
    padding: 16px 0 0;
    border-top: 1px solid #dcdcde;
    margin-top: 4px
}

.nn-sidebar-card {
    background: #fff;
    border: 1px solid #dcdcde;
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 12px
}

.nn-sidebar-card:last-child {
    margin-bottom: 0
}

.nn-sidebar-title {
    font-size: 11px;
    font-weight: 700;
    color: #1d2327;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f1
}

.nn-sidebar-card--info {
    background: #f0f7f4;
    border-color: #c8dfd6
}

.nn-steps {
    padding-left: 18px
}

.nn-steps li {
    font-size: 12px;
    color: #3c434a;
    margin-bottom: 7px;
    line-height: 1.5
}

.nn-steps li:last-child {
    margin-bottom: 0
}

.nn-steps code {
    background: #f0f0f1;
    padding: 1px 5px;
    border-radius: 3px;
    font-size: 11px
}

input[type="submit"].button-primary {
    background: #18523f !important;
    border-color: #0f3528 !important
}

input[type="submit"].button-primary:hover {
    background: #0f3528 !important
}

/* Canlı Önizleme */
.nn-preview-card { padding: 12px; }

.nn-preview-wrap {
    border-radius: var(--nn-radius, 7px);
    overflow: hidden;
    border: 1px solid var(--nn-bord, #e2e6e2);
    background: var(--nn-bg2, #f5f6f4);
    font-size: var(--nn-fs, 14px);
    color: var(--nn-text, #1a2a1e);
    transition: all 0.2s;
}

.nn-prev-header {
    background: var(--nn-primary, #18523f);
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nn-prev-icon {
    width: 24px;
    height: 24px;
    background: rgba(255,255,255,0.15);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nn-prev-icon svg { stroke: #fff; }

.nn-prev-title {
    color: #fff;
    font-size: calc(var(--nn-fs, 14px) * 0.93);
    font-weight: 600;
    line-height: 1.3;
}

.nn-prev-sub {
    color: rgba(255,255,255,0.7);
    font-size: calc(var(--nn-fs, 14px) * 0.78);
    margin-top: 1px;
}

.nn-prev-tabs {
    display: flex;
    background: var(--nn-bg, #fff);
    border-bottom: 1px solid var(--nn-bord, #e2e6e2);
}

.nn-prev-tab {
    flex: 1;
    text-align: center;
    padding: 7px 4px;
    font-size: calc(var(--nn-fs, 14px) * 0.82);
    color: var(--nn-t2, #4d6355);
    cursor: default;
    border-bottom: 2px solid transparent;
}

.nn-prev-tab.active {
    color: var(--nn-primary, #18523f);
    border-bottom-color: var(--nn-primary, #18523f);
    font-weight: 600;
}

.nn-prev-summary {
    background: var(--nn-acc-bg, #fdf7e8);
    border-left: 3px solid var(--nn-accent, #b8851c);
    padding: 6px 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 8px;
    border-radius: 4px;
}

.nn-prev-num {
    font-size: calc(var(--nn-fs, 14px) * 1.14);
    font-weight: 700;
    color: var(--nn-accent, #b8851c);
}

.nn-prev-label {
    font-size: calc(var(--nn-fs, 14px) * 0.85);
    color: var(--nn-t2, #4d6355);
}

.nn-prev-card {
    background: var(--nn-bg, #fff);
    border: 1px solid var(--nn-bord, #e2e6e2);
    border-left: 3px solid var(--nn-bord, #e2e6e2);
    border-radius: var(--nn-radius, 7px);
    margin: 0 8px 6px;
    padding: 8px 10px;
}

.nn-prev-card-name {
    font-size: calc(var(--nn-fs, 14px) * 0.93);
    font-weight: 600;
    color: var(--nn-t1, #1a2a1e);
    margin-bottom: 3px;
}

.nn-prev-card-addr {
    font-size: calc(var(--nn-fs, 14px) * 0.78);
    color: var(--nn-t2, #4d6355);
    margin-bottom: 6px;
}

.nn-prev-card-btns {
    display: flex;
    gap: 5px;
}

.nn-prev-btn {
    flex: 1;
    text-align: center;
    padding: 4px 6px;
    border-radius: calc(var(--nn-radius, 7px) * 0.6);
    font-size: calc(var(--nn-fs, 14px) * 0.75);
    font-weight: 500;
}

.nn-prev-btn--call {
    background: var(--nn-primary, #18523f);
    color: #fff;
}

.nn-prev-btn--map {
    background: var(--nn-bg2, #f5f6f4);
    color: var(--nn-primary, #18523f);
    border: 1px solid var(--nn-bord, #e2e6e2);
}

.nn-prev-footer {
    text-align: center;
    padding: 6px;
    font-size: calc(var(--nn-fs, 14px) * 0.78);
    background: var(--nn-primary, #18523f);
    color: rgba(255,255,255,0.7);
    margin-top: 4px;
}

.nn-dark .nn-prev-card { border-left-color: #2a352c; }
