/* Админка медиабаера */
body { font-family: Arial, sans-serif; margin: 0; padding: 0; background: #f5f5f5; }
.buyer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: #1a1a2e;
    color: #eee;
    flex-wrap: wrap;
    gap: 12px;
}
.buyer-header a { color: #7fdbff; text-decoration: none; }
.buyer-header a:hover { text-decoration: underline; }
.buyer-header .balance-total {
    font-size: 1.2rem;
    font-weight: bold;
    color: #2ecc40;
}
.buyer-header .btn-withdraw {
    margin-left: 10px;
    padding: 4px 12px;
    background: #e67e22;
    color: #fff !important;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: normal;
}
.buyer-header .btn-withdraw:hover {
    background: #d35400;
    text-decoration: none;
}
.buyer-header .btn-history {
    margin-left: 6px;
    padding: 4px 12px;
    background: #3498db;
    color: #fff !important;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: normal;
}
.buyer-header .btn-history:hover {
    background: #2980b9;
    text-decoration: none;
}
.buyer-main { padding: 20px; max-width: 1200px; margin: 0 auto; }
table { border-collapse: collapse; width: 100%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
th, td { border: 1px solid #ddd; padding: 10px; text-align: left; }
th { background: #f8f8f8; }
nav { margin-bottom: 20px; }
nav a { margin-right: 15px; }
.error { color: #c00; }
.notice { color: #0a0; }

/* Login */
body.buyer-login { display: flex; align-items: center; justify-content: center; min-height: 100vh; }
.login-box {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 320px;
}
.login-box input[type="text"],
.login-box input[type="password"] { width: 100%; padding: 8px; box-sizing: border-box; }
.login-box button { padding: 8px 20px; cursor: pointer; }

/* News form */
.news-form label { display: block; margin-top: 10px; }
.news-form input[type="text"],
.news-form textarea { width: 100%; max-width: 500px; padding: 8px; box-sizing: border-box; }
.news-form textarea { min-height: 200px; }
.categories-checkboxes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.categories-checkboxes label { display: inline; margin: 0; }
