/* ========== RESET ========== */
*{
    box-sizing:border-box;
    margin:0;
    padding:0;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#f4f6f8;
    padding:15px;
}

/* ========== CONTAINER ========== */
.admin-container{
    max-width:1100px;
    margin:30px auto;
    background:#fff;
    padding:20px;
    border-radius:8px;
}

/* ========== TOP BAR ========== */
.admin-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:15px;
}

.logout{
    color:#c62828;
    font-weight:bold;
    text-decoration:none;
}

/* ========== SEARCH FORM ========== */
.search-form{
    display:flex;
    gap:8px;
    margin-bottom:15px;
}

.search-form input,
.search-form select{
    flex:1;
    padding:6px 8px;
    height:32px;
    font-size:13px;
    border:1px solid #ccc;
    border-radius:6px;
}

.search-form button{
    padding:4px 10px;
    height:30px;
    font-size:12px;
    font-weight:bold;
    background:#4f6df5;
    color:#fff;
    border:none;
    border-radius:6px;
}

.search-form .btn-reset{
    font-size:12px;
    padding:4px 6px;
    text-decoration:none;
    color:#4f6df5;
}

/* ========== TABLE ========== */
.table-wrap{
    overflow-x:auto;
}

.admin-table{
    width:100%;
    border-collapse:collapse;
}

.admin-table th,
.admin-table td{
    padding:10px;
    border-bottom:1px solid #e0e0e0;
}

.admin-table th{
    background:#f5f7fa;
}

.admin-table a{
    color:#0066cc;
    text-decoration:none;
}

/* ========== STATUS ========== */
.status{
    padding:4px 10px;
    border-radius:12px;
    font-size:13px;
    font-weight:bold;
}

.status-gözləmədə{background:#fff3cd;}
.status-hazır{background:#d4edda;}
.status-təvil-verilib{background:#cce5ff;}
.status-səhv-oldu{background:#f8d7da;}

/* ========== DETAIL ========== */
.detail-container{max-width:800px;}

.detail-row{margin-bottom:8px;}
.detail-row span{font-weight:bold;}

.detail-block{margin-bottom:12px;}
.detail-block pre{
    background:#f6f6f6;
    padding:10px;
    border-radius:6px;
}

.detail-image{
    max-width:240px;
    border:1px solid #ddd;
    border-radius:6px;
}

/* ========== STATUS FORM ========== */
.status-form{
    display:flex;
    gap:8px;
    margin-top:10px;
}

.status-form select,
.status-form button{
    padding:8px;
}

/* ========== LOGIN ========== */
.box{
    max-width:380px;
    margin:40px auto;
    background:#fff;
    padding:20px;
    border-radius:8px;
}

.box input,
.box select,
.box textarea,
.box button{
    width:100%;
    padding:10px;
    margin-bottom:12px;
}

/* ========== MOBILE ========== */
@media(max-width:600px){
    .search-form{
        flex-wrap:wrap;
    }

    .search-form input,
    .search-form select{
        flex:1 1 100%;
    }

    .status-form{
        flex-direction:column;
    }
}
