* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'PT Serif', Georgia, serif;
    background-color: #f3f2f0;
    color: #444;
    font-size: 14px;
    line-height: 1.6;
}

a { color: #36AB8A; text-decoration: none; }
a:hover { color: rgba(54, 171, 138, 0.75); }

.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 240px;
    background: #ffffff;
    border-right: 1px solid #e6e4e0;
    padding: 25px 0;
    flex-shrink: 0;
}

.admin-brand {
    text-align: center;
    padding: 0 20px 25px;
    border-bottom: 2px solid #F8AFB8;
    margin-bottom: 20px;
}

.admin-brand h1 {
    font-family: 'Niconne', cursive;
    font-size: 32px;
    font-weight: 400;
    color: #36AB8A;
    line-height: 1.1;
}

.admin-brand span {
    font-family: 'Raleway', sans-serif;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #888;
}

.admin-nav { list-style: none; }
.admin-nav li a {
    display: block;
    padding: 12px 24px;
    font-family: 'Raleway', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #555;
    border-left: 3px solid transparent;
}

.admin-nav li a:hover,
.admin-nav li a.active {
    background: #faf9f7;
    color: #36AB8A;
    border-left-color: #F8AFB8;
}

.admin-main {
    flex: 1;
    padding: 30px 40px;
}

.admin-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e6e4e0;
}

.page-heading {
    font-family: 'Niconne', cursive;
    font-size: 34px;
    font-weight: 400;
    color: #333;
}

.page-heading em {
    font-style: normal;
    color: #F8AFB8;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.card {
    background: #ffffff;
    border: 1px solid #e8e6e3;
    padding: 24px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    margin-bottom: 25px;
}

.stat-card {
    text-align: center;
    border-top: 3px solid #F8AFB8;
}

.stat-number {
    font-size: 36px;
    color: #36AB8A;
    font-weight: 700;
}

.stat-label {
    font-family: 'Raleway', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #777;
}

.btn {
    display: inline-block;
    padding: 9px 18px;
    background: #36AB8A;
    color: #ffffff;
    border: none;
    font-family: 'Raleway', sans-serif;
    font-size: 11.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 2px;
}

.btn:hover { background: rgba(54, 171, 138, 0.8); color: #fff; }
.btn-pink { background: #F8AFB8; color: #333; }
.btn-pink:hover { background: #f29aa5; color: #222; }
.btn-danger { background: #d9534f; }
.btn-danger:hover { background: #c9302c; }
.btn-sm { padding: 5px 10px; font-size: 10.5px; }

table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

th, td {
    text-align: left;
    padding: 12px 14px;
    border-bottom: 1px solid #eeeeee;
}

th {
    font-family: 'Raleway', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #777;
    background: #fafafa;
}

.form-group { margin-bottom: 18px; }
label {
    display: block;
    font-family: 'Raleway', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #555;
    margin-bottom: 6px;
}

input[type="text"],
input[type="password"],
input[type="file"],
select,
textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #dcdcdc;
    font-family: 'PT Serif', serif;
    font-size: 14px;
    color: #333;
    background: #fff;
}

textarea { min-height: 260px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: none; border-color: #36AB8A; }

.checkbox-list { display: flex; flex-wrap: wrap; gap: 14px; }
.checkbox-list label {
    display: flex; align-items: center; gap: 6px;
    font-family: 'PT Serif', serif; text-transform: none; font-weight: 400; font-size: 14px;
}

.alert {
    padding: 12px 16px;
    margin-bottom: 20px;
    border-left: 4px solid #36AB8A;
    background: #eef8f5;
    color: #256d58;
}
.alert-error { border-left-color: #d9534f; background: #fdf2f2; color: #a94442; }

.login-box {
    max-width: 400px;
    margin: 90px auto;
    background: #fff;
    padding: 35px;
    border: 1px solid #e6e4e0;
    border-top: 4px solid #F8AFB8;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
