.blog-subheader {
  background: #ffffff;
  border: 1px solid #e0e4e7;
  color: #2c3e50;
  padding: 0;
  margin-bottom: 5px !important;
  border-radius: 6px;
}

.blog-subheader-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.blog-header-title {
  background: #000000;
  padding: 12px 16px;
  margin: 0;
  border-radius: 6px;
  text-align: center;
}

.content-buttons-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 16px 0;
}

.subheader-content {
  flex: 1;
  min-width: 300px;
  padding-right: 15px;
}

.user-profile-section, .guest-section {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #e2e8f0;
  object-fit: cover;
}

.guest-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #e2e8f0;
}

.guest-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%23ffffff' d='M224 256A128 128 0 1 0 224 0a128 128 0 1 0 0 256zm-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512H418.3c16.4 0 29.7-13.3 29.7-29.7C448 383.8 368.2 304 269.7 304H178.3z'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.user-info {
  flex: 1;
}

.greeting-text {
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.post-input-mock {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 10px 16px;
  margin-top: 4px;
  cursor: text;
  transition: all 0.2s ease;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.post-input-mock:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.subtitle-text {
  color: #64748b;
  font-size: 14px;
  font-weight: 400;
  margin: 0;
  line-height: 1.4;
}

.subheader-buttons {
  display: flex;
  gap: 0;
  flex-wrap: nowrap;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.action-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 0;
  font-weight: 500;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  border: none;
  border-right: 1px solid #e2e8f0;
  flex: 1;
  min-width: 0;
}

.action-button:last-child {
  border-right: none;
}

.info-button {
  background-color: #f8fafc;
  color: #475569;
}

.info-button:hover {
  background-color: #e2e8f0;
  color: #334155;
}

.review-button {
  background-color: #fef3c7;
  color: #92400e;
}

.review-button:hover {
  background-color: #fde68a;
  color: #78350f;
}

.create-button {
  background-color: #4EB215;
  color: #ffffff;
}

.create-button:hover {
  background-color: #45a013;
}

/* Custom icons using CSS instead of Font Awesome */
.info-icon, .pencil-icon, .review-icon {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 6px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.info-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 192 512'%3E%3Cpath fill='%23475569' d='M20 424.229h20V279.771H20c-11.046 0-20-8.954-20-20V212c0-11.046 8.954-20 20-20h112c11.046 0 20 8.954 20 20v212.229h20c11.046 0 20 8.954 20 20V492c0 11.046-8.954 20-20 20H20c-11.046 0-20-8.954-20-20v-47.771c0-11.046 8.954-20 20-20zM96 0C56.235 0 24 32.235 24 72s32.235 72 72 72 72-32.235 72-72S135.764 0 96 0z'%3E%3C/path%3E%3C/svg%3E");
}

.pencil-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23ffffff' d='M497.9 142.1l-46.1 46.1c-4.7 4.7-12.3 4.7-17 0l-111-111c-4.7-4.7-4.7-12.3 0-17l46.1-46.1c18.7-18.7 49.1-18.7 67.9 0l60.1 60.1c18.8 18.7 18.8 49.1 0 67.9zM284.2 99.8L21.6 362.4.4 483.9c-2.9 16.4 11.4 30.6 27.8 27.8l121.5-21.3 262.6-262.6c4.7-4.7 4.7-12.3 0-17l-111-111c-4.8-4.7-12.4-4.7-17.1 0zM124.1 339.9c-5.5-5.5-5.5-14.3 0-19.8l154-154c5.5-5.5 14.3-5.5 19.8 0s5.5 14.3 0 19.8l-154 154c-5.5 5.5-14.3 5.5-19.8 0zM88 424h48v36.3l-64.5 11.3-31.1-31.1L51.7 376H88v48z'%3E%3C/path%3E%3C/svg%3E");
}

.review-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%2392400e' d='M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336h24V272H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z'%3E%3C/path%3E%3C/svg%3E");
}

/* Loading indicator styles */
.allies-loading-indicator {
  text-align: center; 
  padding: 20px;
}

.allies-loading-indicator .allies-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  border-top-color: #333;
  animation: allies-spin 1s ease-in-out infinite;
  margin-right: 10px;
}

@keyframes allies-spin {
  to { transform: rotate(360deg); }
}

.allies-end-message {
  text-align: center; 
  padding: 30px; 
  color: #777;
}

/* Enhanced Mobile Responsiveness */
@media (min-width: 769px) {
  .blog-header-title {
    padding: 10px 12px;
    border-radius: 4px 4px 0 0;
  }
  
  .blog-subheader {
    border-radius: 4px;
  }
  
  .content-buttons-row {
    flex-direction: column;
    text-align: center;
    padding: 12px 0;
  }
  
  .subheader-content {
    padding-right: 0;
    margin-bottom: 12px;
    min-width: unset;
    width: 100%;
  }
  
  .user-profile-section, .guest-section {
    justify-content: center;
    text-align: center;
  }
  
  .subheader-buttons {
    width: 100%;
    justify-content: center;
    border-radius: 4px;
  }
  
  .action-button {
    flex: 1;
    padding: 8px 6px;
    font-size: 11px;
    min-width: 0;
  }
  
  .greeting-text {
    font-size: 12px;
  }
  
  .post-input-mock {
    padding: 8px 12px;
  }
  
  .subtitle-text {
    font-size: 13px;
  }
  
  .user-avatar, .guest-avatar {
    width: 35px;
    height: 35px;
  }
  
  .guest-icon {
    width: 16px;
    height: 16px;
  }
  
  .info-icon, .pencil-icon, .review-icon {
    width: 10px;
    height: 10px;
    margin-right: 4px;
  }
}

/* Ultra-small screens */
@media (max-width: 380px) {
  .subheader-buttons {
    flex-direction: column;
    gap: 0;
    border-radius: 4px;
  }
  
  .action-button {
    width: 100%;
    padding: 10px 8px;
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
  }
  
  .action-button:last-child {
    border-bottom: none;
  }
  
  .user-profile-section, .guest-section {
    gap: 8px;
  }
  
  .greeting-text {
    font-size: 8px;
  }
  
  .post-input-mock {
    padding: 6px 10px;
  }
}