* { box-sizing: border-box; }
body {
    font-family: "Ubuntu", Arial, sans-serif;
    color: #333333;
    font-size: 14px;
    background-color: #f4f4f4;
    margin: 0;
    min-height: 100vh;
}
a { color: #b99b00; text-decoration: none; font-weight: bold; }
a:hover { color: #806d00; text-decoration: underline; }
p { color: #333; font-size: 1.15em; line-height: 1.6; }
h1 { color: #333; font-size: 24px; font-weight: 700; border-bottom: 2px solid #ffd700; padding-bottom: 10px; margin-top: 0; }
h2 { color: #333; font-size: 20px; font-weight: 600; margin-top: 40px; border-left: 4px solid #ffd700; padding-left: 15px; }
h3 { color: #333; font-size: 16px; font-weight: 600; }
.site-header { background: #111; box-shadow: 0 3px 12px rgba(0,0,0,.25); }
.navbar { max-width: 1180px; margin: 0 auto; min-height: 64px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.brand { color: #ffd700; font-size: 24px; letter-spacing: .5px; text-transform: uppercase; }
.brand:hover { color: #ffd700; text-decoration: none; }
.nav-links, .auth-links { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.nav-links a { color: #fff; padding: 8px 10px; border-radius: 6px; }
.nav-links a:hover { background: rgba(255,255,255,.12); text-decoration: none; }
.auth-links form { margin: 0; }
.user-badge { color: #fff; background: rgba(255,255,255,.12); border-radius: 18px; padding: 7px 12px; }
.main-content { max-width: 1180px; margin: 22px auto; padding: 0 16px; }
.page-card { max-width: 1000px; margin: 0 auto 24px; background-color: #eacdbc; padding: 24px; border-radius: 8px; box-shadow: 0 0 10px rgba(0,0,0,0.1); }
.page-card.wide { max-width: 1180px; }
.auth-card { max-width: 520px; }
.lead { margin-top: 5px; color: #555; }
.gallery { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; margin-top: 20px; }
.gallery img { width: 100%; max-width: 300px; height: 200px; object-fit: cover; border-radius: 8px; box-shadow: 0 4px 8px rgba(0,0,0,0.2); transition: transform .3s; border: 2px solid #ffd700; background: #fff; }
.gallery img:hover { transform: scale(1.05); }
.features { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 30px; }
.feature-item { flex: 1 1 220px; background: #f9f9f9; padding: 15px; border-radius: 8px; text-align: center; border-bottom: 3px solid #ffd700; }
.feature-item p { font-size: 1em; }
.info-highlight { background: #f0f8ff; padding: 20px; border-radius: 8px; margin: 30px 0; }
.promo-box { text-align: center; margin-top: 30px; padding: 20px; background: #f0f8ff; border-radius: 8px; }
.promo-box p { font-size: 1.3em; margin: 0; }
.team-grid { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; margin: 30px 0; }
.team-card { text-align: center; width: 150px; }
.team-card img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 4px solid #ffd700; background: #fff; }
.team-card h5 { margin: 8px 0 4px; font-size: 15px; }
.team-card p { font-size: .9em; margin: 0; }
.contact-box { background: #f9f9f9; padding: 20px; border-radius: 8px; border-left: 4px solid #ffd700; margin: 30px 0; }
.map-box { background: #f0f0f0; padding: 20px; border-radius: 8px; }
.site-footer { background-color: #000; color: #fff; min-height: 60px; display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; padding: 15px; }
.page-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.page-header h1 { margin-bottom: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 6px; padding: 9px 15px; cursor: pointer; font-weight: 700; font-size: 14px; text-decoration: none; transition: .2s; }
.btn:hover { text-decoration: none; filter: brightness(.95); }
.btn-primary { background: #0d6efd; color: #fff; }
.btn-secondary { background: #6c757d; color: #fff; }
.btn-success { background: #28a745; color: #fff; }
.btn-warning { background: #ffc107; color: #333; }
.btn-danger { background: #dc3545; color: #fff; }
.btn-light { background: #fff; color: #111; }
.btn-outline { border: 1px solid #fff; color: #fff; background: transparent; }
.badge { background: #0d6efd; color: #fff; border-radius: 12px; padding: 4px 10px; display: inline-block; }
.alert { background: #d4edda; border-left: 4px solid #28a745; padding: 12px 15px; margin: 15px 0; border-radius: 6px; }
.search-form { display: flex; gap: 10px; margin: 20px 0; flex-wrap: wrap; }
.search-form input { flex: 1 1 260px; padding: 10px; border: 1px solid #bbb; border-radius: 6px; }
.table-wrapper { overflow-x: auto; display: flex; justify-content: center; }
.data-table { width: auto; min-width: 850px; border-collapse: collapse; background: #fff; box-shadow: 0 3px 12px rgba(0,0,0,.08); }
.data-table th, .data-table td { border: 1px solid #d7d7d7; padding: 10px 12px; vertical-align: middle; }
.data-table th { background: #fff3a6; text-align: center; white-space: nowrap; }
.data-table tr:nth-child(even) td { background: #fafafa; }
.table-img { width: 50px; height: 50px; object-fit: cover; border-radius: 5px; border: 1px solid #ddd; display: block; margin: auto; }
.center { text-align: center; }
.actions { text-align: center; white-space: nowrap; min-width: 86px; }
.icon-btn { display: inline-flex; width: 30px; height: 30px; justify-content: center; align-items: center; margin: 2px; border-radius: 6px; background: #f1f1f1; text-decoration: none; }
.icon-btn:hover { background: #e2e2e2; text-decoration: none; }
.icon-btn.danger { background: #ffe5e5; }
.pagination { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-top: 20px; }
.pagination a { background: #fff; border: 1px solid #ddd; padding: 7px 10px; border-radius: 5px; color: #333; }
.pagination a.active { background: #ffd700; border-color: #d4b300; }
.details-layout { display: flex; gap: 30px; margin-top: 20px; flex-wrap: wrap; }
.photo-box { flex: 1; min-width: 300px; max-width: 500px; background: #fff; border-radius: 12px; padding: 20px; box-shadow: 0 4px 15px rgba(0,0,0,.1); text-align: center; border: 1px solid #e0e0e0; }
.photo-box h3, .info-box h3 { margin-top: 0; margin-bottom: 20px; border-bottom: 2px solid #3498db; padding-bottom: 10px; }
.photo-box img { max-width: 100%; max-height: 350px; border-radius: 10px; box-shadow: 0 4px 15px rgba(0,0,0,.2); border: 3px solid #3498db; background: #f5f5f5; object-fit: cover; }
.photo-link { margin-top: 15px; }
.info-box { flex: 1.2; min-width: 360px; background: #fff; border-radius: 12px; padding: 20px; box-shadow: 0 4px 15px rgba(0,0,0,.1); border: 1px solid #e0e0e0; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr { border-bottom: 1px solid #eee; }
.spec-table th { text-align: left; padding: 12px 10px; width: 38%; color: #555; font-weight: 600; background: #f8f9fa; }
.spec-table td { padding: 12px 10px; color: #333; }
.price-value { color: #27ae60; font-size: 1.2em; font-weight: bold; }
.text-pre { white-space: pre-wrap; }
.status-badge { padding: 5px 12px; border-radius: 20px; font-weight: bold; display: inline-block; background: #f0f0f0; color: #333; }
.status-secondary { background: #f0f0f0; color: #333; }
.status-info { background: #cce5ff; color: #004085; }
.status-warning { background: #fff3cd; color: #856404; }
.status-success { background: #d4edda; color: #155724; }
.status-primary { background: #d1ecf1; color: #0c5460; }
.edit-form { background: #fff; border-radius: 10px; padding: 20px; border: 1px solid #e0e0e0; box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.form-grid { display: grid; gap: 16px; }
.form-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.form-group { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-weight: 700; }
.form-group input, .form-group textarea, .form-group select { width: 100%; border: 1px solid #ced4da; border-radius: 4px; padding: 9px; font-family: inherit; }
.form-group small { color: #6c757d; }
.field-validation, .validation-summary { color: #b00020; font-size: 13px; }
.form-submit { margin-top: 12px; min-width: 180px; }
.current-photo { margin: 14px 0; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.current-photo img { max-width: 180px; max-height: 140px; border-radius: 6px; border: 1px solid #ddd; object-fit: cover; }
.delete-preview { max-width: 300px; border-radius: 8px; border: 2px solid #ffd700; display: block; margin: 18px 0; }
.delete-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hint { font-size: 1em; background: #f8f9fa; border-radius: 6px; padding: 12px; }
@media (max-width: 760px) {
    .navbar { justify-content: center; }
    .form-grid.two, .form-grid.three { grid-template-columns: 1fr; }
    .data-table { min-width: 700px; }
    .info-box, .photo-box { min-width: 100%; }
}
