﻿:root {
    --black: #0b0b0b;
    --black-2: #141414;
    --yellow: #f5c400;
    --yellow-dark: #e0b300;
    --text: #ffffff;
    --muted: rgba(255,255,255,.72);
    --border: rgba(255,255,255,.12);
    --danger: #ff6b6b;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial;
    background: radial-gradient(900px 520px at 20% 10%, rgba(0,0,0,.08), transparent 60%), radial-gradient(900px 520px at 80% 20%, rgba(0,0,0,.06), transparent 60%), linear-gradient(180deg, #ffe06a 0%, var(--yellow) 35%, #f0b400 100%);
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
}

.container {
    width: 100%;
    max-width: 860px;
}

/* LOGO BAR */
.brand-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
    background: rgba(255,255,255,.55);
    border: 1px solid rgba(0,0,0,.12);
    border-radius: 16px;
    padding: 14px 18px;
    box-shadow: 0 10px 28px rgba(0,0,0,.18);
    backdrop-filter: blur(6px);
}

.brand-logo {
    height: 54px;
    width: auto;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: .3px;
    color: #0b0b0b;
}

.brand-sub {
    font-size: 13px;
    color: rgba(0,0,0,.65);
}

/* CARD */
.card {
    background: linear-gradient(180deg, #151515, #060606);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 18px;
    box-shadow: 0 28px 80px rgba(0,0,0,.55);
    overflow: hidden;
}

.card-body {
    padding: 24px;
}

.page-title {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 6px 0;
    color: var(--text);
}

.page-subtitle {
    font-size: 14px;
    color: rgba(255,255,255,.70);
    margin-bottom: 18px;
    line-height: 1.5;
}

/* ALERT */
.alert {
    border-radius: 14px;
    padding: 12px 14px;
    font-size: 13px;
    margin-bottom: 14px;
}

.alert-danger {
    background: rgba(255,107,107,.14);
    border: 1px solid rgba(255,107,107,.45);
    color: #fff;
}


/* Kurum Kodu alanı */
.form-row {
    margin-bottom: 14px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: rgba(255,255,255,.85);
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    border-radius: 12px;
    padding: 12px 14px;
    font-weight: 800;
    font-size: 14px;
    color: #fff;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.14);
    outline: none;
    transition: border-color .15s ease, background .15s ease;
}

    .form-input:focus {
        border-color: rgba(245,196,0,.70);
        background: rgba(255,255,255,.06);
    }

.form-help {
    margin-top: 6px;
    font-size: 12px;
    color: rgba(255,255,255,.65);
}

/* DROPZONE — TEK KESİKLİ ÇERÇEVE (DÜZELTİLDİ) */
.dropzone {
    /* KRİTİK: label inline olmasın; tam kutu çizilsin */
    display: block;
    width: 100%;
    position: relative;
    border-radius: 16px;
    padding: 22px;
    /* Tek kesikli çerçeve */
    border: 2px dashed rgba(245,196,0,.60);
    background: linear-gradient(180deg, rgba(245,196,0,.06), rgba(245,196,0,.03));
    transition: border-color .15s ease, background .15s ease;
    cursor: pointer;
    user-select: none;
}

    .dropzone.dragover {
        border-color: var(--yellow);
        background: linear-gradient(180deg, rgba(245,196,0,.14), rgba(245,196,0,.06));
    }

    /* Klavye ile focus olunca ayrı bir “ikinci çerçeve” oluşmasın diye */
    .dropzone:focus,
    .dropzone:focus-visible {
        outline: none;
    }

/* İç düzen */
.dz-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.dz-left {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.dz-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border: none;
    background: rgba(245,196,0,.22);
    box-shadow: 0 8px 20px rgba(245,196,0,.18);
}

.dz-title {
    font-size: 14px;
    font-weight: 800;
    margin: 0;
    color: var(--text);
}

.dz-hint {
    font-size: 13px;
    color: rgba(255,255,255,.72);
    margin-top: 4px;
    line-height: 1.45;
}

.file-meta {
    margin-top: 10px;
    font-size: 13px;
    color: rgba(255,255,255,.75);
    display: none;
    gap: 8px;
}

input[type="file"] {
    display: none;
}

/* BUTTONS */
.btn {
    border-radius: 12px;
    padding: 11px 16px;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.02);
    color: #fff;
    transition: transform .12s ease, background .12s ease, filter .12s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

    .btn:hover {
        background: rgba(255,255,255,.06);
    }

    .btn:active {
        transform: translateY(1px);
    }

.btn-yellow {
    background: linear-gradient(180deg, var(--yellow), var(--yellow-dark));
    color: #000;
    border-color: rgba(0,0,0,.22);
    box-shadow: 0 12px 30px rgba(245,196,0,.35);
}

    .btn-yellow:hover {
        background: linear-gradient(180deg, #ffd84d, #f5c400);
        color: #000;
        transform: translateY(-1px);
    }

.btn-ghost {
    background: transparent;
    color: rgba(255,255,255,.78);
}

.btn:disabled {
    opacity: .55;
    cursor: not-allowed;
    transform: none;
}

.actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.footer {
    margin-top: 16px;
    font-size: 12px;
    color: rgba(255,255,255,.70);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

@media (max-width: 600px) {
    .actions .btn {
        flex: 1 1 auto;
        justify-content: center;
    }
}
