@font-face {
    font-family: 'Estedad';
    src: url('/font/Estedad-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Estedad';
    src: url('/font/Estedad-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Estedad';
    src: url('/font/Estedad-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Estedad';
    src: url('/font/Estedad-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Estedad';
    src: url('/font/Estedad-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Estedad';
    src: url('/font/Estedad-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Estedad';
    src: url('/font/Estedad-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Estedad';
    src: url('/font/Estedad-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Estedad';
    src: url('/font/Estedad-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

html,
body,
#root,
#app {
    font-family: 'Estedad', sans-serif !important;
}

/* Global fallback for React app */
#root * {
    font-family: inherit !important;
}


/* Ant Design core components (NocoDB UI is based on AntD) */
.ant-typography,
.ant-btn,
.ant-input,
.ant-select,
.ant-picker,
.ant-modal,
.ant-dropdown,
.ant-menu,
.ant-table,
.ant-table-cell,
.ant-form,
.ant-form-item,
.ant-pagination {
    font-family: 'Estedad', sans-serif !important;
}

/* Form inputs consistency */
input,
textarea,
select,
button {
    font-family: 'Estedad', sans-serif !important;
}

/* Table text consistency (no layout changes, only font) */
.ant-table,
.ant-table-thead > tr > th,
.ant-table-tbody > tr > td {
    font-family: 'Estedad', sans-serif !important;
}

/* Code editor / SQL editor (IMPORTANT: keep monospace optional override) */
code,
pre,
.monaco-editor,
.sql-editor,
textarea.code {
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace !important;
}

/* Buttons and UI labels */
button,
a,
label {
    font-family: 'Estedad', sans-serif !important;
}
