* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif; }
body { background-color: #f4f6f8; color: #333; padding: 20px; }
.container { max-width: 1100px; margin: 0 auto; }
header { text-align: center; margin-bottom: 30px; }
h1 { color: #2c3e50; font-size: 28px; }
.subtitle { color: #7f8c8d; margin-top: 5px; }
.card { background: white; padding: 20px; border-radius: 12px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); margin-bottom: 20px; }
.hidden { display: none !important; }
.form-group { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.form-group.inline { flex-direction: row; }
input, textarea { padding: 12px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; width: 100%; }
button { padding: 12px 20px; background-color: #27ae60; color: white; border: none; border-radius: 8px; font-weight: bold; cursor: pointer; transition: 0.2s; }
button:hover { background-color: #219653; }
.btn-primary { background-color: #2f80ed; }
.btn-primary:hover { background-color: #1b66ca; }
.btn-secondary { background-color: #828282; }
.btn-sm { padding: 5px 10px; font-size: 12px; background-color: #e0e0e0; color: #333; }
.auction-main { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; }
.gallery-container { position: relative; background: #eaeded; border-radius: 8px; min-height: 250px; margin: 15px 0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.gallery { display: flex; gap: 10px; overflow-x: auto; padding: 10px; width: 100%; }
.gallery img { max-height: 230px; border-radius: 6px; object-fit: cover; }
.img-counter { position: absolute; bottom: 10px; right: 10px; background: rgba(0,0,0,0.6); color: white; padding: 4px 8px; border-radius: 4px; font-size: 12px; }
.price-board { display: flex; justify-content: space-around; background: #f8f9fa; padding: 15px; border-radius: 8px; border-left: 5px solid #2f80ed; }
.price-block { text-align: center; }
.price-block .label { font-size: 12px; color: #828282; display: block; }
.price-block .price { font-size: 22px; font-weight: bold; color: #e67e22; }
.price-block .bidder { font-size: 20px; font-weight: bold; color: #2c3e50; }
.quick-buttons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 5px; }
.quick-buttons button { background-color: #ebf5fb; color: #2f80ed; border: 1px solid #d4e6f1; }
.quick-buttons button:hover { background-color: #d4e6f1; }
.bottom-section { display: flex; gap: 20px; margin-top: 10px; }
.half { flex: 1; }
.log-list { list-style: none; max-height: 200px; overflow-y: auto; background: #fafafa; padding: 10px; border-radius: 8px; border: 1px solid #eee; margin-top: 10px; }
.log-list li { padding: 8px; border-bottom: 1px solid #f1f1f1; font-size: 13px; display: flex; justify-content: space-between; }
.admin-card { background: #fdf2e9; border: 1px dashed #e67e22; }

@media (max-width: 768px) {
    .auction-main, .bottom-section { grid-template-columns: 1fr; flex-direction: column; }
}