/* FILE: /public/assets/css/style.css */

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

body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif; font-size: 16px; line-height: 1.6; color: #333; background: #f5f5f5; }

.container { max-width: 1200px; margin: 0 auto; padding: 20px; }

/* Navigation */
.navbar { background: #2c3e50; color: #fff; padding: 1rem 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.navbar .logo { font-size: 1.5rem; font-weight: bold; color: #fff; text-decoration: none; }
.navbar .nav-menu { list-style: none; display: flex; gap: 1.5rem; }
.navbar .nav-menu a { color: #fff; text-decoration: none; padding: 0.5rem 1rem; border-radius: 4px; transition: background 0.3s; }
.navbar .nav-menu a:hover, .navbar .nav-menu a.active { background: #34495e; }
.navbar .dropdown { position: relative; }
.navbar .dropdown-menu { display: none; position: absolute; top: 100%; right: 0; background: #fff; color: #333; min-width: 150px; box-shadow: 0 2px 8px rgba(0,0,0,0.15); border-radius: 4px; list-style: none; padding: 0.5rem 0; }
.navbar .dropdown:hover .dropdown-menu { display: block; }
.navbar .dropdown-menu a { color: #333; display: block; padding: 0.5rem 1rem; }

/* Alerts */
.alert { padding: 1rem; margin: 1rem 0; border-radius: 4px; }
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-info { background: #d1ecf1; color: #0c5460; border: 1px solid #bee5eb; }
.alert-warning { background: #fff3cd; color: #856404; border: 1px solid #ffeaa7; }

/* Buttons */
.btn { display: inline-block; padding: 0.5rem 1.5rem; background: #3498db; color: #fff; border: none; border-radius: 4px; cursor: pointer; text-decoration: none; transition: background 0.3s; }
.btn:hover { background: #2980b9; }
.btn-primary { background: #3498db; }
.btn-primary:hover { background: #2980b9; }
.btn-danger { background: #e74c3c; }
.btn-danger:hover { background: #c0392b; }
.btn-sm { padding: 0.25rem 0.75rem; font-size: 0.875rem; }
.btn-block { display: block; width: 100%; text-align: center; }
.page-actions { margin: 1rem 0; display: flex; gap: 1rem; }

/* Forms */
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; }
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="number"],
.form-group input[type="url"],
.form-group input[type="date"],
.form-group input[type="file"],
.form-group select,
.form-group textarea { width: 100%; padding: 0.5rem; border: 1px solid #ddd; border-radius: 4px; font-size: 1rem; }
.form-group textarea { resize: vertical; }
.form-group small { display: block; margin-top: 0.25rem; color: #666; font-size: 0.875rem; }

/* Tables */
.data-table { width: 100%; border-collapse: collapse; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,0.1); border-radius: 4px; overflow: hidden; margin: 1rem 0; }
.data-table thead { background: #34495e; color: #fff; }
.data-table th, .data-table td { padding: 1rem; text-align: left; border-bottom: 1px solid #ddd; }
.data-table tbody tr:hover { background: #f9f9f9; }

/* Cards */
.stat-card { background: #fff; padding: 1.5rem; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.stat-card h3 { margin-bottom: 0.5rem; color: #666; font-size: 0.875rem; text-transform: uppercase; }
.stat-number { font-size: 2rem; font-weight: bold; color: #2c3e50; margin: 0.5rem 0; }

/* Grids */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; margin: 2rem 0; }
.scenes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; margin: 1rem 0; }
.scene-card { background: #fff; padding: 1rem; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); text-align: center; }
.scene-card img { width: 100%; height: 150px; object-fit: cover; border-radius: 4px; margin-bottom: 0.5rem; }

/* Badges */
.badge { display: inline-block; padding: 0.25rem 0.75rem; font-size: 0.75rem; font-weight: 600; border-radius: 12px; text-transform: uppercase; }
.badge-draft { background: #95a5a6; color: #fff; }
.badge-published { background: #27ae60; color: #fff; }
.badge-active { background: #27ae60; color: #fff; }
.badge-inactive { background: #95a5a6; color: #fff; }
.badge-available { background: #3498db; color: #fff; }
.badge-sold { background: #e74c3c; color: #fff; }

/* Progress Bars */
.usage-bars { margin: 1rem 0; }
.usage-item { margin: 1rem 0; }
.usage-item label { display: block; margin-bottom: 0.5rem; font-weight: 500; }
.progress-bar { width: 100%; height: 20px; background: #ecf0f1; border-radius: 10px; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(to right, #27ae60, #2ecc71); transition: width 0.3s; }

/* Auth Pages */
.auth-page { display: flex; align-items: center; justify-content: center; min-height: 100vh; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.auth-container { width: 100%; max-width: 450px; padding: 20px; }
.auth-box { background: #fff; padding: 2.5rem; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.2); }
.auth-header { text-align: center; margin-bottom: 2rem; }
.auth-header h1 { color: #2c3e50; margin-bottom: 0.5rem; }
.auth-header p { color: #666; }
.auth-form h2 { margin-bottom: 1.5rem; color: #2c3e50; }
.auth-links { text-align: center; margin-top: 1.5rem; }
.auth-links a { color: #3498db; text-decoration: none; }
.demo-credentials { margin-top: 2rem; padding: 1rem; background: #ecf0f1; border-radius: 4px; }
.demo-credentials h4 { margin-bottom: 0.5rem; color: #2c3e50; }
.demo-credentials p { margin: 0.25rem 0; font-size: 0.875rem; }
.flash-container { position: fixed; top: 20px; right: 20px; z-index: 9999; max-width: 400px; }

/* Property Detail */
.property-image { max-width: 100%; height: auto; border-radius: 8px; margin: 1rem 0; }
.actions { margin-top: 2rem; display: flex; gap: 1rem; }

/* Footer */
.footer { background: #2c3e50; color: #fff; text-align: center; padding: 2rem 0; margin-top: 3rem; }

/* Responsive */
@media (max-width: 768px) {
    .navbar .nav-menu { flex-direction: column; }
    .stats-grid { grid-template-columns: 1fr; }
}
