/* CordeoCRM Tasarım Sistemi: merkezi ayar sayfası düzeni. */
/* Uygulama kabuğu body'ye ccrm-app-document sınıfını ekler.
   Eski ccrm-app seçicisi bu nedenle canlı sayfada hiç eşleşmiyordu. */
html body.ccrm-app.ccrm-app-document .ccrm-interface-page .ccrm-ui-page__body {
    padding-top: 24px;
}

html body.ccrm-app.ccrm-app-document .ccrm-interface-page .ccrm-ui-system-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

html body.ccrm-app.ccrm-app-document .ccrm-interface-page .ccrm-ui-system-card {
    min-width: 0;
    padding: 20px;
    border: 1px solid var(--ccrm-border-soft, #e8edf3);
    border-radius: 10px;
    background: #fff;
}

html body.ccrm-app.ccrm-app-document .ccrm-interface-page .ccrm-ui-system-card h2 {
    margin: 0 0 14px;
    color: var(--ccrm-text, #202a36);
    font-size: 15px;
    font-weight: 600;
}

html body.ccrm-app.ccrm-app-document .ccrm-interface-page .ccrm-ui-system-card dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    border-top: 1px solid var(--ccrm-border-soft, #e8edf3);
}

html body.ccrm-app.ccrm-app-document .ccrm-interface-page .ccrm-ui-system-card dl > div {
    padding: 11px 0;
    border-bottom: 1px solid var(--ccrm-border-soft, #e8edf3);
}

html body.ccrm-app.ccrm-app-document .ccrm-interface-page .ccrm-ui-system-card dt {
    color: var(--ccrm-text, #202a36);
    font-size: 11.5px;
    font-weight: 500;
}

html body.ccrm-app.ccrm-app-document .ccrm-interface-page .ccrm-ui-system-card dd {
    margin: 4px 0 0;
    color: var(--ccrm-muted, #6f7a88);
    font-size: 11px;
    font-weight: 400;
}

html body.ccrm-app.ccrm-app-document .ccrm-interface-page .ccrm-ui-demo-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 16px;
}

html body.ccrm-app.ccrm-app-document .ccrm-interface-page .ccrm-ui-demo-row > .ccrm-ui-button { margin-right: 8px; }
html body.ccrm-app.ccrm-app-document .ccrm-interface-page .ccrm-ui-demo-row .ccrm-ui-action-group { margin-right: 8px; }

html body.ccrm-app.ccrm-app-document .ccrm-interface-page .ccrm-ui-field {
    display: block;
    margin-top: 16px;
}

html body.ccrm-app.ccrm-app-document .ccrm-interface-page .ccrm-ui-field__label {
    display: block;
    margin-bottom: 6px;
    color: var(--ccrm-text, #202a36);
    font-size: 11.5px;
    font-weight: 500;
}

html body.ccrm-app.ccrm-app-document .ccrm-interface-page .ccrm-ui-field select {
    width: 100%;
    height: 40px;
    border: 1px solid var(--ccrm-border, #dfe5ec);
    border-radius: 8px;
    background: #fff;
    color: var(--ccrm-text, #202a36);
    font: inherit;
}

@media (max-width: 760px) {
    html body.ccrm-app.ccrm-app-document .ccrm-interface-page .ccrm-ui-system-grid,
    html body.ccrm-app.ccrm-app-document .ccrm-interface-page .ccrm-ui-system-card dl { grid-template-columns: 1fr; }
}


/* CordeoCRM Arayüz ve Menü Yönetimi — birleşik yönetim sayfası. */
html body.ccrm-app.ccrm-app-document .ccrm-interface-management-page .ccrm-ui-page__body {
    padding-top: 20px;
}

html body.ccrm-app.ccrm-app-document .ccrm-interface-management-page .ccrm-interface-intro {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0 0 18px;
    padding: 12px 0;
    border-top: 1px solid var(--ccrm-border-soft, #e8edf3);
    border-bottom: 1px solid var(--ccrm-border-soft, #e8edf3);
}

html body.ccrm-app.ccrm-app-document .ccrm-interface-management-page .ccrm-interface-intro strong {
    flex: 0 0 auto;
    color: var(--ccrm-text, #202a36);
    font-size: 12px;
    font-weight: 600;
}

html body.ccrm-app.ccrm-app-document .ccrm-interface-management-page .ccrm-interface-intro span {
    color: var(--ccrm-muted, #6f7a88);
    font-size: 11.5px;
    line-height: 1.5;
}

html body.ccrm-app.ccrm-app-document .ccrm-interface-management-page .ccrm-menu-management-section {
    width: 100%;
    margin: 0;
    padding: 0 0 28px;
}

@media (max-width: 680px) {
    html body.ccrm-app.ccrm-app-document .ccrm-interface-management-page .ccrm-interface-intro {
        flex-direction: column;
        gap: 5px;
    }
}
