.top-container{
    display: flex;
    padding: 0;
    flex-direction: row;
    justify-content: space-between;  
    position: absolute;
    width: 300px;
    height: 45px;
    top: 2svh;
    left: 2svw;
}

.top-menu{
    position:absolute;
    width: 250px;
    height: inherit;  
}

.top-menu ul{
    display: flex;
    flex-direction: row;
    justify-content: space-between;  
}

.top-item,
.top-item-top,
.top-item-bot{  
    display: flex;
    justify-content: center;
    width: 44px;
    height: 44px;
    cursor: pointer;
    align-items:center;
    border-radius: 100%;
    background: linear-gradient(180deg, light-dark(#fff,#7a6672) 30%, light-dark(#fff, #16020e) 100%);
    box-shadow: 0px 0px 10px 0px light-dark(rgba(0, 0, 0, 0.15),rgba(112, 83, 101, 0.63));
}

.top-item svg,
.top-item-top svg,
.top-item-bot svg{
    position:relative;
    width: 50%;
    height: 50%;
    align-items:center;
    justify-content:center;
    
}

.top-item-top svg path,
.top-item-bot svg path,
.top-item svg path{
    fill: light-dark(#4686bb, white);
}

.top-item:hover,
.top-item-bot:hover,
.top-item-top:hover{
    background: linear-gradient(180deg, light-dark(#56BAE1,#7a6672) 50%, light-dark(#629DF3, #cab6c2) 100%);  
}

.top-item-top:hover svg path,
.top-item-bot:hover svg path,
.top-item:hover svg path {
    fill: #fff;
}
#adres-parsel-box{
    display: none;
  }

.top-box {
    position: absolute;
    left: 90px;
    top: 75px;    
    background: linear-gradient(180deg, light-dark(#fff,#66525e) 30%, light-dark(#fff, #16020e) 100%);
    border-radius: 15px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
    width: 300px;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0.9;
    height: 440px;
}
.top-box#adres-parsel-box {
    position: absolute;
    left: 90px;
    top: 75px;    
    background: linear-gradient(180deg, light-dark(#fff,#66525e) 30%, light-dark(#fff, #16020e) 100%);
    border-radius: 15px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
    width: 200px;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0.9;
    height: 150px;
}

.top-item#aps::after {
    content: attr(placeholder);
    position: absolute;
    top: -20px;
    left: 0;
    background: light-dark(#3179b594, #16020ecb);
    color: white;
    font-size: 12px;
    padding: 5px 8px;
    border-radius: 5px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
}

.top-item#aps:hover::after {
    content: "Ada Parsel Sorgu";
    top: 105%;
    left: 60%;
    opacity: 1;
    visibility: visible;
}

.top-item#panaromik::after {
    content: attr(placeholder);
    position: absolute;
    top: -20px;
    left: 0;
    background: light-dark(#3179b594, #16020ecb);
    color: white;
    font-size: 12px;
    padding: 5px 8px;
    border-radius: 5px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
}

.top-item#panaromik:hover::after {
    content: "Panaromik";
    top: 105%;
    left: 48%;
    opacity: 1;
    visibility: visible;
}


.top-item#kamera::after {
    content: attr(placeholder);
    position: absolute;
    top: -20px;
    left: 0;
    background: light-dark(#3179b594, #16020ecb);
    color: white;
    font-size: 12px;
    padding: 5px 8px;
    border-radius: 5px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
}

.top-item#kamera:hover::after {
    content: "Şehir Kameraları";
    top: 105%;
    left: 27%;
    opacity: 1;
    visibility: visible;
}


.top-item-top#mainpage::after {
    content: attr(placeholder);
    position: absolute;
    top: -20px;
    left: 0;
    background: light-dark(#3179b594, #16020ecb);
    color: white;
    font-size: 12px;
    padding: 5px 8px;
    border-radius: 5px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
}

.top-item-top#mainpage:hover::after {
    content: "BBB Anasayfa";
    top: 105%;
    left: -5%;
    opacity: 1;
    visibility: visible;
}


.top-item#alt-katmanlar::after {
    content: attr(placeholder);
    position: absolute;
    top: -20px;
    left: 0;
    background: light-dark(#3179b594, #16020ecb);
    color: white;
    font-size: 12px;
    padding: 5px 8px;
    border-radius: 5px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
}

.top-item#alt-katmanlar:hover::after {
    content: "Alt Katmanlar";
    top: 105%;
    left: 12%;
    opacity: 1;
    visibility: visible;
}

.top-item-bot#mapi-temizle::after {
    content: attr(placeholder);
    position: absolute;
    top: -20px;
    left: 0;
    background: light-dark(#3179b594, #16020ecb);
    color: white;
    font-size: 12px;
    padding: 5px 8px;
    border-radius: 5px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
}

.top-item-bot#mapi-temizle:hover::after {
    content: "Haritayı Temizle";
    top: 105%;
    left: 80%;
    opacity: 1;
    visibility: visible;
}

.tab-container-apb {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    background-color: light-dark(rgba(49, 121, 181, 0.58), #16020ecb);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    padding: 5px;
}

.tab-button-apb {
    background-color: transparent;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    flex: 1;
    text-align: center;
    font-weight: bold;
    color: #666;
    z-index: 1;
    position: relative;
    transition: 1s;
}

.tab-button-apb.active {
    background-position-x: 100%;
    background-color: rgba(49, 121, 181, 0.58);
    color: #fff;
    z-index: 2;
    border-radius: 10px;
}

.form-container-apb {
    
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-input-apb {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box;
    background: light-dark(#d9edf394, #16020e);

}

.query-button {
    left: 50%;
    border-radius: 5px;
    background-color: transparent;
    padding: 10px 20px;
    cursor: pointer;
    border: 1px solid #cab6c2;
    flex: 1;
    text-align: center;
    font-weight: bold;
    color: #666;
    z-index: 1;
    margin: 10px;
    margin-left: 80px;
}

.close-apb svg{
    transform: translateX(1000%);
}
.top-box#adres-parsel-box .close-apb svg{
    transform: translateX(600%);
}

/* katman  */
#katman-plan-box {
    display: none;
    position: absolute;
    left: 90px;
    top: 75px;    
    background: linear-gradient(180deg, light-dark(#fff,#66525e) 30%, light-dark(#fff, #16020e) 100%);
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    width: 320px;
    overflow: hidden;
    padding: 0;
    box-sizing: border-box;
    opacity: 0.95;
    height: auto;
    max-height: 460px;
}

#binlik-plan-box{
    display: none;
    position: relative;
    width: 300px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.tabs {
    display: flex;
    background: linear-gradient(180deg, light-dark(#629DF3 ,#070307 ) 0%, light-dark(#56BAE1, #4e414e) 100%);
    border-radius: 0; 
    padding: 8px;
    justify-content: space-between;
}

.tab {
    flex: 1;
    padding: 10px 5px;
    text-align: center;
    cursor: pointer;
    border: none;
    background-color: inherit;
    color: light-dark(white,#ddd);
    transition: background-color 0.3s, color 0.3s;
    border-radius: 8px;
    margin: 0 3px;
    font-weight: 500;
}

.tab:hover {
    background: light-dark(rgba(255, 255, 255, 0.4), rgba(78, 65, 78, 0.7));
    color: light-dark(#4d6fa1, white);
}

.tab.active {
    background: light-dark(white, #3b2d3b);
    color: light-dark(black, white);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
    font-weight: bold;
}

.tab-content {
    display: none;
    padding: 15px;
    height: auto;
    max-height: 350px;
    overflow-y: auto;
}

.map-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.map-option:hover {
    transform: translateY(-3px);
    background-color: light-dark(rgba(96, 157, 243, 0.1), rgba(78, 65, 78, 0.3));
}

.map-option img {
    width: 90px;
    height: 90px;
    border-radius: 10px;
    border: 2px solid transparent;
    transition: border-color 0.3s;
    object-fit: cover;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.map-option:hover img {
    border-color: light-dark(#56BAE1, #4e414e);
}

.map-option p {
    margin-top: 8px;
    font-size: 14px;
    color: light-dark(black, white);
    font-weight: 500;
}

.close-apb {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 100;
    cursor: pointer;
    background-color: light-dark(rgba(255, 255, 255, 0.5), rgba(0, 0, 0, 0.3));
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.2s;
}

.close-apb:hover {
    background-color: light-dark(rgba(255, 255, 255, 0.8), rgba(0, 0, 0, 0.5));
}

.close-apb svg {
    transform: none;
    width: 16px;
    height: 16px;
}
