/*
 * Form sayfalari (yeni_form = proje ekle/guncelle, rapor_yukle). Duz CSS - Smarty islemez.
 * Markup degismedi: #uyekayit formu ve rapor_yukle'nin ust yukleme formu (.gv-form-yukle). Amac: alanlar
 * ic ice degil; kart + izgara + belirgin etiket + tutarli giris kutulari.
 */
#uyekayit #account,
#uyekayit #account .container,
.gv-form-yukle .container {
    width: 100%;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

#uyekayit #account .row,
.gv-form-yukle .row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
    gap: 14px;
    margin: 0;
    align-items: start;
}

/* her alan = kendi karti */
#uyekayit #account .row > [class*="col-"],
.gv-form-yukle .row > [class*="col-"],
#uyekayit #harita_detaylari > [class*="col-"] {
    width: auto !important;
    max-width: none !important;
    float: none !important;
    margin: 0 !important;
    padding: 14px 16px !important;
    min-width: 0;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
    transition: border-color .15s ease, box-shadow .15s ease;
}

#uyekayit #account .row > [class*="col-"]:focus-within,
.gv-form-yukle .row > [class*="col-"]:focus-within,
#uyekayit #harita_detaylari > [class*="col-"]:focus-within {
    border-color: #93c5fd;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}

/* genis icerikler tam satir */
#uyekayit #account .row > .col-sm-12,
#uyekayit #account .row > [class*="col-"]:has(textarea),
#uyekayit #account .row > [class*="col-"]:has(.cke),
#uyekayit #account .row > [class*="col-"]:has(table),
#uyekayit #account .row > [class*="col-"]:has(input[type="file"]),
#uyekayit #account .row > .account-row,
#uyekayit #account .row > h2,
#uyekayit #harita_detaylari,
.gv-form-yukle .row > [class*="col-"]:has(textarea) {
    grid-column: 1 / -1;
}

#uyekayit #account .row > .col-sm-12 {
    padding: 0 !important;
    background: transparent;
    border: 0;
    box-shadow: none;
}

/* baslik */
#uyekayit #account .row > h2 {
    margin: 6px 0 2px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
}

/* harita/yatirim bolumu: kendi baslikli paneli */
#uyekayit #harita_detaylari {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 12px;
    padding: 16px;
    border: 1px dashed #93c5fd;
    border-radius: 16px;
    background: #f8fbff;
}

#uyekayit #harita_detaylari::before {
    content: "Harita ve yatırım bilgileri";
    grid-column: 1 / -1;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #1d4ed8;
}

/* etiketler */
#uyekayit #account p,
.gv-form-yukle label.input {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .02em;
    color: #475569;
}

/* giris kutulari */
#uyekayit label.input.input-default,
#uyekayit .input-input,
.gv-form-yukle label.input {
    display: block;
    width: 100%;
}

#uyekayit input[type="text"],
#uyekayit input[type="number"],
#uyekayit input[type="date"],
#uyekayit input[type="email"],
#uyekayit input[type="tel"],
#uyekayit select,
.gv-form-yukle input[type="text"],
.gv-form-yukle textarea {
    box-sizing: border-box;
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #fff;
    font-size: 15px;
    color: #1e293b;
}

#uyekayit .input-input input[type="text"] + input[type="text"] {
    margin-top: 8px;
}

.gv-form-yukle textarea {
    height: auto;
    min-height: 120px;
    padding: 10px 14px;
}

#uyekayit input[type="text"]:focus,
#uyekayit select:focus,
.gv-form-yukle textarea:focus {
    outline: none;
    border-color: #2563eb;
}

#uyekayit input[type="checkbox"] {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-left: 8px;
}

#uyekayit input[type="file"],
.gv-form-yukle input[type="file"] {
    display: block;
    width: 100%;
    padding: 14px;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    background: #f8fafc;
    font-size: 14px;
    cursor: pointer;
}

/* editor / tablo tasmasin */
#uyekayit .cke,
#uyekayit .cke_chrome {
    max-width: 100%;
    border-radius: 10px;
}

#uyekayit table {
    max-width: 100%;
}

/* butonlar */
#uyekayit .account-row,
.gv-form-yukle .account-button {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

#uyekayit button.button-blue,
.gv-form-yukle button.button-blue {
    min-height: 46px;
    padding: 0 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
}
