﻿/* ============================================================
   KOORDİNAT KOPYALA MODERN MODAL CSS (KOMPAKT SÜRÜM)
   ============================================================ */

.koor-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Ekranı tam ortalar */
    width: 320px; /* Kompakt genişlik */
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2); /* Şık gölge */
    z-index: 999999 !important; /* Haritanın daima üstünde */
    font-family: 'Open Sans', sans-serif;
    overflow: hidden;
    border: 1px solid #eaeaea;
    transition: all 0.3s ease;
}

    /* Sürükleme esnasında imleç */
    .koor-modal.dragme {
        cursor: move;
    }

/* Modal Başlık Alanı */
.koor-modal-header {
    background-color: #f4f6f8;
    padding: 10px 14px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.koor-modal-title {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.koor-close-btn {
    cursor: pointer;
    width: 14px;
    height: 14px;
    opacity: 0.5;
    transition: opacity 0.2s;
}

    .koor-close-btn:hover {
        opacity: 1;
    }

/* Modal İçerik Alanı */
.koor-modal-body {
    padding: 12px 14px;
}

.koor-form-group {
    margin-bottom: 10px;
}

.koor-label {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #555;
}

/* İnputlar ve Select */
.koor-input,
.koor-select {
    width: 100%;
    padding: 6px 10px;
    font-size: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

    .koor-input:focus,
    .koor-select:focus {
        border-color: #337ab7;
        outline: none;
    }

/* Sadece okunabilir inputlar */
.readonly-input {
    background-color: #f9f9f9;
    color: #777;
    border-style: dashed;
}

/* Sonuç alanı vurgusu */
.koor-result-group {
    background-color: #f0f9ff;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #b3e5fc;
}

.koor-result-input {
    background-color: #fff;
    font-weight: bold;
    color: #01579b;
    font-family: 'Courier New', monospace;
    font-size: 13px;
}

/* Custom Select Wrapper */
.koor-select-wrapper {
    position: relative;
}

/* Modal Buton Alanı */
.koor-modal-footer {
    background-color: #f4f6f8;
    padding: 8px 14px;
    border-top: 1px solid #eee;
    text-align: right;
}

/* Buton Stilleri */
.koor-btn {
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.koor-btn-default {
    background-color: #fff;
    color: #333;
    border-color: #ccc;
}

    .koor-btn-default:hover {
        background-color: #eee;
        border-color: #adadad;
    }

.koor-btn-primary {
    background-color: #337ab7;
    color: #fff;
    border-color: #2e6da4;
    margin-left: 8px;
}

    .koor-btn-primary:hover {
        background-color: #286090;
        border-color: #204d74;
    }

/* FontAwesome ikon boşluğu */
.koor-btn .fa {
    margin-right: 4px;
}
