#creation-method {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}
#creation-method label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
#creationsCarousel {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  scroll-snap-type: x mandatory;
}
#creationsCarousel .creation-container {
  flex: 0 0 120px;
  scroll-snap-align: start;
}
/* Empty state styles */
#creationsList:empty::after,
#sharedCreationsList:empty::after {
  content: "🎨 Nog geen creaties. Maak je eerste kleurplaat!";
  display: block;
  text-align: center;
  padding: 3rem;
  color: #888;
  font-size: 1.1rem;
}

#creationsList p,
#sharedCreationsList p {
  text-align: center;
  padding: 3rem;
  color: #888;
  font-size: 1.1rem;
}
#creationsList, #sharedCreationsList, #profileCreationsList, #profileSharedList {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  min-height: 120px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; background-color: #F8F9FA; color: #333333; line-height: 1.6; }
header { position: fixed; top: 0; left: 0; right: 0; background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); padding: 1rem; z-index: 1000; display: flex; justify-content: space-between; align-items: center; }
h1 { font-family: 'Bubblegum Sans', cursive; font-size: 2rem; display: inline-block; }
h1 span { display: inline-block; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); animation: bounce 1s infinite alternate; }
h1 span:nth-child(1) { color: #FF0000; } h1 span:nth-child(2) { color: #FF7F00; } h1 span:nth-child(3) { color: #FFFF00; }
h1 span:nth-child(4) { color: #00FF00; } h1 span:nth-child(5) { color: #00FFFF; } h1 span:nth-child(6) { color: #0000FF; }
h1 span:nth-child(7) { color: #FF00FF; } h1 span:nth-child(8) { color: #FF0000; } h1 span:nth-child(9) { color: #FF7F00; }
h1 span:nth-child(10) { color: #FFFF00; } h1 span:nth-child(11) { color: #00FF00; } h1 span:nth-child(12) { color: #00FFFF; }
h1 span:nth-child(13) { color: #0000FF; } h1 span:nth-child(14) { color: #FF00FF; }
@keyframes bounce { from { transform: translateY(0); } to { transform: translateY(-5px); } }
nav { display: flex; gap: 1rem; }
nav button { background-color: #007BFF; color: #FFFFFF; border: none; padding: 0.5rem 1rem; border-radius: 5px; cursor: pointer; font-size: 1rem; transition: background-color 0.2s; }
nav button:hover { background-color: #0056b3; }
main { margin-top: 80px; padding: 2rem; max-width: 1200px; margin-left: auto; margin-right: auto; transition: opacity 0.3s; }
#welcome, #auth, #app, #my-creations, #profile { display: none; flex-direction: column; align-items: center; gap: 1.5rem; opacity: 1; }
.hidden { display: none; opacity: 0; }
#welcome { text-align: center; padding: 2rem; background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%); border-radius: 10px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); }
#welcome h2 { font-family: 'Bubblegum Sans', cursive; font-size: 2.5rem; margin-bottom: 1rem; }
#welcome p { font-size: 1.2rem; margin-bottom: 1rem; }
#welcome .features { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; margin: 2rem 0; }
#welcome .feature { max-width: 300px; text-align: center; }
#welcome .feature h3 { font-family: 'Bubblegum Sans', cursive; font-size: 1.5rem; margin-bottom: 0.5rem; }
#welcome .feature p { font-size: 1rem; color: #666; }
#welcome button { font-size: 1.2rem; padding: 1rem 2rem; }
#auth { text-align: center; }
#app { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; }
#convert-section, #publicWall, #recent-creations, #my-creations, #profileCreations, #profileShared { background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%); border-radius: 10px; padding: 1.5rem; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); width: 100%; margin-bottom: 2rem; }
#convert-section h2, #publicWall h2, #recent-creations h2, #my-creations h2, #profileCreations h2, #profileShared h2 { font-family: 'Bubblegum Sans', cursive; font-size: 1.75rem; margin-bottom: 1rem; }
#convert-section h2 span { display: inline-block; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); animation: bounce 1s infinite alternate; } /* Nieuw: Regenboog styling voor 'Maak een Kleurplaat' */
#convert-section h2 span:nth-child(1) { color: #FF0000; } /* Voortzetting regenboog colors */
#convert-section h2 span:nth-child(2) { color: #FF7F00; }
#convert-section h2 span:nth-child(3) { color: #FFFF00; }
#convert-section h2 span:nth-child(4) { color: #00FF00; }
#convert-section h2 span:nth-child(5) { color: #00FFFF; }
#convert-section h2 span:nth-child(6) { color: #0000FF; }
#convert-section h2 span:nth-child(7) { color: #FF00FF; }
#convert-section h2 span:nth-child(8) { color: #FF0000; }
#convert-section h2 span:nth-child(9) { color: #FF7F00; }
#convert-section h2 span:nth-child(10) { color: #FFFF00; }
#convert-section h2 span:nth-child(11) { color: #00FF00; }
#convert-section h2 span:nth-child(12) { color: #00FFFF; }
#convert-section h2 span:nth-child(13) { color: #0000FF; }
#convert-section h2 span:nth-child(14) { color: #FF00FF; }
#convert-section h2 span:nth-child(15) { color: #FF0000; }
#convert-section h2 span:nth-child(16) { color: #FF7F00; }
#convert-section h2 span:nth-child(17) { color: #FFFF00; }
#convert-section h2 span:nth-child(18) { color: #00FF00; }
#convert-section h2 span:nth-child(19) { color: #00FFFF; }
button, input[type="file"], input[type="text"], textarea { padding: 0.75rem; margin: 0.5rem 0; font-size: 1rem; border-radius: 5px; border: none; width: 100%; max-width: 300px; }
button { background-color: #007BFF; color: #FFFFFF; cursor: pointer; transition: background-color 0.2s; }
button:hover { background-color: #0056b3; }
button:disabled { background-color: #cccccc; cursor: not-allowed; }
input[type="file"], input[type="text"], textarea { background-color: #F1F3F5; color: #333333; }
textarea { resize: vertical; min-height: 60px; }
#loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  color: white;
  font-size: 1.2rem;
}
#loading::before {
  content: '';
  width: 24px;
  height: 24px;
  border: 3px solid #007BFF;
  border-top: 3px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-right: 10px;
}
#authLoading { display: none; font-size: 1rem; color: #007BFF; align-items: center; gap: 0.5rem; }
#authLoading::before { content: ''; width: 16px; height: 16px; border: 2px solid #007BFF; border-top: 2px solid transparent; border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
#result img { max-width: 100%; border-radius: 5px; margin-top: 1.5rem; margin-bottom: 1.5rem; }
.creation-container { position: relative; text-align: center; }
.creation-container img { width: 100%; height: 120px; object-fit: cover; border-radius: 5px; border: 1px solid #ddd; transition: transform 0.2s; loading: lazy; }
.creation-container img:hover { transform: scale(1.05); border-color: #007BFF; }
/* V2-001: Card metadata */
.creation-meta { padding: 6px 10px 8px; text-align: left; }
.creation-title { font-size: 13px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.creation-row { display: flex; justify-content: space-between; font-size: 12px; color: #666; margin-top: 2px; }
.creation-actions { margin-top: 0.5rem; font-size: 0.875rem; }
/* V2-001: Category/tag filter chips */
#wall-category-chips { padding: 8px 12px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
#category-chips-row { display: flex; gap: 8px; white-space: nowrap; min-width: max-content; }
.category-chip {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid #ddd;
  background: #f8f9fa;
  color: #666;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.category-chip:hover { background: #e9ecef; }
.category-chip.active { background: #007BFF; color: white; border-color: #007BFF; }
/* V2-003: My Creations category chips */
#my-creations-category-chips { padding: 8px 12px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
#my-creations-chips-row { display: flex; gap: 8px; white-space: nowrap; min-width: max-content; }
.my-creation-chip {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid #ddd;
  background: #f8f9fa;
  color: #666;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.my-creation-chip:hover { background: #e9ecef; }
.my-creation-chip.active { background: #007BFF; color: white; border-color: #007BFF; }
.like-btn.liked { background-color: #FF4444; }
#profile-info { text-align: center; margin-bottom: 2rem; }
#editNameBtn { margin-top: 1rem; }

#editNameSection { display: none; flex-direction: column; gap: 0.5rem; align-items: center; justify-content: center; }
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(30, 30, 50, 0.7); backdrop-filter: blur(4px); justify-content: center; align-items: center; z-index: 2000; }
.modal-content { background: linear-gradient(145deg, #ffffff 0%, #f8f9ff 100%); padding: 2rem; border-radius: 20px; max-width: 500px; max-height: 90%; overflow-y: auto; text-align: center; position: relative; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.8); }
.modal-content h2 { font-family: 'Bubblegum Sans', cursive; color: #4a5568; margin-bottom: 1rem; font-size: 1.75rem; }
.close-cross { position: absolute; top: 10px; left: 10px; font-size: 2rem; cursor: pointer; color: #333; } /* Nieuw: Styling voor kruisje */
.comment-list { max-height: 150px; overflow-y: auto; margin-top: 1.5rem; margin-bottom: 1.5rem; font-size: 0.875rem; }
.comment-list p { background: #f0f0f0; padding: 8px 12px; border-radius: 12px; display: inline-block; }

/* Comment section button styling - round, colored, white text */
#addCommentBtn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  color: white !important;
  border: none !important;
  border-radius: 25px !important;
  padding: 0.75rem 1.5rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
  width: auto !important;
  max-width: none !important;
}

#addCommentBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.bottom-nav { position: fixed; bottom: 0; left: 0; width: 100%; display: flex; background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%); box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1); z-index: 1000; }
.bottom-nav .tab-btn { flex: 1 !important; border: none; background: none; padding: 0.5rem; cursor: pointer; display: flex; flex-direction: column; align-items: center; font-size: 0.875rem; color: #666; }
.bottom-nav .tab-btn.active { color: #007BFF; }
.tab-icon { width: 24px; height: 24px; fill: currentColor; margin-bottom: 0.25rem; }
@media (min-width: 768px) { .bottom-nav { display: none; } #app { grid-template-columns: 1fr 2fr; } }
@media (max-width: 768px) { #app { grid-template-columns: 1fr; } h1 { font-size: 2rem; } main { padding: 1rem; padding-bottom: 80px; } .creation-container img { height: 100px; } .modal-content { max-width: 90%; } } /* Change for wish 1: Increased padding-bottom to 80px to prevent copyright from falling off screen */
@media (max-width: 480px) { h1 { font-size: 1.75rem; } button, input[type="file"], input[type="text"], textarea { font-size: 0.875rem; } .creation-container img { height: 80px; } }

/* Change for wish 2: Style to make image in detail modal smaller like a tile */
#detailImage {
  max-height: 200px;
  width: auto;
  object-fit: contain;
  margin: 1rem auto;
  display: block;
  cursor: pointer;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Detail modal improvements */
#detailModal .modal-content {
  padding: 2.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #f7f8fc 100%);
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

#detailNameSection {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 1rem;
  border-radius: 12px;
  margin: 1rem 0;
}

#detailNameSection p {
  margin: 0;
  font-size: 1.1rem;
  color: #2d3748;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

#detailNameSection strong {
  color: #4a5568;
}

/* Issue 6: Name field layout - edit button sticks to right side of name */
#detailNameSection p {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

#detailNameSection p #detailName {
  flex: 1;
  min-width: 100px;
}

#editNameBtn2 {
  flex: 0 0 auto;
  width: 10%;
  min-width: 40px;
  max-width: 60px;
  padding: 4px 8px !important;
  font-size: 12px !important;
  margin-left: auto !important;
}

#detailStats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin: 1.5rem 0;
  text-align: left;
}

#detailStats p {
  margin: 0;
  padding: 0.75rem 1rem;
  background: white;
  border-radius: 10px;
  font-size: 0.9rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

#detailStats strong {
  color: #667eea;
}

/* Detail modal action buttons */
#detailActionsPrimary, #detailActionsSecondary {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 1rem 0;
}

#detailActionsPrimary button {
  flex: 1;
  min-width: 100px;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.9rem;
}

#detailLikeBtn {
  background: linear-gradient(135deg, #fc8181 0%, #e53e3e 100%);
  color: white;
}

#detailLikeBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(252, 129, 129, 0.4);
}

#detailDownloadBtn {
  background: linear-gradient(135deg, #68d391 0%, #38a169 100%);
  color: white;
}

#detailDownloadBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(104, 211, 145, 0.4);
}

#detailPrintBtn {
  background: linear-gradient(135deg, #63b3ed 0%, #3182ce 100%);
  color: white;
}

#detailPrintBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(99, 179, 237, 0.4);
}

#detailActionsSecondary {
  margin-top: 1.5rem;
}

#detailShareBtn, #detailSocialShareBtn {
  background: linear-gradient(135deg, #48bb78 0%, #38a169 100%) !important;
  color: white !important;
  border-color: #48bb78 !important;
  border-radius: 25px !important;
}

#detailShareBtn:hover, #detailSocialShareBtn:hover {
  background: linear-gradient(135deg, #38a169 0%, #2f855a 100%) !important;
  box-shadow: 0 4px 12px rgba(72, 187, 120, 0.4);
}

#detailActionsSecondary button {
  flex: 1;
  min-width: 120px;
  padding: 0.6rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 25px;
  background: white;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.85rem;
}

#detailActionsSecondary button:hover {
  border-color: #667eea;
  color: #667eea;
}

#detailDeleteBtn {
  background: linear-gradient(135deg, #fc8181 0%, #e53e3e 100%) !important;
  color: white !important;
  border-color: #fc8181 !important;
  border-radius: 25px !important;
}

#detailDeleteBtn:hover {
  background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%) !important;
  box-shadow: 0 4px 12px rgba(252, 129, 129, 0.4);
  color: white !important;
}

#closeDetailBtn {
  margin-top: 1.5rem;
  padding: 0.8rem 2rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

#closeDetailBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Change for wish 3: Styles for detail slider */
#detail-level { max-width: 100% !important;
  margin-bottom: 1rem;
  text-align: left;
  width: 100%;
  max-width: 300px;
}
.slider-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#detailSlider {
  width: 100%;
  margin: 0.5rem 0;
}
.slider-labels {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 0.875rem;
  color: #666;
}

/* Change for wish 4: Style for help icons */
.help { display: inline-block; 
  cursor: help;
  color: #007BFF;
  font-weight: bold;
  margin-left: 0.5rem;
  font-size: 0.875rem;
  background-color: #e0e9ff;
  border-radius: 50%;
  padding: 0 0.4rem;
  line-height: 1;
}
.help:hover {
  background-color: #007bff;
  color: white;
}

#imageInputSection .help, #promptInputSection .help { display: inline-block; 
  vertical-align: middle;
}
/* Creation method tiles */
#creation-method {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
#creation-method label {
  flex: 1 !important;
  min-width: 200px;
  padding: 1.5rem;
  border: 2px solid #e0e0e0;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  font-weight: 500;
}
#creation-method label:hover {
  border-color: var(--primary);
  background: #fafafa;
}
#creation-method input[type="radio"] {
  display: none;
}
#creation-method input[type="radio"]:checked + * {
  border-color: var(--primary);
  background: #f5f0ff;
}

/* Detail level preset buttons */
.detail-buttons {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.detail-btn {
  flex: 1 !important;
  padding: 0.6rem 0.75rem;
  background-color: #007BFF;
  color: #FFFFFF;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background-color 0.2s;
}

.detail-btn:hover {
  background-color: #0056b3;
}

.detail-btn.active {
  background-color: #0056b3;
  font-weight: bold;
}

/* Token wallet chip in header */
#header-wallet { margin-left: auto; margin-right: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #f0f0f0;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  color: #666;
}

#header-wallet .token-icon {
  font-size: 1rem;
}

#header-wallet .token-count {
  font-weight: 600;
  color: #555;
}

/* De-emphasized token display in convert-section */
#convert-section .token-display {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem;
  background-color: #f8f8f8;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #888;
}

#convert-section .token-display span {
  color: #777;
  font-weight: 500;
}

/* Muted buy tokens button */
#buyTokensBtn { display: none; margin: 0.5rem 0;
  background-color: #e0e0e0;
  color: #666;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  width: auto;
  max-width: none;
  border: 1px solid #ccc;
}

#buyTokensBtn:hover {
  background-color: #d0d0d0;
  color: #555;
}

#imageInputSection input, #promptInputSection input {  width: auto;  flex: 1;  min-width: 200px;  max-width: none;}
/* Fix spacing under tiles */
#imageInputSection, #promptInputSection { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }

#imageInputSection,
#promptInputSection { margin: 0 !important; padding: 0.5rem 0 !important;
  margin-top: 1.5rem;
  padding: 1rem;
}

#imageInputSection label,
#promptInputSection label {
  display: block;
  width: 100%;
  margin-bottom: 0.5rem;
}

#detail-level { max-width: 100% !important;
  margin-top: 1.5rem;
}

#detail-level label {
  display: block;
  width: 100%;
  margin-bottom: 0.5rem;
}

#imageInputSection input, #promptInputSection input,
  flex: 1; min-width: 200px;
#promptInputSection input,
#detail-level input {
  width: 100% !important;
  max-width: 100% !important;
}

#buyTokensBtn { display: none; margin: 0.5rem 0; width: 100%; display: block; }
#buyTokensBtn { display: none; margin: 0.5rem 0; width: 100%; display: block; }
#buyTokensBtn { display: none; margin: 0.5rem 0; width: 100%; display: block; }
#buyTokensBtn { display: none; margin: 0.5rem 0; width: 100%; display: block; }
#buyTokensBtn { display: none; margin: 0.5rem 0; width: 100%; display: block; }

/* Detail buttons full width */
.detail-buttons {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.detail-buttons .detail-btn,
#convertBtn { max-width: 100% !important;
  flex: 1 !important;
  width: 100%;
}

/* FORCE full width buttons */
#convertBtn { max-width: 100% !important;
  width: 100% !important;
  display: block !important;
  flex: none !important;
}

.detail-btn {
  width: 100% !important;
  flex: 1 1 0% !important;
  display: flex !important;
  justify-content: center;
  align-items: center;
}

/* Loading overlay */
#loadingOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  font-family: 'Bubblegum Sans', cursive;
  color: white;
  font-size: 1.5rem;
}
#loadingOverlay.hidden {
  display: none;
}

footer {
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
  color: #666;
}

/* Wall controls - search, sort, tabs */
#wall-controls {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  align-items: center;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

#wall-search {
  display: flex;
  gap: 0.5rem;
  flex: 1;
  min-width: 80%;
}

#wallSearchInput {
  flex: 1;
  padding: 0.6rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 25px;
  font-size: 0.95rem;
  background: white;
  transition: all 0.2s;
  min-width: 80%;
}

#wallSearchInput:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
}

#wallSearchBtn {
  padding: 0.6rem 0.8rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
  font-size: 0.85rem;
  min-width: 50px;
}

#wallSearchBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Wall tabs and sort - combined layout */
#wall-tabs-sort {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
}

#wall-tabs-sort #wall-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0;
  flex: 1;
}

#wall-tabs-sort #wall-sort {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Wall sort dropdown styling */
#wallSortSelect {
  padding: 0.6rem 1.25rem;
  border: 2px solid #e2e8f0;
  background: white;
  border-radius: 25px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
  color: #4a5568;
  outline: none;
}

#wallSortSelect:hover {
  border-color: #667eea;
}

#wallSortSelect:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
}

.wall-tab.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.wall-tab:hover:not(.active) {
  border-color: #667eea;
  color: #667eea;
}

/* Share name modal */
#shareNameModal { z-index: 3000 !important; }

/* Share name modal */
.share-name-modal {
  text-align: center;
  max-width: 400px;
  z-index: 3000 !important; /* Higher than detailModal to appear on top */
}

.share-name-modal img {
  max-width: 200px;
  max-height: 200px;
  border-radius: 12px;
  margin: 1rem 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

#shareNameInput {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #ddd;
  border-radius: 12px;
  font-size: 1rem;
  margin-bottom: 1rem;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}

#shareNameInput:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.share-name-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.btn-confirm {
  background: linear-gradient(135deg, #48bb78 0%, #38a169 100%) !important;
  color: white !important;
  border: none !important;
  padding: 12px 24px !important;
  border-radius: 25px !important;
  font-weight: 600 !important;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s !important;
}

.btn-confirm:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(72, 187, 120, 0.4);
}

.btn-cancel {
  background: linear-gradient(135deg, #fc8181 0%, #e53e3e 100%) !important;
  color: white !important;
  border: none !important;
  padding: 12px 24px !important;
  border-radius: 25px !important;
  font-weight: 600 !important;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s !important;
}

.btn-cancel:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(252, 129, 129, 0.4);
}

/* V2-005: Favorite button card margin */
.favorite-btn-card { margin: 0; }
