/* Free Museum Pass Coordinator Styles */
* { box-sizing: border-box; margin: 0; padding: 0; }

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

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

header {
 background: linear-gradient(135deg, #2c3e50, #3498db);
 color: white;
 padding: 1rem 0;
 box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header h1 {
 font-size: 1.8rem;
 font-weight: 600;
 margin-bottom: 0.5rem;
}

nav a {
 color: rgba(255,255,255,0.9);
 text-decoration: none;
 margin-left: 1.5rem;
 font-size: 0.95rem;
 transition: color 0.2s;
}

nav a:hover {
 color: white;
}

main {
 padding: 2rem 0;
}

section {
 background: white;
 border-radius: 12px;
 padding: 1.5rem;
 margin-bottom: 1.5rem;
 box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

section h2 {
 color: #2c3e50;
 margin-bottom: 1rem;
 font-size: 1.4rem;
}

h3 {
 color: #34495e;
 font-size: 1.1rem;
 margin-bottom: 0.5rem;
}

.controls-row {
 display: flex;
 flex-wrap: wrap;
 gap: 1rem;
 align-items: center;
 margin-bottom: 1rem;
}

.control-group {
 flex: 1;
 min-width: 200px;
}

.control-group label,
.control-group input,
.control-group select {
 display: block;
 width: 100%;
}

.control-group label {
 font-weight: 500;
 margin-bottom: 0.5rem;
 color: #555;
}

.toggle-group {
 display: flex;
 align-items: center;
 gap: 0.5rem;
}

.switch {
 position: relative;
 display: inline-block;
 width: 50px;
 height: 24px;
}

.switch input { opacity: 0; width: 0; height: 0; }

.slider {
 position: absolute;
 cursor: pointer;
 top: 0; left: 0; right: 0; bottom: 0;
 background-color: #ccc;
 transition: 0.2s;
 border-radius: 24px;
}

.slider:before {
 position: absolute;
 content: "";
 height: 16px;
 width: 16px;
 left: 4px;
 bottom: 4px;
 background-color: white;
 transition: 0.2s;
 border-radius: 50%;
}

input:checked + .slider { background-color: #3498db; }

input:checked + .slider:before { transform: translateX(26px); }

.switch-label {
 margin-left: 0.5rem;
 font-size: 0.9rem;
 color: #555;
}

.help-text {
 color: #666;
 font-size: 0.9rem;
 margin-top: 0.5rem;
}

.filter-bar {
 display: flex;
 justify-content: space-between;
 align-items: center;
 margin-bottom: 1rem;
 flex-wrap: wrap;
 gap: 0.5rem;
}

.filters label {
 display: flex;
 align-items: center;
 gap: 0.25rem;
 font-size: 0.9rem;
 color: #555;
}

.museum-grid {
 display: grid;
 grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
 gap: 1rem;
}

.museum-card {
 background: #f8f9fa;
 border-radius: 8px;
 padding: 1rem;
 border-left: 4px solid #3498db;
}

.museum-card.featured { border-left-color: #2ecc71; }

.museum-header {
 display: flex;
 justify-content: space-between;
 align-items: center;
 margin-bottom: 0.5rem;
}

.museum-header h3 {
 font-size: 1rem;
 color: #2c3e50;
}

.museum-badge {
 padding: 0.25rem 0.75rem;
 border-radius: 20px;
 font-size: 0.75rem;
 font-weight: 600;
 text-transform: uppercase;
}

.museum-badge.free-day { background: #e8f5e9; color: #2e7d32; }

.museum-badge.member-guest { background: #e3f2fd; color: #1565c0; }

.museum-badge.reciprocal { background: #fff3e0; color: #e65100; }

.museum-address {
 font-size: 0.85rem;
 color: #666;
 margin-bottom: 0.75rem;
}

.pass-info {
 margin: 0.75rem 0;
}

.pass-badge {
 display: inline-block;
 padding: 0.2rem 0.6rem;
 border-radius: 4px;
 font-size: 0.75rem;
 margin-right: 0.5rem;
}

.museum-details {
 margin: 1rem 0;
}

.detail-row {
 display: flex;
 justify-content: space-between;
 font-size: 0.85rem;
 margin-bottom: 0.25rem;
}

.detail-label {
 font-weight: 500;
 color: #555;
}

.detail-value {
 color: #666;
}

.add-to-plan-btn {
 background: #3498db;
 color: white;
 border: none;
 padding: 0.5rem 1rem;
 border-radius: 6px;
 cursor: pointer;
 font-size: 0.9rem;
 width: 100%;
 transition: background 0.2s;
}

.add-to-plan-btn:hover {
 background: #2980b9;
}

.plan-list {
 margin-bottom: 1rem;
}

.plan-item {
 padding: 1rem;
 background: #f8f9fa;
 border-radius: 8px;
 margin-bottom: 0.5rem;
}

.plan-header {
 display: flex;
 justify-content: space-between;
 margin-bottom: 0.5rem;
}

.plan-date {
 font-weight: 600;
 color: #2c3e50;
}

.plan-time {
 color: #666;
 font-size: 0.9rem;
}

.plan-museum h3 {
 font-size: 1rem;
 color: #2c3e50;
}

.plan-address {
 font-size: 0.8rem;
 color: #666;
}

.plan-details {
 display: flex;
 gap: 1rem;
 margin: 0.5rem 0;
}

.remove-plan-btn {
 background: #e74c3c;
 color: white;
 border: none;
 padding: 0.25rem 0.75rem;
 border-radius: 4px;
 cursor: pointer;
 font-size: 0.8rem;
}

.remove-plan-btn:hover {
 background: #c0392b;
}

.empty-state {
 text-align: center;
 padding: 2rem;
 color: #777;
}

.transport-section {
 margin-top: 1.5rem;
}

.transport-form {
 display: flex;
 gap: 0.5rem;
 margin-top: 0.5rem;
}

#starting-point {
 flex: 1;
 padding: 0.5rem;
 border: 1px solid #ddd;
 border-radius: 6px;
}

.primary-btn, .secondary-btn {
 padding: 0.5rem 1rem;
 border-radius: 6px;
 cursor: pointer;
 font-size: 0.9rem;
}

.primary-btn {
 background: #2ecc71;
 color: white;
 border: none;
}

.primary-btn:hover {
 background: #27ae60;
}

.secondary-btn {
 background: #95a5a6;
 color: white;
 border: none;
}

.secondary-btn:hover {
 background: #7f8c8d;
}

.export-controls {
 display: flex;
 gap: 0.5rem;
 margin-top: 1rem;
}

.route-display {
 background: #e8f4f8;
 padding: 1rem;
 border-radius: 8px;
 margin-top: 0.5rem;
}

.ad-placeholder {
 text-align: center;
 padding: 1rem;
}

footer {
 background: #2c3e50;
 color: #bdc3c7;
 padding: 1.5rem 0;
 margin-top: 2rem;
}

footer p {
 font-size: 0.85rem;
 margin-bottom: 0.5rem;
}

footer a {
 color: #3498db;
}

@media (max-width: 768px) {
 .controls-row { flex-direction: column; }
 .filter-bar { flex-direction: column; align-items: flex-start; }
 .museum-grid { grid-template-columns: 1fr; }
 .export-controls { flex-direction: column; }
}
</style>


/* Factory-injected deployment helpers. The AI owns the site design above this block. */
.ad-unit {
  width: min(100%, 720px);
  min-height: 120px;
  margin: 24px auto;
  display: block;
}

.legal-page {
  width: min(900px, calc(100% - 32px));
  margin: 40px auto;
}

.factory-fallback-nav {
  width: min(900px, calc(100% - 32px));
  margin: 24px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  font-size: 0.95rem;
}

.factory-fallback-nav a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
