@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/Inter-Regular.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/Inter-SemiBold.woff2') format('woff2');
}

/* ============================================
   1. FONT & TYPOGRAPHY
   ============================================ */

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #1E293B !important;
    letter-spacing: 0 !important;
    background-color: #F8FAFC !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    color: #1E293B !important;
    letter-spacing: -0.01em !important;
    font-weight: 600 !important;
}

h1 { font-size: 26px !important; line-height: 1.3 !important; }
h2 { font-size: 22px !important; line-height: 1.35 !important; }
h3 { font-size: 18px !important; line-height: 1.4 !important; letter-spacing: 0 !important; }
h3::after { display: none !important; }
h4 { font-size: 16px !important; line-height: 1.4 !important; letter-spacing: 0 !important; }
h5 { font-size: 14px !important; letter-spacing: 0 !important; }
h6 { font-size: 13px !important; letter-spacing: 0 !important; }

p {
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #334155 !important;
}

a {
    color: #2563EB !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

a:hover {
    color: #1D4ED8 !important;
    text-decoration: none !important;
}

label {
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #475569 !important;
    letter-spacing: 0 !important;
}

::selection {
    background-color: #BFDBFE !important;
    color: #1E293B !important;
}

::-moz-selection {
    background-color: #BFDBFE !important;
    color: #1E293B !important;
}

/* ============================================
   2. HEADER & NAVIGATION
   ============================================ */

.header .header-nav {
    background-color: #FFFFFF !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
    border-bottom: 1px solid #E2E8F0 !important;
    padding: 0 12px !important;
}

.header--sticky.fixed .header-nav {
    background-color: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08) !important;
    -webkit-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.header .nav-menu > ul > li > a,
.header.header--sticky.fixed .nav-menu > ul > li > a,
.nav-menu > ul > li > a {
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #334155 !important;
    letter-spacing: 0 !important;
    padding: 14px 16px !important;
    transition: color 0.2s ease, background-color 0.2s ease !important;
    border-radius: 8px;
}

.header .nav-menu > ul > li:hover > a,
.header.header--sticky.fixed .nav-menu > ul > li:hover > a {
    color: #2563EB !important;
    background-color: #EFF6FF;
}

.header .nav-menu > ul > li > a i {
    color: #64748B;
    margin-right: 8px;
    font-size: 14px;
    transition: color 0.2s ease;
}

.header .nav-menu > ul > li:hover > a i {
    color: #2563EB;
}

.nav-icon-trigger {
    color: #1E293B !important;
    font-size: 20px !important;
}

.header .logo img {

}

@media all and (max-width: 991px) {
    .header .nav-menu > ul > li > a,
    .header.header--sticky.fixed .nav-menu > ul > li > a,
    .nav-menu > ul > li > a {
        line-height: 1.8 !important;
        padding: 10px 16px !important;
        border-bottom: 1px solid #F1F5F9;
    }

    .header .nav-menu > ul > li:last-child > a {
        border-bottom: none;
    }

    .logo {
        text-align: left !important;
        font-weight: 600 !important;
        font-family: 'Inter', sans-serif !important;
        width: 70% !important;
    }
}

/* ============================================
   3. BUTTONS
   ============================================ */

.btn, button {
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
    border: none !important;
}

.btn-md {
    padding: 10px 20px !important;
}

.btn-primary,
.btn-color-a,
.btn-color-b {
    background-color: #2585c5  !important;
    color: #FFFFFF !important;
    box-shadow: 0 1px 4px rgba(32, 83, 117, 0.3) !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-color-a:hover,
.btn-color-b:hover {
    background-color: #112B3C !important;
    color: #FFFFFF !important;
    box-shadow: 0 3px 8px rgba(32, 83, 117, 0.4) !important;
    transform: translateY(-1px);
}

.btn-primary:active,
.btn-color-a:active,
.btn-color-b:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(32, 83, 117, 0.2) !important;
}

.btn-black {
    background-color: #055589  !important;
    color: #FFFFFF !important;
    box-shadow: 0 1px 4px rgba(17, 43, 60, 0.3) !important;
}

.btn-black:hover,
.btn-black:focus {
    background-color: #0A1929 !important;
    color: #FFFFFF !important;
    box-shadow: 0 3px 8px rgba(17, 43, 60, 0.4) !important;
    transform: translateY(-1px);
}

.btn-success {
    background-color: #2E8B57 !important;
    color: #FFFFFF !important;
    box-shadow: 0 1px 4px rgba(46, 139, 87, 0.3) !important;
}

.btn-success:hover,
.btn-success:focus {
    background-color: #62a915  !important;
    color: #FFFFFF !important;
    box-shadow: 0 3px 8px rgba(46, 139, 87, 0.4) !important;
    transform: translateY(-1px);
}

.btn-danger {
    background-color: #d80a0a  !important;
    color: #FFFFFF !important;
    box-shadow: 0 1px 4px rgba(246, 107, 14, 0.3) !important;
}

.btn-danger:hover,
.btn-danger:focus {
    background-color: #D85A0A !important;
    color: #FFFFFF !important;
    box-shadow: 0 3px 8px rgba(246, 107, 14, 0.4) !important;
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: #EFEFEF !important;
    color: #205375 !important;
    box-shadow: none !important;
    border: 1px solid #D5D5D5 !important;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: #D5D5D5 !important;
    color: #112B3C !important;
}

.btn-block {
    border-radius: 8px !important;
}

/* ============================================
   4. FORM ELEMENTS
   ============================================ */

input[type="email"],
input[type="text"],
input[type="password"],
input[type="number"],
input[type="search"],
input[type="tel"],
select,
textarea {
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
    color: #1E293B !important;
    background-color: #FFFFFF !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
    letter-spacing: 0 !important;
    outline: none !important;
    -webkit-appearance: none;
    appearance: none;
}

input[type="email"]:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
    border-color: #2563EB !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12) !important;
    color: #1E293B !important;
}

input::placeholder,
textarea::placeholder {
    color: #94A3B8 !important;
}

.input-sm,
input.input-sm {
    padding: 10px 14px !important;
}

.form-control {
    font-family: 'Inter', sans-serif !important;
    border-radius: 8px !important;
    border: 1px solid #E2E8F0 !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.form-control:focus {
    border-color: #2563EB !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12) !important;
    outline: none !important;
}

.form-field-wrapper {
    margin-bottom: 16px !important;
}

input[type="checkbox"] {
    accent-color: #2563EB;
}

input[type="radio"] {
    accent-color: #2563EB;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

/* ============================================
   5. TABS (Login/Register)
   ============================================ */

.tabs.ui-tabs {
    border: none !important;
    background: none !important;
    border-radius: 12px !important;
    overflow: hidden;
}

.ui-tabs .ui-tabs-nav {
    background: none !important;
    border: none !important;
    border-bottom: 2px solid #E2E8F0 !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin-bottom: 20px !important;
    display: flex !important;
}

.ui-tabs .ui-tabs-nav li {
    background: none !important;
    border: none !important;
    border-bottom: 2px solid transparent !important;
    margin: 0 !important;
    margin-bottom: -2px !important;
    border-radius: 0 !important;
    flex: 1;
}

.ui-tabs .ui-tabs-nav li a {
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #64748B !important;
    letter-spacing: 0 !important;
    padding: 12px 16px !important;
    display: block;
    text-align: center;
    transition: color 0.2s ease !important;
}

.ui-tabs .ui-tabs-nav li.ui-tabs-active {
    border-bottom-color: #6ac8ff  !important;
}

.ui-tabs .ui-tabs-nav li.ui-tabs-active a, .ui-tabs .ui-tabs-nav li:hover a {
    color: #005281 !important;
    font-weight: 600 !important;
}


.ui-tabs .ui-tabs-panel {
    padding: 8px 4px !important;
    border: none !important;
    background: none !important;
}

.ui-widget-content {
    border: none !important;
}

.ui-corner-all {
    border-radius: 12px !important;
}

/* ============================================
   6. CARDS & FORM CONTAINERS
   ============================================ */

.persentil-form {
    padding: 20px !important;
    border-radius: 12px !important;
    border: 1px solid #E2E8F0 !important;
    background-color: #FFFFFF !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

.persentil-form-detail {
    padding: 16px !important;
    border-radius: 12px !important;
    border: 1px solid #E2E8F0 !important;
    background-color: #FFFFFF !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

.form-input .title {
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    color: #334155 !important;
}

/* ============================================
   7. CHILD LIST
   ============================================ */

.child-item {
    /*background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px; */
    padding: 16px 12px;
    margin-bottom: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s ease;
}

.child-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.child-item hr {
    display: none;
}

.child-item h4 {
    margin-bottom: 4px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
}

.child-item .btn {
    font-size: 12px !important;
    padding: 7px 14px !important;
    border-radius: 6px !important;
}

.genderM .fas {
    font-size: 48px !important;
    color: #0056AB !important;
}

.genderM .fa-female {
    display: none;
}

.genderF .fas {
    font-size: 48px !important;
    color: #e70041 !important;
}

.genderF .fa-male {
    display: none;
}

.move-icon {
    font-size: 14px !important;
    color: #94A3B8 !important;
    cursor: move;
}

#percentile-child-list {
    gap: 0;
}

/* ============================================
   8. SUCCESS / ERROR MESSAGES
   ============================================ */

.successContent {
    background-color: #F0FDF4 !important;
    border-left: 3px solid #10B981 !important;
    padding: 10px 14px !important;
    border-radius: 0 8px 8px 0 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    color: #166534 !important;
}

.errorContent,
.errorGeneralContent {
    background-color: #FEF2F2 !important;
    border-left: 3px solid #EF4444 !important;
    padding: 10px 14px !important;
    border-radius: 0 8px 8px 0 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    color: #991B1B !important;
}

/* ============================================
   9. SPACING & LAYOUT
   ============================================ */

.ptb {
    padding-top: 8px !important;
    padding-bottom: 80px !important;
}

.ptb-sm-80 {
    padding-top: 16px !important;
    padding-bottom: 60px !important;
}

.spacer-60 {
    height: 40px !important;
}

.container {
    padding-left: 16px !important;
    padding-right: 16px !important;
}

/* ============================================
   10. HR & MISC
   ============================================ */

hr {
    border-top: 1px solid #E2E8F0 !important;
    margin: 16px 0 !important;
}

.text-danger {
    color: #EF4444 !important;
}

.text-center a {
    color: #64748B !important;
    font-weight: 400 !important;
    font-size: 13px !important;
}

.text-center a .btn {
    margin: 0 4px;
}

small, small a {
    color: #64748B !important;
    font-size: 12px !important;
}

.no-padding-pr-5 {
    padding-right: 4px !important;
}

.no-padding {
    padding-left: 4px !important;
}

/* ============================================
   11. SCROLLBAR (Webkit)
   ============================================ */

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #F1F5F9;
}

::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94A3B8;
}

/* ============================================
   12. HEADER FIXED MARGIN
   ============================================ */

.header--sticky.fixed {
    margin-bottom: 60px !important;
}

@media all and (max-width: 991px) {
    .header--sticky.fixed {
        margin-bottom: 60px !important;
    }
}

@media all and (min-width: 766px) {
    .header--sticky.fixed {
        margin-bottom: 70px !important;
    }
}

.genderM .fas.move-icon, .genderF .fas.move-icon {
    font-size: 14px !important;
    cursor: move;
}

.ui-widget-header {
    /* border: 1px solid #aaa; */
    /* background: #ccc url(images/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x; */
    color: #222;
    font-weight: bold;
    background: #efefef !important;
	border: none !important;
}