/* 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;
    width: 100%;
    margin-right: auto;
    margin-left: 2.5rem;
}

.nav-select, .nav-label {
    padding: 0.5rem;
    max-width: 10rem;
}

#resetBtn, #getInfos, #updateInfos {
    margin-left: 0.5rem;
    width: 7.5rem;
    padding: 0.2rem !important;
    border: none;
    border-radius: 0.75rem;
    background-color: #00b894;
    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.95rem !important;
    font-weight: bold;
}
#resetBtn span {
    margin-right: 0.4rem;
    font-size: 2rem !important;
}
#resetBtn:hover, #getInfos:hover, #updateInfos:hover {
  background-color: #009432;
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0,0,0,0.25);
}
#resetBtn:active, #getInfos:active, #updateInfos:active {
  transform: scale(0.95);
  background-color: red;
}

/* 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 {
    margin: 0.7rem 0;
}
/* Popup kutusu */
.popup {
    width: 18rem;
    padding: 1rem;
    background: #fff;
    border-radius: 1rem;
    transform: scale(.7);
    transition: transform .4s ease;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}
.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;
}