/* RESET */
* {
    margin:0;
    padding:0;
    box-sizing:border-box;
}

/* BODY */
body {
    font-family: Inter, Arial, sans-serif;
    background: linear-gradient(135deg, #fff7ed, #ffedd5);
    color:#3f2f1c;
}

/* HEADER */
.header {
    background: linear-gradient(90deg, #f97316, #ea580c);
    padding:15px 30px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    box-shadow:0 4px 10px rgba(0,0,0,0.2);
}

.logo {
    font-size:20px;
    font-weight:bold;
    color:white;
}

/* MENU */
.menu a {
    color:white;
    margin-left:20px;
    text-decoration:none;
    font-weight:500;
}

.menu a:hover {
    opacity:0.8;
}

/* CONTAINER */
.container {
    padding:30px;
}

/* TITLE */
.title {
    margin-bottom:20px;
    font-size:22px;
    font-weight:600;
    color:#c2410c;
}

/* CARD */
.card {
    background:#ffffff;
    padding:20px;
    border-radius:16px;
    margin-bottom:20px;
    border:1px solid #fed7aa;
    box-shadow:0 8px 25px rgba(0,0,0,0.1);
}

/* INPUT */
input, select, textarea {
    width:100%;
    padding:12px;
    margin-bottom:10px;
    border-radius:10px;
    border:1px solid #fed7aa;
    background:#fff;
    color:#3f2f1c;
    transition:0.2s;
}

input:focus, select:focus, textarea:focus {
    outline:none;
    border-color:#f97316;
}

/* BUTTON */
button {
    width:100%;
    padding:12px;
    background: linear-gradient(90deg, #f97316, #ea580c);
    border:none;
    color:white;
    border-radius:10px;
    font-weight:bold;
    cursor:pointer;
    transition:0.2s;
}

button:hover {
    transform:scale(1.02);
}

/* BUTTON TYPES */
.btn-primary {
    background: linear-gradient(90deg, #f97316, #ea580c);
}

.btn-warning {
    background: linear-gradient(90deg, #f59e0b, #d97706);
}

.btn-danger {
    background: linear-gradient(90deg, #ef4444, #dc2626);
}

.btn-dark {
    background:#78350f;
}

/* TABLE */
.table {
    width:100%;
    border-collapse:collapse;
    border-radius:12px;
    overflow:hidden;
}

.table th {
    background:#fb923c;
    padding:12px;
    color:white;
}

.table td {
    padding:12px;
    border-bottom:1px solid #fed7aa;
}

.table tr:hover {
    background:#fff7ed;
}

/* GRID */
.grid-2 {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:15px;
}

.grid-4 {
display: grid;

/* eskisi: 1fr (tam genişlik) */
/* yenisi: sabit dar kutular */
grid-template-columns: repeat(4, 180px);

gap: 12px;
justify-content: flex-start; /* sola yasla */
}

/*Stat Card Modern*/

.stat-card.modern {
display: flex;
align-items: center;
gap: 10px;

padding: 12px 14px;        /* küçüldü */
border-radius: 10px;       /* daha yumuşak */

background: linear-gradient(135deg, #2c7be5, #1a4fbf);
color: #fff;

min-height: 70px;          /* sabit yükseklik */
}

.stat-card.modern .icon {
font-size: 20px;           /* küçüldü */
background: rgba(255,255,255,0.15);
padding: 6px;
border-radius: 8px;
}

.stat-card.modern .info h3 {
margin: 0;
font-size: 18px;           /* küçüldü */
}

.stat-card.modern .info p {
margin: 0;
font-size: 12px;
opacity: 0.8;
}

/* STAT CARD */
.stat-card {
    background: linear-gradient(135deg, #f97316, #ea580c);
    padding:20px;
    border-radius:16px;
    color:white;
    text-align:center;
    box-shadow:0 8px 20px rgba(0,0,0,0.2);
}

.stat-card h3 {
    font-size:28px;
}

/* BADGE */
.badge {
    padding:5px 10px;
    border-radius:6px;
    font-size:12px;
}

.badge-success {
    background:#16a34a;
    color:#fff;
}

.badge-danger {
    background:#dc2626;
    color:#fff;
}

.badge-warning {
    background:#f59e0b;
    color:#fff;
}

/* LOGIN */
.login-box {
    width:350px;
    margin:100px auto;
    padding:30px;
    background:#fff;
    border-radius:16px;
    box-shadow:0 10px 30px rgba(0,0,0,0.2);
    text-align:center;
}

/* TOPBAR */
.topbar {
    display:flex;
    justify-content:space-between;
    margin-bottom:20px;
}

/* DATE */
.date-box input {
    border:2px solid #f97316;
}

/* STATUS */
.status-select {
    background:#fff;
    border:1px solid #fed7aa;
}

/* MENU CENTER */
.menu {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.grid-2x2 {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 12px;
}
.dashboard-row {
display: flex;
gap: 20px;
}

/* sağ panel */
.side-box {
width: 300px;     /* dar genişlik */
flex-shrink: 0;
}

/* sol taraf (boş alan veya tablo vs.) */
.main-area {
flex: 1;
}