<style>


/* ================= ADMIN BAR ================= */
.admin-bar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:14px 20px;
    margin-bottom:20px;

    background:rgba(15,23,42,0.85);
    backdrop-filter:blur(8px);

    border-radius:14px;
    border:1px solid #1e293b;
    box-shadow:0 0 20px rgba(56,189,248,0.25);
}

.admin-left{
    color:#7dd3fc;
    font-size:15px;
}

.admin-center{
    font-size:18px;
    font-weight:bold;
    color:#38bdf8;
    text-shadow:0 0 8px rgba(56,189,248,0.6);
}

.admin-right{
    display:flex;
    gap:10px;
    align-items:center;
}

/* Ortak admin buton */
.admin-btn{
    padding:8px 14px;
    border-radius:10px;
    font-size:14px;
    font-weight:bold;
    border:none;
    cursor:pointer;
    text-decoration:none;
    transition:0.25s;
}

/* Loglar */
.log-btn{
    background:linear-gradient(135deg,#0ea5e9,#38bdf8);
    color:white;
    box-shadow:0 0 10px rgba(56,189,248,0.45);
}
.log-btn:hover{
    transform:translateY(-2px);
}

/* Çıkış */
.exit-btn{
    background:linear-gradient(135deg,#dc2626,#ef4444);
    color:white;
    box-shadow:0 0 10px rgba(239,68,68,0.45);
}
.exit-btn:hover{
    transform:translateY(-2px);
}

/* ==== GENEL TASARIM ==== */
body{
    background:#020617;
    color:#e5e7eb;
    font-family:Segoe UI,Arial;
    padding:20px;
}

h2{
    color:#38bdf8;
    margin-bottom:15px;
}

/* Genel input / button base */
input,select,button,textarea{
    padding:10px;
    border-radius:8px;
    border:1px solid #334155;
    background:#020617;
    color:#e5e7eb;
    font-size:14px;
}

button{
    cursor:pointer;
    transition:0.2s;
}
button:hover{
    opacity:0.9;
}

/* ==== ÜST KONTROL PANELİ (ARA + TARİH) ==== */
.control-panel {
    background: rgba(15, 23, 42, 0.85);
    padding: 16px;
    border-radius: 14px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    backdrop-filter: blur(6px);
    border: 1px solid #1e293b;
    box-shadow: 0 0 14px rgba(56,189,248,0.20);
    margin-bottom: 18px;
	flex-direction: column;   /* <-- BÜYÜK ÇÖZÜM BURADA */
}

.control-panel form {
    display:flex;
    gap:10px;
    flex:1;
}

.control-panel input{
    background:#020617;
    border-color:#334155;
    height:40px;
}
.control-panel input:focus{
    outline:none;
    border-color:#38bdf8;
    box-shadow:0 0 10px rgba(56,189,248,0.4);
}

.control-panel button{
    height:40px;
    padding:0 18px;
    background:linear-gradient(135deg,#0ea5e9,#38bdf8);
    border:none;
    border-radius:10px;
    font-weight:bold;
    box-shadow:0 0 10px rgba(56,189,248,0.45);
}

.clear-btn {
    padding:10px 16px;
    border-radius:10px;
    text-decoration:none;
    color:#f9fafb;
    background:linear-gradient(135deg,#dc2626,#ef4444);
    box-shadow:0 0 10px rgba(239,68,68,0.5);
    font-size:14px;
}

/* ==== ITEM FORM TASARIMI ==== */
.item-form {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid #1f2937;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 0 16px rgba(15,23,42,0.9);
    margin-bottom: 22px;
}

.item-form-title{
    font-size:16px;
    margin-bottom:10px;
    color:#7dd3fc;
}

.item-grid {
    display: grid;
    grid-template-columns: repeat(6,1fr);
    gap: 12px;
}

.item-grid input,
.item-grid select,
.item-grid textarea {
    width: 100%;
    background:#020617;
    border:1px solid #334155;
    border-radius:10px;
    padding:9px 10px;
    color:#e5e7eb;
}

.item-grid input:focus,
.item-grid select:focus,
.item-grid textarea:focus {
    border-color:#38bdf8;
    box-shadow:0 0 10px rgba(56,189,248,0.4);
    outline:none;
}

.item-form button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg,#0ea5e9,#38bdf8);
    border: none;
    color: white;
    font-size: 15px;
    border-radius: 10px;
    margin-top: 10px;
    font-weight: bold;
}
.item-form button:hover{
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(56,189,248,0.5);
}

/* ==== GENEL KUTU ==== */
.kutu{
    background:#020617;
    padding:15px;
    border-radius:12px;
    box-shadow:0 0 10px #0005;
}

/* ==== KASA KUTULARI ==== */
.kasa-wrapper{
    display:flex;
    gap:20px;
    margin-top:25px;
}

.kasa-box{
    flex:1;
    padding:18px;
    border-radius:16px;
    background:rgba(15,23,42,0.95);
    backdrop-filter:blur(6px);
    border:1px solid #1e293b;
    text-align:center;
    box-shadow:0 0 14px rgba(56,189,248,0.25);
    transition:0.25s;
}

.kasa-box:hover{
    transform:translateY(-3px);
    box-shadow:0 0 18px rgba(56,189,248,0.4);
}

.kasa-title{
    display:block;
    font-size:15px;
    color:#38bdf8;
}

.kasa-value{
    display:block;
    margin-top:6px;
    font-size:22px;
    font-weight:bold;
}

/* ========================================================= */
/* ===================== PREMIUM TABLE ===================== */
/* ========================================================= */

table{
    width:100%;
    border-collapse:collapse;
    margin-top:10px;
    overflow:hidden;
    border-radius:12px;
    background:rgba(15,23,42,0.85);
    backdrop-filter:blur(6px);
    box-shadow:0 0 18px rgba(56,189,248,0.15);
}

/* TABLO BAŞLIKLARI */
th{
    background:linear-gradient(135deg,#020617,#020617);
    padding:12px;
    color:#38bdf8;
    border-bottom:2px solid #334155;
    text-transform:uppercase;
    letter-spacing:.5px;
    font-size:12px;
}

/* TABLO HÜCRELERİ */
td{
    padding:9px;
    border-bottom:1px solid #475569;
    border-right:1px solid #334155;
    font-size:13px;
}

/* SATIR HOVER */
tr:hover{
    background:rgba(56,189,248,0.10);
    transition:0.25s;
}

/* BEKLEMEDE SATIRLAR */
tr.beklemede{
    background:linear-gradient(135deg,#7c2d12,#a16207);
    color:#fff3cd;
    font-weight:500;
}
tr.beklemede:hover{
    background:linear-gradient(135deg,#9a3412,#ca8a04);
}

/* SATILAN SATIRLAR */
tr.satildi{
    background:linear-gradient(135deg,#064e3b,#166534);
    color:#bbf7d0;
    font-weight:500;
}
tr.satildi:hover{
    background:linear-gradient(135deg,#047857,#22c55e);
}

/* NOT ALANI */
.not-cell{
    max-width:220px;
    word-break:break-word;
    text-align:left;
}

/* ====== BUTON TASARIMLARI ====== */
.islem-btn{
    margin:3px;
    padding:6px 10px;
    border-radius:8px;
    font-weight:bold;
    border:1px solid transparent;
    font-size:12px;
}

.satildi-btn{
    background:linear-gradient(135deg,#16a34a,#22c55e);
    border-color:#22c55e;
}

.duzenle-btn{
    background:linear-gradient(135deg,#0ea5e9,#38bdf8);
    border-color:#38bdf8;
}

.sil-btn{
    background:linear-gradient(135deg,#dc2626,#ef4444);
    border-color:#ef4444;
}

.islem-btn:hover{
    transform:scale(1.05);
    box-shadow:0 0 10px rgba(56,189,248,0.4);
    transition:0.2s;
}

/* ITEM LİNK */
a.item-link{
    color:#7dd3fc;
    font-weight:bold;
    text-decoration:underline;
}

/* PAGİNATİON LİNKLERİ */
.page-link{
    margin:0 5px;
    padding:6px 12px;
    background:#020617;
    color:#e5e7eb;
    border-radius:6px;
    text-decoration:none;
    border:1px solid #334155;
    font-size:13px;
}
.page-link:hover{
    background:#0f172a;
    box-shadow:0 0 10px rgba(56,189,248,0.4);
}

</style>