﻿@font-face {
font-family: 'Outfit';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url('font/Outfit-Regular.woff2') format('woff2');
}
@font-face {
font-family: 'Outfit';
font-style: normal;
font-weight: 500;
font-display: swap;
src: url('font/Outfit-Medium.woff2') format('woff2');
}
@font-face {
font-family: 'Outfit';
font-style: normal;
font-weight: 600;
font-display: swap;
src: url('font/Outfit-SemiBold.woff2') format('woff2');
}
@font-face {
font-family: 'Outfit';
font-style: normal;
font-weight: 700;
font-display: swap;
src: url('font/Outfit-Bold.woff2') format('woff2');
}
:root {
--primary-color: #0074d4;
--primary-hover: #156cb6;
--bg-color: #fbfbfb;
--card-bg: #FFFFFF;
--text-main: #32302c;
--text-muted: #6B7280;
--border-color: #d0d0d0;
--accent-color: #0d9488;
--error-color: #e41000;
--bg-soft: #f8fafc;
--hist-fs-main: 16px;
--hist-fs-total: 17px;
--hist-fs-sub: 13px;
--hist-fs-meta: 12px;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Outfit', sans-serif;
-webkit-tap-highlight-color: transparent;
}
body {
background: var(--bg-color);
color: var(--text-main);
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-start;
padding:30px 10px 300px;
position: relative;
font-weight: 500;
}
button {
outline: none;
}
b { font-weight:600; }
p {margin-bottom: 10px;
font-size: 18px;
}
.container {
width: 100%;
max-width:660px;
}
.breadcrumb {
text-align: center;
    margin-bottom: 20px;
    font-size: 18px;
color: var(--text-muted);
}
.breadcrumb a {
text-decoration: none;
color: var(--primary-color);
}
.breadcrumb span {
margin: 0 8px;
color: #CBD5E1;
}
.breadcrumb .active {
color: var(--text-muted);
}
header h1 {
text-align: center;
font-size: 2rem;
font-weight: 500;
letter-spacing: -0.025em;
margin-bottom:25px;
color: var(--text-main);
}
h2 {
    font-size: 1.2rem;
    margin: 0 auto 10px;
    text-align: center;
    font-weight: 500;
}
h3 {
font-weight: 600;
margin: 14px 0 4px;
text-align: center;
font-size: 17px;
border-radius: 8px;
}
.tabs {
display: flex;
background: #ffffff;
padding: 6px;
border-radius: 10px;
margin-bottom: 12px;
gap: 5px;
border: 1px solid var(--border-color);
}
.tab-btn {
flex: 1;
border: none;
padding: 9px 6px;
border-radius: 10px;
cursor: pointer;
background: transparent;
font-size: 15px;
color: var(--text-muted);
transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.tab-btn.active {
background: var(--primary-color);
color: white;
}
.tabs-grid {
display: grid !important;
grid-template-columns: repeat(2, 1fr);
gap: 12px;
margin-bottom: 20px;
background: transparent !important;
border: none !important;
padding: 0 !important;
}
.tabs-grid .tab-btn, .tabs-grid a {
display: flex;
align-items: center;
justify-content: center;
background: #ffffff;
border-radius: 10px;
padding: 14px 10px;
color: var(--text-muted);
text-decoration: none;
font-size: 14px;
text-align: center;
transition: all 0.2s ease;
cursor: pointer;
border: 1px solid #d0d0d0;
box-shadow: 0 1px 4px 0px rgba(0, 0, 0, 0.1);
}
.tabs-grid .tab-btn.active,
.tabs-grid a.active {
background-color: var(--primary-color) !important;
color: #ffffff !important;
border-color: var(--primary-color);
}
.calculator-card {
background: var(--card-bg);
padding: 30px;
border-radius: 10px;
border: 1px solid var(--border-color);
scroll-margin-top: 20px;
box-shadow: 0 1px 10px -1px rgba(0, 0, 0, 0.1);
}
.input-row {
display: flex;
gap: 10px;
flex: 1;
}
.input-row.full {
flex-direction: column;
}
.input-group {
position: relative;
flex: 1;
margin-bottom: 24px;
}
.input-group > label,
.input-group label.input-label,
.input-label {
position: absolute;
top: -11px;
left: 7px;
background: white;
padding: 0px 5px;
display: block;
font-weight: 600;
font-size: 11px;
color: var(--primary-color);
z-index: 10;
pointer-events: none;
letter-spacing: 0.05em;
text-transform: uppercase;
}
.input-group.label-uppercase label {
text-transform: uppercase;
}
.input-with-symbol {
position: relative;
flex: 1;
width: 100%;
}
.full-width {
width: 100%;
}
.symbol {
position: absolute;
right: 6px;
top: 54%;
transform: translateY(-50%);
color: var(--text-muted);
font-size: 11px;
pointer-events: none;
}
input, select {
width: 100%;
padding: 10px 12px;
border: 1px solid #d0d0d0;
border-radius: 8px;
font-size: 16px;
color: var(--text-main);
outline: none;
transition: all 0.2s ease;
background: #FFFFFF;
appearance: none;
}
input:focus, select:focus {
border-color: var(--primary-color);
background: #fff;
}
input.error-border,
select.error-border {
border-color: var(--error-color) !important;
box-shadow: 0 0 0 1px var(--error-color);
transition: all 0.1s ease-in-out;
}
::placeholder {
color: #CBD5E1;
font-size: 14px;
opacity: 1; 
}
select {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 12px center;
background-size: 16px;
padding-right: 40px !important;
}
select:disabled {
background-color: #F3F4F6;
cursor: not-allowed;
opacity: 0.7;
}
.custom-select {
flex: 1;
}
.custom-select::after {
content: 'â–¼';
font-size: 10px;
position: absolute;
right: 20px;
top: 50%;
transform: translateY(-50%);
color: var(--text-muted);
pointer-events: none;
}
.date-grid-select {
display: grid;
grid-template-columns: 1fr 2fr 1.5fr;
gap: 10px;
width: 100%;
}
.main-btn {
width: 100%;
padding: 10px;
background: linear-gradient(to bottom, #ffffff 0%, #f9fafb 5%, #f3f4f6 50%, #e5e7eb 100%);
color: var(--text-main);
border: 1px solid #a5a5a5;
border-radius: 8px;
font-size: 16px;
font-weight: 500;
cursor: pointer;
transition: transform 0.2s ease, border-color 0.2s ease;
letter-spacing: 1px;
text-shadow: 0 1px 0 #fff;
}
.main-btn:active:not(:disabled) {
background: #f3f4f6;
transform: translateY(1px);
}
.main-btn:disabled {
opacity: 0.65;
color: #9ca3af !important;
cursor: not-allowed;
background: #f9fafb;
border-color: #d1d5db;
transform: none;
}
.hesaplamalar {
width: 100%;
border-collapse: collapse;
background: var(--card-bg);
overflow: hidden;
text-align: center;
}
.hesaplamalar th:nth-child(1), .hesaplamalar td:nth-child(1) { width: 33%; }
.hesaplamalar th:nth-child(2), .hesaplamalar td:nth-child(2) { width: 33%; }
.hesaplamalar th:nth-child(3), .hesaplamalar td:nth-child(3) { width: 33%; }
.hesaplamalar th {
background:#fdfdfd;
color: #565147;
font-size: 14px;
padding: 8px 2px;
}
.hesaplamalar tr {
position: relative;
}
.hesaplamalar td {
padding: 2px 1px;
border-bottom: 1px solid var(--border-color);
color: var(--text-main);
cursor: pointer;
font-size:17px;
height: 44px;
}
.row-link {
text-decoration: none;
color: inherit;
display: block;
}
.row-link::after {
content: "";
position: absolute;
top: 0; left: 0; right: 0; bottom: 0;
z-index: 1;
}
.hesaplamalar tbody tr:hover {
background: var(--bg-color);
transition: background 0.2s ease;
}
.hesaplamalar tbody tr:last-child td {
border-bottom: none;
}
.hesaplamalar td:nth-child(2) {
color: var(--primary-color);
}
.hesaplamalar td:nth-child(3) {
color: var(--error-color);
}
.font12 {
font-size: 12px;
}
.result-box {
display: none;
position: relative;
overflow: hidden;
}
.result-box:not(.hidden) {
display: block;
}
.result-box-overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: #fff;
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
pointer-events: none;
transition: opacity 0.3s ease;
z-index: 100;
border-radius: inherit;
}
.result-box-overlay.show,
.updating > .result-box-overlay {
opacity: 0.95;
pointer-events: all;
}
.spinner {
width: 44px;
height: 44px;
border: 7px solid rgba(0, 116, 212, 0.1);
border-top-color: var(--primary-color);
border-radius: 50%;
animation: spinner-rotate 0.8s linear infinite;
}
@keyframes spinner-rotate {
to { transform: rotate(360deg); }
}
.takvim-icon-btn {
position: absolute;
right: 8px;
top: 50%;
transform: translateY(-50%);
background: none;
border: none;
font-size: 18px;
cursor: pointer;
padding: 6px;
border-radius: 6px;
transition: all 0.2s ease;
color: var(--text-muted);
z-index: 20;
display: flex;
align-items: center;
justify-content: center;
line-height: 1;
}
.hidden-date-picker {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 0;
opacity: 0;
pointer-events: none;
}
.segment-group {
position: relative;
margin-top: 1px;
height: 42px;
z-index: 5;
}
.dropdown-menu {
position: absolute;
top: 0;
left: 0;
width: 100%;
background: #F3F4F6;
border: 1.5px solid #D1D5DB;
border-radius: 8px;
overflow: hidden;
transition: none;
cursor: pointer;
}
.segment-group.is-open {
z-index: 100;
}
.segment-group.is-open .dropdown-menu {
background: white;
}
.segment-btn {
width: 100%;
border: none;
outline: none;
background: transparent;
padding: 11px 15px;
font-size: 13px;
color: var(--text-muted);
cursor: pointer;
text-align: center;
display: none;
}
.segment-group.is-open .segment-btn {
display: block;
border-bottom: 1px solid #f3f4f6;
}
.segment-btn.active {
display: block;
background: #F3F4F6;
}
.segment-group.is-open .segment-btn.active {
background: white;
}
.segment-group::after {
content: '\25BC';
position: absolute;
right: 12px;
top: 50%;
transform: translateY(-50%);
color: var(--text-muted);
font-size: 8px;
pointer-events: none;
z-index: 110;
}
.segment-group.is-open::after {
display: none;
}
.segmented-switch {
display: flex;
padding: 4px;
border-radius: 10px;
border: 1px solid var(--border-color);
position: relative;
gap: 5px;
}
.segmented-switch input {
display: none;
}
.segmented-switch label {
flex: 1;
text-align: center;
padding: 10px 15px;
cursor: pointer;
border-radius: 8px;
font-size: 13px;
color: #3f3f3f;
transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
z-index: 2;
border: 1px solid #fff;
}
.segmented-switch input:checked + label {
background: var(--primary-color);
border: 1px solid #d6d6d6;
color: #fff;
}
.modern-slider-container {
display: flex;
align-items: center;
gap: 8px;
background: #FFFFFF;
border: 1px solid #D1D5DB;
border-radius: 6px;
padding: 10px 15px;
width: 100%;
}
.range-wrapper {
position: relative;
height: 30px;
display: flex;
align-items: center;
flex: 1;
}
.slider-val-box {
min-width:20px;
text-align: right;
}
.slider-value-text {
font-size: 16px;
color: var(--text-main);
}
.premium-slider {
-webkit-appearance: none;
width: 100%;
height: 8px;
border-radius: 4px;
outline: none;
margin: 0;
padding: 0;
border: none;
position: relative;
z-index: 2;
background-color: transparent;
}
.premium-slider::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 24px;
height: 24px;
border-radius: 50%;
background: #ffffff;
cursor: pointer;
border: 4px solid var(--primary-color);
transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
margin-top: -8px;
}
.premium-slider::-webkit-slider-thumb:hover {
transform: scale(1.15);
}
.premium-slider::-webkit-slider-thumb:active {
cursor: grabbing;
transform: scale(1.05);
}
.premium-slider::-webkit-slider-runnable-track {
width: 100%;
height: 8px;
cursor: pointer;
background: #cbd5e1;
border-radius: 4px;
}
.premium-slider::-moz-range-thumb {
width: 16px;
height: 16px;
border-radius: 50%;
background: #ffffff;
cursor: pointer;
border: 4px solid var(--primary-color);
transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.slider-progress {
position: absolute;
top: 50%;
left: 0;
height: 8px;
border-radius: 4px;
background: var(--primary-color);
transform: translateY(-50%);
pointer-events: none;
z-index: 1;
}
ul {margin-bottom: 16px;}
li::marker { content: ""; }
ul li {
position: relative;
padding-left: 16px;
margin-bottom:10px;
font-weight: 400;
font-size: 18px;
}
ul li::before {
content: "●";
position: absolute;
left: 0;
color: var(--error-color);
font-size: 18px;
line-height: 1;
top:3px;
}
.result-box.loading::before {
content: '';
position: absolute;
inset: 0;
background: rgba(255, 255, 255, 0.85);
z-index: 50;
border-radius: inherit;
backdrop-filter: blur(2px);
}
.result-box.loading::after {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 32px;
height: 32px;
margin: -16px 0 0 -16px;
border: 5px solid rgba(0, 116, 212, 0.1);
border-top-color: var(--primary-color);
border-radius: 50%;
animation: spin 0.8s linear infinite;
z-index: 51;
}
@keyframes spin {
to { transform: rotate(360deg); }
}
.hidden {
display: none !important;
}
.result-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 20px;
background: #F9FAFB;
border: 1px solid var(--border-color);
border-radius: 8px;
margin-bottom: 4px;
font-size: 18px;
min-height: 45px;
}
.result-item .label {
color: var(--text-muted);
}
.result-item .value {
color: var(--primary-color);
}
.result-item.total {
background: #FFFFFF;
border: 2px solid var(--border-color);
margin-top: 10px;
padding: 15px 20px;
}
.result-item.total .label {
color: var(--text-main);
font-size: 16px;
}
.result-item.total .value {
color: var(--text-main);
font-size: 22px;
}
.result-container {
animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.main-result {
background: #ffffff;
color: var(--text-main);
padding: 20px 15px;
border-radius: 12px;
text-align: center;
border: 1px solid var(--primary-color);
border-left: 5px solid var(--primary-color);
border-right: 5px solid var(--primary-color);
position: relative;
animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
transition: transform 0.3s ease;
}
.main-result:hover {
transform: translateY(-3px);
}
.main-title {
font-size: 11px;
font-weight: 700;
letter-spacing: 1.5px;
color: var(--text-muted);
margin-bottom: 8px;
text-transform: uppercase;
display: block;
}
.main-result .val {
display: block;
font-size: 2.2rem;
font-weight: 700;
color: var(--primary-color);
margin-bottom: 5px;
letter-spacing: -1px;
}
.main-result .lbl {
font-size: 13px;
color: var(--text-muted);
}
.main-pct {
display: block;
margin-top: 11px;
font-size: 14px;
color: var(--text-main);
}
.main-result.updating {
pointer-events: none;
}
.main-result.updating::before {
content: "";
position: absolute;
inset: 0;
background: var(--primary-color);
border-radius: 12px;
z-index: 10;
}
.main-result.updating::after {
content: "";
position: absolute;
top: 50%;
left: 50%;
width: 30px;
height: 30px;
margin: -15px 0 0 -15px;
border: 4px solid rgba(255,255,255,0.3);
border-top-color: #fff;
border-radius: 50%;
animation: spin 0.8s linear infinite;
z-index: 20;
}
.comparison-card {
position: relative;
background: #fff;
border: 1px solid var(--border-color);
border-radius: 10px;
padding: 0;
overflow: hidden;
animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.comp-header {
background: #F9FAFB;
padding: 10px;
border-bottom: 1px solid var(--border-color);
display: flex;
justify-content: center;
text-align: center;
}
.comp-full-title {
font-size: 15px;
color: var(--text-main);
line-height: 1.5;
}
.comp-row {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 15px;
border-bottom: 1px solid var(--border-color);
transition: all 0.2s ease;
}
.comp-row:last-of-type {
border-bottom: none;
}
.comp-row:hover {
background: #FDFDFD;
}
.comp-label {
display: flex;
align-items: center;
gap: 12px;
}
.comp-label .text,
.comp-row .text {
font-size: 15px;
color: var(--text-main);
}
.comp-values {
display: flex;
align-items: center;
gap: 15px;
text-align: right;
}
.comp-values .val {
display: block;
font-size: 16px;
color: var(--primary-color);
}
.comp-values .pct {
font-size: 13px;
color: var(--text-muted);
min-width: 65px;
}
.comp-footer {
padding: 12px 15px;
font-size: 13px;
color: var(--text-muted);
background: #fdfdfd;
text-align: center;
}
.comp-footer span {
color: var(--text-main);
}
.hist-val-main { font-size: var(--hist-fs-main); }
.hist-val-total { font-size: 17px; vertical-align: middle; color: var(--primary-color); }
.info-note {
display: flex;
gap: 12px;
background: #fffbfb;
padding: 15px;
border-radius: 8px;
border: 1px solid #ff1100;
}
.info-icon {
font-size: 20px;
color: #d97706;
}
.info-note p {
font-size: 14px;
line-height: 1.5;
margin: 0;
}
.modal-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.45);
backdrop-filter: blur(5px);
display: flex;
align-items: center;
justify-content: center;
z-index: 2000;
animation: fadeIn 0.3s ease-out;
}
.modal-content {
background: white;
padding: 30px;
border-radius: 16px;
max-width: 400px;
width: 90%;
text-align: center;
animation: zoomIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.modal-content p {
color: #1F2937;
font-size: 15px;
line-height: 1.6;
margin-bottom: 25px;
}
#modal_ok_btn {
background: #e41000;
color: white;
border: none;
padding: 12px 40px;
border-radius: 10px;
font-size: 16px;
cursor: pointer;
transition: all 0.2s ease;
width: 100%;
letter-spacing: 1px;
}
.search-container {
position: relative;
width: 100%;
}
.search-container input {
width: 100%;
padding: 12px 40px 12px 15px;
cursor: text;
}
.search-container.disabled {
opacity: 0.7;
pointer-events: none;
}
.search-container.disabled input {
background: rgba(0, 0, 0, 0.05);
cursor: not-allowed;
}
.dropdown-icon {
position: absolute;
right: 15px;
top: 50%;
transform: translateY(-50%);
color: var(--text-muted);
pointer-events: none;
transition: transform 0.3s ease;
}
.search-container.active .dropdown-icon {
transform: translateY(-50%) rotate(180deg);
}
.dropdown-list {
position: absolute;
top: calc(100% + 5px);
left: 0;
width: 100%;
max-height: 350px;
background: white;
border-radius: 12px;
overflow-y: auto;
z-index: 2000;
display: none;
border: 1px solid rgba(0, 0, 0, 0.05);
animation: slideDown 0.2s ease-out;
}
.search-container.active .dropdown-list {
display: block;
}
.dropdown-item {
padding: 12px 15px;
font-size: 14px;
color: var(--text-main);
cursor: pointer;
transition: all 0.2s ease;
border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}
.dropdown-item:last-child {
border-bottom: none;
}
.dropdown-item.no-results {
color: var(--text-muted);
text-align: center;
pointer-events: none;
padding: 20px;
}
.dropdown-list::-webkit-scrollbar { width: 6px; }
.dropdown-list::-webkit-scrollbar-track { background: transparent; }
.dropdown-list::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, 0.1); border-radius: 10px; }
.dropdown-list::-webkit-scrollbar-thumb:hover { background: var(--primary-color); }
.loader-inline {
text-align: center;
font-size: 13px;
color: var(--text-muted);
}
#faiz_tutari{ color: var(--primary-color); }
#nakit_vergi_tutari { color: var(--text-main); }
#aylik_taksit   { color: #000; }
#toplamZaman{  color: var(--text-main); }
#toplamDegisim  { margin-left: 2px;  color: var(--text-main); }
#fon_vade_symbol { right: 45px; }
.input-inline {
display: flex;
gap: 10px;
align-items: stretch;
}
.error-border { 
border-color: var(--error-color) !important;
animation: flashError 2s ease;
}
@keyframes flashError {
0%, 100% { border-color: #D1D5DB; }
10%, 90% { border-color: var(--error-color); }
}
.flex-06 { flex: 0.6 !important; }
.flex-04 { flex: 0.4 !important; }
.flex-30 { flex: 0 0 calc(30% - 8px) !important; }
.text-danger { color: var(--error-color) !important; }
.text-primary { color: var(--primary-color) !important; }
.text-main { color: var(--text-main) !important; }
.text-green { color: var(--accent-color) !important; }
.sonucnot {
background: #fffcf4;
border: 1px solid #FF9800;
font-size: 16px;
color: var(--text-muted);
text-align: center;
line-height: 1.4;
border-radius: 8px;
padding: 10px;
}
@keyframes slideUp {
from { opacity: 0; transform: translateY(20px); }
to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideDown {
from { opacity: 0; transform: translateY(-10px); }
to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
from { opacity: 0; }
to   { opacity: 1; }
}
@keyframes zoomIn {
from { opacity: 0; transform: scale(0.9); }
to   { opacity: 1; transform: scale(1); }
}
@keyframes spin {
to { transform: rotate(360deg); }
}
.mt-10 {margin-top: 10px !important;}
.mb-10 {margin-bottom: 10px !important;}
.mt-20 {margin-top: 20px !important;}
.mb-20 {margin-bottom: 20px !important;}
.main-select {
width: 100%;
padding: 12px;
border: 1px solid #D1D5DB;
border-radius: 8px;
font-family: inherit;
font-size: 15px;
color: #1e293b;
transition: border-color 0.2s;
}
.main-select:focus {
border-color: var(--primary-color);
outline: none;
}
.result-dashboard.grid-mode {
background: transparent;
border: none;
box-shadow: none;
}
.dash-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 12px;
margin-bottom:12px;
}
.dash-card {
background: #fff;
border: 1px solid #e2e8f0;
border-radius: 16px;
padding: 8px 10px;
}
.card-head {
color: #7a7777;
text-align: center;
margin-bottom: 2px;
font-size: 13px;
letter-spacing: 0.1em;
background: #f4f4f4;
border-top-left-radius: 20px;
border-bottom-right-radius: 20px;
padding: 4px;
font-weight: bold;
}
.card-body {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
padding:3px 0 3px 5px;
}
.main-stats {
display: flex;
flex-direction: column;
gap:12px;
}
.per-km-group {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
color: #ababab;
}
.per-km-group .lbl {letter-spacing: 0.1em;
font-size: 12px;
}
.per-km-group .val {
font-size: 14px;
border-top:1px solid #e2e8f0;
padding-top: 1px;
margin-top: 1px;
white-space: nowrap;
}
.val-group {
display: flex;
flex-direction: column;
}
.lbl-small {
font-size: 12px;
color: #ababab;
font-weight: 700;
}
.val-big {
font-size: 20px;
font-weight: 700;
color: #1e293b;
}
.val-mid {
font-size: 18px;
font-weight: 600;
color: #64748b;
}
.fuel-benzin .val-big { color: #0698da; }
.fuel-dizel .val-big  { color: #ec8d00; }
.fuel-lpg .val-big{ color: #0ab211; }
.fuel-elektrik .val-big { color: #0ebdd4; }
.dash-footer {
background: #fafafa;
border-radius: 9px;
padding: 8px;
text-align: center;
line-height: 1.6;
color: #7e7e7e;
}
.footer-title {
display: block;
font-size: 13px;
font-weight: 600;
}
.butt {
display: flex;
align-items: center;
height: 54px;
min-width: 96px !important;
}
.flex-1 { flex: 1; position: relative; }
.flex-2 { flex: 2; position: relative; }
.flex-4 { flex: 4; position: relative; }
.flex-6 { flex: 6; position: relative; }
.flex-8 { flex: 8; position: relative; }
.but-check-box {
display: flex;
align-items: center;
justify-content: center;
height: 45px;
background: #fff;
cursor: pointer;
border: 1px solid var(--border-color);
border-radius: 8px;
transition: border-color 0.2s;
}
.but-check-box:hover {
border-color: var(--primary-color);
}
.premium-checkbox {
width: 22px;
height: 22px;
cursor: pointer;
appearance: none;
-webkit-appearance: none;
border: 2px solid #cbd5e1;
border-radius: 6px;
position: relative;
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
background: #fff;
margin: 0;
}
.premium-checkbox:checked {
background-color: var(--primary-color);
border-color: var(--primary-color);
box-shadow: 0 4px 6px -1px rgba(var(--primary-rgb), 0.2);
}
.premium-checkbox:checked::after {
content: '\2713';
color: white;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 14px;
font-weight: bold;
}
.premium-checkbox:hover {
border-color: var(--primary-color);
}
.result-item-omni {
padding: 6px 0;
display: flex;
align-items: center;
justify-content: space-between;
color: var(--text-muted);
border-bottom: 1px solid #ededed;
}
.result-item-omni .omni-text {
flex: 1;
line-height: 1.5;
padding-right: 10px;
}
.result-item-omni:last-child {
border-bottom: none;
padding-bottom: 0;
}
.result-item-omni b {
color: var(--primary-color);
padding-right: 3px;
}
.result-item-omni .res-val {
color: var(--text-main);
font-size: 17px;
font-weight: 600;
background: #ebf7ff;
padding: 4px 10px;
border-radius: 8px;
flex-shrink: 0;
text-align: right;
}
.quick-select {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.select-btn {
flex: 1;
padding: 10px 6px;
font-size: 14px;
background: #f9fafb;
border: 1px solid #d1d5db;
border-radius: 6px;
color: var(--text-muted);
cursor: pointer;
transition: all 0.2s;
font-weight: 600;
}
.select-btn.active {
background: var(--primary-color);
color: white;
border-color: var(--primary-color);
}
.separator-div {
height: 1px;
background: #ededed;
margin: 15px 0;
}
.remove-row {
background: #fee2e2;
color: #ef4444;
border: none;
width: 35px;
height: 35px;
border-radius: 6px;
cursor: pointer;
font-weight: bold;
transition: 0.2s;
display: flex;
align-items: center;
margin-top: 5px;
flex-shrink: 0;
justify-content: center;
}
.add-btn { background: #f1f5f9; color: var(--primary-color); border: 1px dashed var(--primary-color); padding: 10px; width: 100%; border-radius: 8px; cursor: pointer; font-weight: 600; margin-bottom: 20px; transition: 0.2s; }
.add-btn:hover { background: #e5effd; }
.info-accordion {
position: relative;
padding-bottom: 46px !important;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.info-content {
max-height: 50px;
overflow: hidden;
position: relative;
transition: max-height 0.4s ease-in-out;
}
.info-content::after {
content: "";
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 4px;
background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
transition: opacity 0.3s;
}
.info-accordion.expanded .info-content {
max-height: 2000px;
}
.info-accordion.expanded .info-content::after {
opacity: 0;
pointer-events: none;
}
.expand-btn {
position: absolute;
bottom: 12px;
left: 50%;
transform: translateX(-50%);
background: #ffffff;
border: 1px solid #ececec;
padding: 6px 20px;
border-radius: 8px;
font-size: 12px;
color: var(--text-main);
cursor: pointer;
transition: all 0.2s;
z-index: 5;
font-weight: 600;
}
.expand-btn::after {
content: "TAMAMI";
}
.info-accordion.expanded .expand-btn::after {
content: "GİZLE";
}
.expand-btn:hover {
background: var(--primary-color);
color: #fff;
border-color: var(--primary-color);
}
.metin {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-main);
    line-height: 1.6;
}
@media (hover: hover) {
.main-btn:hover:not(:disabled) {
background: linear-gradient(to bottom, #ffffff 0%, #f3f4f6 100%);
border-color: #9ca3af;
}
.tabs-grid .tab-btn:hover:not(.active),
.tabs-grid a:hover:not(.active) {
border-color: var(--primary-color);
color: var(--primary-color);
background: #f0f7ff;
transform: translateY(-2px);
}
.tab-btn:hover {color: var(--text-main);}
.takvim-icon-btn:hover {
background: #f1f5f9;
color: var(--primary-color);
}
.dropdown-item:hover {
background-color: #f1f5f9;
color: var(--primary-color);
padding-left: 20px;
}
#modal_ok_btn:hover {
background: #c20d00;
transform: translateY(-1px);
}
.segment-group.is-open .segment-btn:hover {
background: #f1f5f9;
}
}
@media (max-width: 480px) {
  :root {
--hist-fs-main: 15px;
--hist-fs-total: 14px;
--hist-fs-sub: 10px;
--hist-fs-meta: 9px;
}
.result-item-omni { font-size: 14px }
.result-item-omni .res-val { font-size: 15px}
.input-row .input-group { flex: 1 1 100%; }
.result-item { font-size: 14px }
header h1 {
font-size: 2rem;
}
.calculator-card {
padding: 22px 12px 12px;
}
.segment-btn {
padding: 10px 9px;
border-radius: 8px;
}
.input-inline {
flex-direction: column;
gap: 4px;
}
.hist-val-total {
font-size: 16px;
}
.main-result .val {
font-size: 1.8rem;
}
.tab-btn {
font-size: 13px;
}
.hesaplamalar td {
font-size: 15px;
}
p{font-size: 16px;}
ul li {font-size: 16px;}
}
@media (max-width: 350px) {
.dash-grid {
grid-template-columns: 1fr;
}
input, select {
padding: 10px 8px;
font-size: 14px;
}
}
