html {
    font-size: 15px !important;
}

body {
    font-family: "SEGOE UI", "Tahoma" !important;
    background-color: #555 !important;
    color: ivory;
}

::selection {
    background-color: gold !important;
    color: black !important;
}
:disabled {
    background-color: #aaa !important;
    color: white !important;
    font-weight: bold !important;
}
.maas-input:focus {
    outline: 3px solid blue !important;
    background-color: lightskyblue !important;
    color: blue !important;
}
.bordro-input:focus {
    outline: 3px solid darkgreen !important;
    background-color: limegreen !important;
    color: blue !important;
}

h4 {
    position: relative;
    text-align: center;
    width: 100%;
    font-size: 2.1rem !important;
    font-family: Consolas !important;
}
#parametre-title, #bordro-title {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

#main-container {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    width: 75%;
    min-width: 75%;
    margin: 0.75rem auto;
}
.navbar {
    width: 75%;
}

#parametre-container, #son-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

/* font ayarları */
label, input, select, .select-header, fieldset, #nufus-puani-hesabi-container {
    font-size: 0.85rem !important;
}
input, select, .select-header {
    box-sizing: border-box;
    background-color: #2c3e50;
    color: ivory;
    font-weight: 500;
}
input, .select-header {
    padding: 0.1rem 0.1rem 0.1rem 0.5rem !important;
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 0.4rem;
}
input[readOnly] {
    caret-color: transparent;
    background-color: #aaa;
    color: white;
}
.bordro-input {
    background-color: seagreen !important;
    color: ivory !important;
    font-weight: bold !important;
}

.error-input, .error-input:focus {
    outline: 2px solid red !important;
    background-color: #ffcccc !important;
    color: darkred !important;
}

select {
    padding: 0.1rem 0.1rem 0.1rem 0.4rem !important;
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 0.4rem;
}
#performans input {
    padding: 0.5rem 0.25rem !important;
}

fieldset, #nufus-puani-hesabi-container {
    width: 32%;
    box-sizing: border-box;
    margin: 0.3rem auto;
}
fieldset td {
    color: black !important;
    font-weight: 600 !important;
}
fieldset {
    border: none;
    border-radius: 12px;
    padding: 0.9rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    color: black;
    background-color: ivory;
    font-weight: 600;
}
legend {
    font-weight: 700;
    padding: 0.45rem 0.9rem !important;
    border-radius: 8px;
    color: darkgreen;
    background-color: goldenrod;
}

#nufus-puani-hesabi-container fieldset, #performans-tesvik-container fieldset {
    width: 100%;
}

#performans-tesvik-diger-container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}
#performans-tesvik-container {
    width: 58%;
}
#diger_durumlar {
    width: 38%;
}

#nufus-puani-hesabi-container, #performans-tesvik-diger-container, #performans-tesvik-container {
    margin: 0 auto;
}

#nufus-puani-hesabi-container {
    display: flex;
    flex-direction: column;
    justify-content: end;
}
#gezici_nufus {
    margin-bottom: auto;
    flex: 1;
}
#hesaplanan_nufus_puani {
    margin-top: auto;
}

#son-container fieldset {
    width: 45%;
    height: max-content;
}

table {
    table-layout: fixed;
    width: 100%;
}

#sonuc table, #performans table, #tesvik table, #performans input {
    text-align: center;
}

td {
    padding: 0.08rem;
}

.mini-title {
    font-weight: 600;
    color: blue;
    padding: 0.5rem 0 0.25rem 0 !important;
}

#sonuc {
    position: fixed;
    display: flex;
    justify-content: center;
    flex-direction: column;
    bottom: 0;
    width: 25% !important;
    left: 50%;
    transform: translateX(-50%);
    margin: 0 !important;
    font-weight: bold;
    font-size: 0.9rem !important;
    color: blue;
    z-index: 9999;
    transition: bottom 0.2s ease;
    border: none;
    border-radius: 12px;
    padding: 0 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
#net {
    background-color: #e67e22 !important;
    color: blue;
    margin: auto;
    width: 100% !important;
    flex: 1 100%;
}

#guncel_vergi_dilimi_container {
    display: flex;
    align-items: flex-start;
}
#guncel_vergi_dilimi_container label {
    margin: auto !important;
}
#guncel_vergi_dilimi_container input {
    width: 4rem !important;
    padding: 0.6rem !important;
    margin: auto 0.5rem !important;
    text-align: center !important;
    background-color: darkred !important;
    color: ivory !important;
    border: 1px solid darkred !important;
    border-radius: 0.4rem !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25) !important;
    font-size: 0.85rem !important;
    font-weight: bold !important;
}
#sonuc table input {
    background-color: darkgreen !important;
    color: white !important;
    text-align: center !important;
    font-size: 1rem !important;
    font-weight: bold !important;
    letter-spacing: 0.1rem !important;
    border: 1px solid green !important;
    border-radius: 0.3rem !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25) !important;
}

#temel_ucret table, #destek_tesvik table {
    text-align: center;
}

.grup_sayilari {
    display: table-row;
}

#message {
    color: yellow;
    padding: 0.3rem 0.8rem;
    margin: auto;
    font-weight: bold;
    font-family: Consolas !important;
    font-size: 0.9rem !important;
    text-align: center;
    flex: 1;
}

#maas-toast {
    position: fixed;
    left: 50%;
    bottom: 18%;
    width: min(520px, calc(100% - 2rem));
    padding: 0.85rem 1rem;
    box-sizing: border-box;
    transform: translate(-50%, 1rem);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    background: #fff4cc;
    border: 1px solid #d39e00;
    border-left: 4px solid #b77900;
    border-radius: 0.35rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    color: #4a3500;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    z-index: 1000000;
}

#maas-toast.is-visible {
    transform: translate(-50%, 0);
    opacity: 1;
    visibility: visible;
}

@media (max-width: 600px) {
    #maas-toast {
        bottom: 12%;
        font-size: 0.82rem;
    }
}

#maas_tarihi_message {
    font-weight: bold;
    color: darkred;
    font-size: 1rem !important;
    padding: 0.35rem 0 !important;
    margin: 0.5rem 0 !important;
    text-align: center;
    border-top: 1px solid green;
    border-bottom: 1px solid green;
    background-color: #ccc !important;
}

.tooltip {
  position: fixed;
  background: #B53471;
  color: ivory;
  padding: 0.5rem 0.65rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
  z-index: 999999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

hr {
    border: none;
    height: 1px;
    background-color: blue;
    width: 70%;
    margin: 0.4rem auto !important;
}



@media (max-width: 1700px) {
    #main-container {
        width: 80%;
        min-width: 80%;
    }
    .navbar {
        width: 80%;
    }
    #sonuc {
        width: 30% !important;
    }
}

@media (max-width: 1500px) {
    html {
        font-size: 14px !important;
    }
    #main-container {
        width: 85%;
        min-width: 85%;
    }
    .navbar {
        width: 85%;
    }
    #sonuc {
        width: 35% !important;
    }
}

@media (max-width: 1300px) {
    #main-container {
        display: block;
        width: 90%;
        min-width: 90%;
    }
    .navbar {
        width: 90%;
    }
    fieldset, #nufus-puani-hesabi-container {
        width: 45%;
    }
    #sonuc {
        width: 40% !important;
    }

    #performans-tesvik-diger-container {
        width: 45%;
        flex-direction: column;
    }
    #performans-tesvik-container, #diger_durumlar {
        width: 100%;
    }
}

@media (max-width: 1000px) {
    html {
        font-size: 12px !important;
    }
    #sonuc {
        width: 45% !important;
    }
}

@media (max-width: 800px) {
    #main-container {
        width: 95%;
        min-width: 95%;
    }
    .navbar {
        width: 95%;
    }
    #parametre-container, #son-container {
        display: block;
    }
    fieldset, #son-container fieldset, #nufus-puani-hesabi-container, #performans-tesvik-diger-container {
        width: 90%;
    }
    #sonuc {
        width: 55% !important;
    }
    table {
        text-align: center !important;
    }
    hr{
        width: 50% !important;
    }
}

@media (max-width: 600px) {
    html {
        font-size: 10px !important;
    }
    #sonuc {
        width: 70% !important;
    }
}

@media (max-width: 400px) {
    #sonuc {
        width: 80% !important;
    }
    fieldset, #son-container fieldset, #nufus-puani-hesabi-container, #performans-tesvik-diger-container {
        width: 100%;
    }
}

/* ===== Menu Stilleri ===== */
/* menu style ayarları ! */
.navbar {
    position: relative;
    background: transparent;
    padding: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    width: 90%;
    max-width: 100% !important;
    font-size: 0.9rem !important;
    margin: 0 auto !important;
    gap: 0.5rem;
}
.navbar a {
    color: #fff;
    text-decoration: none;
    padding: 0.3rem 0.5rem;
}
.navbar a:hover {
    background-color: #bbb;
    border-radius: 5px;
}

.nav-select {
    background-color: ivory !important;
    color: #009 !important;
    margin-right: 1rem;
    font-size: 1.2rem !important;
}
.nav-label {
    color: ivory;
    white-space: nowrap;
    margin: auto 0;
    font-size: 0.9rem !important;
    font-weight: bold;
}
#nav-right {
    display: flex;
    position: absolute;
    right: 2.5rem;
    top: 121%;
}
#nav-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: 100%;
}

.nav-select, .nav-label {
    padding: 0.5rem;
    max-width: 10rem;
}

#resetBtn, #getInfos, #updateInfos, #pdfUploadBtn {
    margin: 0 auto;
    width: 6.5rem;
    min-height: 2rem;
    padding: 0.15rem 0.35rem !important;
    border: none;
    border-radius: 0.45rem;
    color: ivory;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
        font-size: 0.82rem !important;
    font-weight: bold;
}
#resetBtn, #getInfos, #updateInfos {
        background-color: #b42318;
}
#pdfUploadBtn {
        background-color: #087f8c;
}
#resetBtn span {
        margin-right: 0.25rem;
        font-size: 1.35rem !important;
}
#resetBtn:hover, #getInfos:hover, #updateInfos:hover {
    background-color: #8f1d14;
    transform: scale(1.03);
    box-shadow: 0 6px 12px rgba(0,0,0,0.25);
}
#pdfUploadBtn:hover {
    background-color: #056672;
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0,0,0,0.25);
}
#resetBtn:active, #getInfos:active, #updateInfos:active, #pdfUploadBtn:active {
  transform: scale(0.95);
}
#resetBtn:active, #getInfos:active, #updateInfos:active {
  background-color: #6f1710;
}
#pdfUploadBtn:active {
  background-color: #04515b;
}

.pdf-result-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(8, 15, 25, 0.68);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 1000001;
}
.pdf-result-modal.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.pdf-result-panel {
    width: min(40rem, calc(100vw - 2rem));
    max-height: calc(100vh - 2rem);
    box-sizing: border-box;
    padding: 1.2rem 1.35rem;
    background: ivory;
    color: #1f2933;
    border-top: 4px solid #087f8c;
    border-radius: 0.65rem;
    box-shadow: 0 14px 40px rgba(0,0,0,0.4);
    font-family: Century, Tahoma, sans-serif !important;
    font-size: 0.9rem !important;
    line-height: 1.45 !important;
    transform: translateY(0.75rem) scale(0.98);
    transition: transform 0.2s ease;
}
.pdf-result-panel,
.pdf-result-panel * {
    font-family: Century, Tahoma, sans-serif !important;
    letter-spacing: 0 !important;
}
.pdf-result-panel {
    font-weight: 400 !important;
}
.pdf-result-panel strong,
.pdf-result-panel b,
.pdf-result-panel th,
.pdf-result-panel .pdf-result-critical {
    font-weight: 700 !important;
}
.pdf-result-modal.is-visible .pdf-result-panel {
    transform: translateY(0) scale(1);
}
.pdf-progress-modal .pdf-result-close {
    display: none;
}
.pdf-progress-status {
    margin-bottom: 0.75rem;
    font-family: Century, Tahoma, sans-serif !important;
    font-size: 0.9rem !important;
    line-height: 1.45 !important;
    font-weight: 600;
    text-align: center;
}
.pdf-progress-track {
    width: 100%;
    height: 0.8rem;
    overflow: hidden;
    background: #d7e4e6;
    border-radius: 0.4rem;
}
.pdf-progress-bar {
    width: 0;
    height: 100%;
    background: #087f8c;
    transition: width 0.25s ease;
}
.pdf-progress-percent {
    margin-top: 0.5rem;
    font-family: Century, Tahoma, sans-serif !important;
    font-size: 0.82rem !important;
    line-height: 1.3 !important;
    color: #087f8c;
    font-weight: 700;
    text-align: center;
}
.pdf-result-warning .pdf-result-panel {
    border-top-color: #c17a00;
}
.pdf-result-modal.pdf-result-nonblocking {
    display: none !important;
    inset: auto 1rem 1rem auto !important;
    width: min(420px, calc(100% - 2rem)) !important;
    padding: 0 !important;
    background: transparent !important;
    opacity: 0;
    pointer-events: none !important;
    transform: translateY(1rem) !important;
}
.pdf-result-modal.pdf-result-nonblocking.is-visible {
    display: block !important;
    opacity: 1;
    pointer-events: none !important;
    transform: translateY(0) !important;
}
.pdf-result-modal.pdf-result-nonblocking .pdf-result-panel {
    width: 100% !important;
    max-height: min(32rem, calc(100vh - 2rem)) !important;
    overflow: auto !important;
    pointer-events: auto !important;
    background: #fff4cc !important;
    border: 1px solid #d39e00 !important;
    border-left: 4px solid #b77900 !important;
    border-top-color: #b77900 !important;
    border-radius: 0.35rem !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25) !important;
    color: #4a3500 !important;
}
.pdf-result-modal.pdf-result-nonblocking .pdf-result-content {
    max-height: min(24rem, calc(100vh - 8rem)) !important;
}
.pdf-result-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.pdf-result-heading h2 {
    margin: 0;
    font-family: Century, Tahoma, sans-serif !important;
    font-size: 1.05rem !important;
    line-height: 1.3 !important;
}
.pdf-result-content {
    min-height: 0;
    max-height: calc(100vh - 7rem);
    overflow-y: auto;
    overflow-x: hidden;
    margin-top: 0.8rem;
    font-family: Century, Tahoma, sans-serif !important;
    font-size: 0.9rem !important;
    line-height: 1.45 !important;
    white-space: normal;
}
.pdf-result-content ul {
    margin: 0;
    padding-left: 1.25rem;
}
.pdf-result-content li {
    margin: 0.45rem 0;
}
.pdf-result-content .pdf-result-critical {
    color: #b42318;
    font-weight: 800;
}
.pdf-comparison-table {
    width: 100% !important;
    table-layout: fixed !important;
    margin: 0.9rem 0 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    overflow: hidden !important;
    border: 2px solid #0f766e !important;
    border-radius: 0.55rem !important;
    background: #ffffff !important;
    color: #172b4d !important;
    font-family: Century, Tahoma, sans-serif !important;
    font-size: 0.78rem !important;
    line-height: 1.3 !important;
    box-shadow: 0 8px 18px rgba(15, 118, 110, 0.16) !important;
}
.pdf-comparison-table th,
.pdf-comparison-table td {
    padding: 0.65rem 0.45rem !important;
    border: 0 !important;
    border-bottom: 1px solid #d7e4e5 !important;
    color: #172b4d !important;
    text-align: center !important;
    vertical-align: middle !important;
    overflow-wrap: anywhere !important;
}
.pdf-comparison-table thead th {
    background: #0f766e !important;
    color: #ffffff !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.02em !important;
    text-transform: uppercase !important;
    border-bottom: 2px solid #115e59 !important;
}
.pdf-comparison-table tbody th {
    background: #e9f7f5 !important;
    color: #134e4a !important;
    font-weight: 800 !important;
    text-align: center !important;
}
.pdf-comparison-table thead th:first-child,
.pdf-comparison-table tbody th {
    text-align: center !important;
}
.pdf-comparison-table th:first-child {
    width: 28% !important;
}
.pdf-comparison-table tbody tr:nth-child(even) td:not(.pdf-difference-loss):not(.pdf-difference-gain) {
    background: #f4fbfa !important;
}
.pdf-comparison-table tbody tr:hover th,
.pdf-comparison-table tbody tr:hover td:not(.pdf-difference-loss):not(.pdf-difference-gain) {
    background: #dff4f1 !important;
}
.pdf-comparison-table tr:last-child th,
.pdf-comparison-table tr:last-child td {
    border-bottom: 0 !important;
}
.pdf-comparison-table .pdf-difference-loss {
    color: #991b1b !important;
    font-weight: 900 !important;
    background: #fecaca !important;
    box-shadow: inset 3px 0 0 #dc2626 !important;
}
.pdf-comparison-table .pdf-difference-gain {
    color: #166534 !important;
    font-weight: 900 !important;
    background: #bbf7d0 !important;
    box-shadow: inset 3px 0 0 #16a34a !important;
}
@media (max-width: 36rem) {
    .pdf-result-modal {
        padding: 0.75rem !important;
    }
    .pdf-result-panel {
        width: calc(100vw - 1.5rem) !important;
        padding: 1rem 0.8rem !important;
    }
    .pdf-result-modal.pdf-result-nonblocking {
        inset: auto 0 0 0 !important;
        width: 100% !important;
    }
    .pdf-result-modal.pdf-result-nonblocking .pdf-result-panel {
        max-height: min(18rem, calc(100vh - 1rem)) !important;
        border-right: 0 !important;
        border-bottom: 0 !important;
        border-radius: 0.55rem 0.55rem 0 0 !important;
    }
    .pdf-result-heading {
        gap: 0.5rem !important;
    }
    .pdf-result-heading h2 {
        font-size: 0.95rem !important;
        overflow-wrap: anywhere !important;
    }
    .pdf-comparison-table {
        font-size: 0.65rem !important;
    }
    .pdf-comparison-table th,
    .pdf-comparison-table td {
        padding: 0.55rem 0.22rem !important;
    }
    .pdf-comparison-table thead th {
        font-size: 0.59rem !important;
        letter-spacing: 0 !important;
    }
    .pdf-comparison-table th:first-child {
        width: 25% !important;
    }
}
.pdf-result-close {
    border: 0;
    background: transparent;
    color: #52606d;
    font-family: Century, Tahoma, sans-serif !important;
    font-size: 1.4rem !important;
    line-height: 1;
    cursor: pointer;
}
.pdf-result-close:hover {
    color: #1f2933;
}
.pdf-result-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.55rem;
    margin-top: 1rem;
}
.pdf-result-actions button {
    border: 0;
    border-radius: 0.35rem;
    padding: 0.4rem 0.65rem;
    font-family: Century, Tahoma, sans-serif !important;
    font-size: 0.82rem !important;
    color: white;
    cursor: pointer;
    font-weight: 700;
}
.pdf-year-confirm {
    background: #087f8c;
}
.pdf-upload-continue {
    background: #087f8c !important;
}
.pdf-year-cancel {
    background: #68737d;
}

/* Arka plan karartması */
.overlay {
    position: fixed;
    max-width: 100% !important;
    inset: 0;
    background: rgba(0,0,0,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    z-index: 999999;
    transition: opacity .4s ease;
}
.overlay h4 {
    font-size: 1.6rem !important;
    font-weight: bold !important;
    margin: 0.7rem 0;
}

/* Info Iconu */
#info { /* top-left */
    position: absolute;
    top: -1rem;
    left: 1rem;
    font-size: 1rem;
    font-weight: bold;
    font-family: cursive;
    background-color: black;
    color: blue;
    padding: 0;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: all 0.2s ease;
    cursor: pointer;
}
#info:hover {
    background-color: #555;
    transform: scale(1.2);
    box-shadow: 0 3px 8px rgba(0,0,0,0.25);
}
#info:active {
    transform: scale(1);
    background-color: darkgreen;
}

/* Popup kutusu */
#popupHeader {
  position: relative;
  border-bottom: 3px solid #0984e3;
}
#popupTitle {
  margin: 0;
  padding: 1.5rem;
  width: 70%;
}
#calcIcon {
  position: absolute;
  width: 30%;
  height: auto;
  right: 0;
  transform: translateY(-40%);
  background-color: ivory;
  opacity: 0.60;
  padding: 1.2rem 0.3rem;
  border-radius: 50%;
}
#popupDesc {
  margin-top: 3rem;
  font-size: 1.2rem !important;
  font-weight: 700 !important;
}

.popup {
    width: 70%;
    padding: 1.5rem;
    background: ivory;
    color: black;
    border-radius: 1rem;
    transform: scale(.7);
    transition: transform .4s ease;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    overflow-y: auto;
    max-height: 80vh;
}
.popup ul {
    margin: 0;
    padding: 0;
    padding-left: 1rem;
    list-style: none;
}
.popup ul>li li::before {
    content: "✅ ";
}
.popup li {
    margin: 2rem 0;
    font-size: 1rem !important;
    font-weight: 500 !important;
}
.popup .sub-title {
    font-weight: bold !important;
    /*color: blue !important;*/
}
.content>ul {
	list-style-type: none;
	padding: 0;
}
.content>ul>li {
	padding: 1rem 2rem;
	box-shadow: 0 3px 8px rgba(0,0,0,0.25);
    background-color: lightgray;
	border-radius: 0.5rem;
}
#mavi-alan {
    background-color: #2c3e50;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 0.3rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}
#gri-alan {
    background-color: #aaa;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 0.3rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}
#sari-alan {
    background-color: seagreen;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 0.3rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}
#yesil-alan {
    background-color: darkgreen;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 0.3rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}
.overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.overlay.active .popup {
    transform: scale(1);
}
.submit {
    font-size: 1rem !important;
    font-weight: bold;
    padding: 0.4rem !important;
    width: 90%;
    border: 1px solid goldenrod;
    border-radius: 0.5rem;
    box-sizing: border-box;
    margin: auto;
    background-color: #333;
    color: goldenrod;
}

#raporlaButton {
  font-size: 1rem !important;
  font-family: Consolas;
  font-weight: bold;
  background-color: darkred;
  color: gold;
  padding: 1.2rem;
  border: 1px solid goldenrod;
  border-radius: 1rem;
  box-shadow: 0 2px 5px rgba(0,0,255,0.5);
  transition: all 0.2s ease;
  cursor: pointer;
}
#raporlaButton:hover {
  background-color: seagreen;
  transform: scale(1.1);
  box-shadow: 0 3px 8px rgba(0,0,255,0.5);
}
#raporlaButton:active {
  transform: scale(1);
  background-color: darkgreen;
}

/* sayıların görünürlüğünü artırmak için sonradan yazıldı */
input {
    letter-spacing: 0.1rem !important;
}

/* print ayarları hepsi important olacak */
@media print {
  @page {
    size: A4 landscape !important;
    margin: 7mm !important;
  }

  body, main {
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
  }
  body {
    zoom: 0.8 !important;
  }

  body * {
    visibility: hidden !important;
  }

  *, *::before, *::after {
    box-sizing: border-box !important;
  }

  #main-container,
  #main-container * {
    visibility: visible !important;
    color: #000 !important;
    background: none !important;

    break-inside: auto !important;
    page-break-inside: auto !important;
  }

  #main-container {
    position: absolute !important;
    top: 2% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    /* transform: scale(0.96) translateX(-50%) !important; */
    display: flex !important;
    margin: 0 !important;

    page-break-after: avoid !important;
  }

  #parametre-container, #son-container {
    display: flex !important;
  }
  #temel_parametreler, #nufus_gruplari, #nufus-puani-hesabi-container, #odemeler, #brut-maas-kesintiler, #sonuc {
    width: 33% !important;
  }
  #performans-tesvik-diger-container {
    width: 100% !important;
    flex-direction: row !important;
  }
  #performans-tesvik-container, #diger_durumlar {
    width: 49.5% !important;
  }

  td, fieldset, legend {
    padding: 0 0.2rem!important;
    margin: 0 !important;
  }
  hr, #son-container, #nufus-puani-hesabi-container, #performans-tesvik-container, #diger_durumlar {
    margin: 0 !important;
  }
  #son-container, #performans-tesvik-container, #diger_durumlar, fieldset {
    margin-top: 0.6rem !important;
  }
  #net {
    padding: 2rem !important;
  }

  #sonuc {
    position: relative !important;
    left: 0 !important;
    bottom: 0 !important;
    transform: translateX(0) !important;
  }
  #sonuc table input, #net input {
    color: #000 !important;
  }

  header, footer, h4, .overlay, #info, .navbar, #raporlaButton {
    display: none !important;
  }
}


/**
 * User Manager Sayfa Stilleri
 */

 /* card görünümü */
#diyahed-maas-form-container {
    width: 500px;
    max-width: 90%;
    border-radius: 15px;
    background-color: rgba(72, 52, 212, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.75);
    padding: 2rem;
    margin-bottom: 3rem;
    text-align: center;
}
#diyahed-form-title {
    font-size: 1.2rem !important;
    color: lime !important;
    margin-bottom: 1rem;
}

/* Yönlendirme yapılacağı için şimdilik iptal edildi ! */
#diyahed-maas-form-container a {
    /* color: lime !important; */
}

/* Yönlendirme yapılacaksa aşağıdaki ayarlar aktif olmalı ! */
#redirect-login, #redirect-register {
    color: white !important;
    font-size: 1.4rem !important;
    text-decoration: none !important;
    margin: 0.5rem 0;
    display: inline-block;
    width: 90%;
    padding: 2rem 0.25rem;
    background-color: rgba(32, 191, 107, 0.85);
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.55);
    transition: all 0.3s ease;
}
#redirect-login:hover, #redirect-register:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.75);
}
#redirect-register {
    background-color: rgba(235, 59, 90, 0.85);
}

#diyahed-maas-form-container form {
    margin: 3rem 0;
}

#diyahed-maas-form-container label {
    font-family: "Tahoma";
    display: block;
    width: 90%;
    margin: 1rem auto 0 auto;
}

#diyahed-maas-form-container blockquote {
    font-size: 1rem;
    font-family: "Tahoma";
    color: pink;
    margin-top: 2rem;
}

#diyahed-maas-form-container input {
    color: darkblue !important;
    font-size: 1.2rem !important;
    font-family: "Tahoma";
    display: block;
    height: 2.5rem;
    width: 90%;
    margin: 0.5rem auto 0 auto;
    border: none;
    /* gray gradient background-color */
    background: linear-gradient(to left, #d3d3d3, #f0f0f0);
}

#diyahed-maas-form-container button {
    font-size: 1.2rem;
    color: darkblue !important;
    font-family: "Segoe UI", "Tahoma";
    display: block;
    height: 2.5rem;
    width: 65%;
    margin: 2rem auto;
    border: none;
    background: linear-gradient(to left, #d3d3d3, #f0f0f0);
    cursor: pointer;
}

#diyahed-user-message.error {
    font-size: 1rem;
    font-family: "Segoe UI", "Tahoma";
    padding: 0.5rem;
    color: ivory;
    font-weight: bold;
    background-color: rgba(255,0,0, 0.5);
    border-radius: 7px;
}
#diyahed-user-message.success {
    font-size: 1rem;
    font-family: "Segoe UI", "Tahoma";
    padding: 0.5rem;
    color: ivory;
    font-weight: bold;
    background-color: seagreen;
    border-radius: 7px;
}

#diyahed-register-il, #diyahed-register-ilce {
    width: 90%;
    height: 2.5rem;
    margin: 0.5rem auto 0 auto;
    padding: 0.5rem;
    font-size: 1rem !important;
    font-family: "Tahoma";
    color: blue !important;
    border: none;
    background: linear-gradient(to left, #d3d3d3, #f0f0f0);
}