.interactive-tutorial-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.tutorial-title {
  text-align: center;
  color: #005665;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.tutorial-subtitle {
  text-align: center;
  color: #333;
  font-size: 1.2rem;
  margin-bottom: 3rem;
}

.tutorial-main-container {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  min-height: 800px;
  max-width: 1200px;
  margin: 0 auto;
  flex: 1;
}

.description-sidebar {
  width: 350px;
  height: 700px; /* Para que esté a la misma altura que el móvil de mentira*/
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border-left: 5px solid #005665;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  flex-shrink: 0;
  order: 1; 
}

.description-sidebar.show {
  display: flex;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: #005665;
  color: white;
  border-radius: 20px 20px 0 0;
  flex-shrink: 0;
}

.sidebar-header h3 {
  margin: 0;
  font-size: 1.3rem;
}

.close-sidebar {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 1.5rem;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
  display: none;
}

.sidebar-content {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.sidebar-description {
  margin-bottom: 20px;
  flex-shrink: 0;
}

.sidebar-description p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  margin: 0;
}

.sidebar-tutorial {
  flex: 1;
  overflow-y: auto;
}

.sidebar-tutorial .tutorial-steps {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.sidebar-tutorial .step {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 10px;
  border-left: 4px solid #005665;
}

.sidebar-tutorial .step h4 {
  color: #005665;
  margin: 0 0 8px 0;
  font-size: 1rem;
}

.sidebar-tutorial .step p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #333;
}

/* Boton atras*/
.back-button-container {
  padding: 20px;
  border-top: 1px solid #eee;
  display: none;
  flex-shrink: 0;
}

.back-button-container.show {
  display: block;
}

.back-button {
  background: #005665;
  border: none;
  border-radius: 25px;
  padding: 12px 20px;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  width: 100%;
  text-align: center;
}

.back-button:hover {
  background: rgba(0, 86, 101, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.mobile-screen-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  transition: all 0.4s ease;
  order: 2;
}

.mobile-screen {
  width: 350px;
  height: 700px;
  background: linear-gradient(135deg, #00bcd4 0%, #009688 100%);
  border-radius: 25px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow-y: auto;
  transition: all 0.3s ease;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.mobile-screen::-webkit-scrollbar {
  display: none;
}

.mobile-screen::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="70" r="2.5" fill="rgba(255,255,255,0.1)"/><circle cx="70" cy="80" r="1" fill="rgba(255,255,255,0.1)"/></svg>')
    repeat;
  pointer-events: none;
}

.status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  font-size: 0.9rem;
  font-weight: bold;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.status-icons {
  display: flex;
  gap: 5px;
}

.app-header {
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
}

.app-logo {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.app-title {
  font-size: 2rem;
  font-weight: bold;
  color: #005665;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.paw-icon {
  font-size: 1.5rem;
}

.app-subtitle {
  color: #005665;
  font-weight: bold;
  margin-top: 10px;
  font-size: 0.9rem;
}

.cat-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 30px 0;
  position: relative;
  z-index: 2;
  height: 120px;
}

.cat-illustration {
  z-index: 3;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 4rem;
  animation: float 3s ease-in-out infinite;
}

.decorative-icons {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.decorative-icons .icon {
  font-size: 1.5rem;
  animation: pulse 2s ease-in-out infinite;
  cursor: pointer;
  transition: transform 0.3s ease;
  z-index: 2;
}

.decorative-icons .icon:hover {
  transform: scale(1.2);
}

.decorative-icons .trophy {
  animation-delay: 0.5s;
}

.decorative-icons .location {
  animation-delay: 1s;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translate(-50%, -50%) translateY(0px);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-10px);
  }
}

.app-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 30px 0;
  position: relative;
  z-index: 2;
}

.app-button {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 25px;
  padding: 15px 20px;
  font-size: 1rem;
  font-weight: bold;
  color: #005665;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.app-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s ease;
}

.app-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 1);
}

.app-button:hover::before {
  left: 100%;
}

.app-button:active {
  transform: translateY(0);
}

.bottom-nav {
  display: flex;
  justify-content: space-around;
  margin-top: auto;
  padding-top: 20px;
  position: relative;
  z-index: 2;
}

.nav-icon {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-icon:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.scanner-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px 0;
  position: relative;
  z-index: 2;
}

.scanner-frame {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cat-face {
  font-size: 4rem;
  z-index: 3;
  position: relative;
}

.scan-corners {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.corner {
  position: absolute;
  width: 30px;
  height: 30px;
  border: 3px solid #4caf50;
}

.corner.top-left {
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
  border-radius: 10px 0 0 0;
}

.corner.top-right {
  top: 0;
  right: 0;
  border-left: none;
  border-bottom: none;
  border-radius: 0 10px 0 0;
}

.corner.bottom-left {
  bottom: 0;
  left: 0;
  border-right: none;
  border-top: none;
  border-radius: 0 0 0 10px;
}

.corner.bottom-right {
  bottom: 0;
  right: 0;
  border-left: none;
  border-top: none;
  border-radius: 0 0 10px 0;
}

.scanner-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 30px 0;
  position: relative;
  z-index: 2;
}

.scanner-button {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 25px;
  padding: 15px 20px;
  font-size: 1rem;
  font-weight: bold;
  color: #005665;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.scanner-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Tooltip para móviles */
.tooltip {
  position: absolute;
  background: white;
  color: #005665;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 0.9rem;
  max-width: 250px;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 2px solid #005665;
}

.tooltip.show {
  opacity: 1;
}

.tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: white;
}

.food-selection-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 40px 0;
  position: relative;
  z-index: 2;
}

.cat-profile-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 25px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
}

.cat-profile-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.cat-avatar {
  font-size: 2rem;
}

.cat-name {
  font-size: 1.2rem;
  font-weight: bold;
  color: #005665;
}

.add-cat-button {
  background: rgba(255, 255, 255, 0.9);
  border: 2px dashed #005665;
  border-radius: 25px;
  padding: 15px 20px;
  font-size: 1rem;
  font-weight: bold;
  color: #005665;
  cursor: pointer;
  transition: all 0.3s ease;
}

.add-cat-button:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-2px);
}

.cat-info-section {
  margin: 30px 0;
  position: relative;
  z-index: 2;
}

.cat-info-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cat-info-card h3 {
  color: #005665;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.toggle-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.toggle-switch {
  width: 50px;
  height: 25px;
  background: #ccc;
  border-radius: 25px;
  position: relative;
  cursor: pointer;
  transition: background 0.3s ease;
}

.toggle-switch.active {
  background: #005665;
}

.toggle-switch::after {
  content: "";
  position: absolute;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: white;
  top: 2px;
  left: 2px;
  transition: transform 0.3s ease;
}

.toggle-switch.active::after {
  transform: translateX(25px);
}

.food-results {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 20px 0;
  position: relative;
  z-index: 2;
}

.food-item {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
}

.food-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.food-details h4 {
  color: #005665;
  margin-bottom: 8px;
  font-size: 1rem;
}

.food-details p {
  font-size: 0.85rem;
  margin: 2px 0;
  color: #333;
}

.heart-icon {
  font-size: 1.5rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.heart-icon:hover {
  transform: scale(1.2);
}

.calendar-container {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  padding: 20px;
  margin: 30px 0;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.calendar-header h3 {
  color: #005665;
  font-size: 1.3rem;
}

.nav-arrow {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #005665;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.nav-arrow:hover {
  background: rgba(0, 86, 101, 0.1);
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  margin-bottom: 10px;
}

.calendar-days span {
  text-align: center;
  font-weight: bold;
  color: #005665;
  font-size: 0.9rem;
}

.calendar-dates {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}

.calendar-dates span {
  text-align: center;
  padding: 8px;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.calendar-dates span:hover {
  background: rgba(0, 86, 101, 0.1);
}

.calendar-dates span.selected {
  background: #005665;
  color: white;
  border-radius: 50%;
}

.calendar-dates span.prev-month,
.calendar-dates span.next-month {
  color: #ccc;
}

.calendar-actions {
  display: flex;
  justify-content: space-between;
  margin: 30px 0;
  position: relative;
  z-index: 2;
}

.calendar-action-btn {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.calendar-action-btn:hover {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 1);
}

.reminder-modal {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  padding: 25px;
  margin: 40px 20px;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.reminder-modal h2 {
  color: #005665;
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.form-field {
  margin-bottom: 15px;
}

.form-field textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  resize: vertical;
}

.form-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.form-row label {
  color: #005665;
  font-weight: bold;
  font-size: 0.9rem;
}

.date-input,
.time-input {
  background: #005665;
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  font-weight: bold;
  cursor: pointer;
}

.form-row select {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: white;
  min-width: 150px;
  cursor: pointer;
}

.modal-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 25px;
  gap: 15px;
}

.cancel-btn,
.add-btn {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 20px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cancel-btn {
  background: #ccc;
  color: #666;
}

.add-btn {
  background: #005665;
  color: white;
}

.cancel-btn:hover,
.add-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.history-container {
  margin: 40px 0;
  position: relative;
  z-index: 2;
}

.empty-state {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.empty-state p {
  color: #005665;
  font-weight: bold;
  font-size: 1.1rem;
}

.settings-container {
  margin: 30px 0;
  position: relative;
  z-index: 2;
}

.settings-section {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.settings-section h3 {
  color: #005665;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.language-buttons {
  display: flex;
  gap: 10px;
}

.lang-btn {
  flex: 1;
  padding: 10px;
  border: 2px solid #005665;
  border-radius: 20px;
  background: white;
  color: #005665;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lang-btn.active {
  background: #005665;
  color: white;
}

.lang-btn:hover {
  transform: translateY(-2px);
}

.music-control {
  display: flex;
  align-items: center;
  gap: 15px;
}

.volume-slider {
  flex: 1;
  cursor: pointer;
}

.slider-track {
  height: 6px;
  background: #ddd;
  border-radius: 3px;
  position: relative;
}

.slider-progress {
  height: 100%;
  background: #005665;
  border-radius: 3px;
  width: 60%;
}

.slider-thumb {
  position: absolute;
  top: -5px;
  left: 60%;
  width: 16px;
  height: 16px;
  background: #005665;
  border-radius: 50%;
  cursor: pointer;
  transform: translateX(-50%);
}

.music-cat {
  font-size: 1.5rem;
}

.user-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.user-action-btn {
  background: #005665;
  color: white;
  border: none;
  border-radius: 20px;
  padding: 12px 15px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.user-action-btn.delete-btn {
  background: #ff4444;
}

.ads-text {
  color: #ff4444;
  font-weight: bold;
  text-align: center;
  margin: 0;
}

.profile-container {
  margin: 40px 0;
  position: relative;
  z-index: 2;
}

.cat-profile-card-detailed {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cat-avatar-large {
  font-size: 4rem;
  margin-bottom: 15px;
}

.cat-profile-card-detailed h3 {
  color: #005665;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.profile-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.profile-action-btn {
  background: rgba(0, 86, 101, 0.1);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.3rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.profile-action-btn:hover {
  background: #005665;
  color: white;
  transform: scale(1.1);
}

.profile-bottom-actions {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  position: relative;
  z-index: 2;
}

.profile-bottom-btn {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 20px;
  padding: 12px 20px;
  font-weight: bold;
  color: #005665;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.profile-bottom-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 1);
}

.scanner-result-container {
  margin: 40px 0;
  position: relative;
  z-index: 2;
}

.result-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.result-image {
  text-align: center;
  margin-bottom: 20px;
}

.placeholder-image {
  font-size: 4rem;
  color: #ccc;
}

.result-info h4 {
  color: #005665;
  margin-bottom: 10px;
}

.result-info p {
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.result-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.result-date {
  color: #666;
  font-size: 0.9rem;
}

.delete-result-btn {
  background: #ff4444;
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.delete-result-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 10px rgba(255, 68, 68, 0.3);
}

.edit-profile-container {
  margin: 30px 0;
  position: relative;
  z-index: 2;
}

.edit-profile-container .form-field {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.edit-profile-container .form-field label {
  display: block;
  color: #005665;
  font-weight: bold;
  margin-bottom: 8px;
}

.edit-profile-container .form-field input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
}

.preferences-section {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.preferences-section h3 {
  color: #005665;
  margin-bottom: 15px;
}

.checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.checkbox-item:hover {
  background: rgba(0, 86, 101, 0.05);
}

.checkbox-item input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid #005665;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: white;
  background: transparent;
  transition: all 0.3s ease;
}

.checkbox-item input[type="checkbox"]:checked + .checkmark {
  background: #005665;
}

.edit-actions {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.save-btn {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 20px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #005665;
  color: white;
}

.save-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.achievements-container {
  margin: 20px 0;
  position: relative;
  z-index: 2;
}

.achievement-tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.achievement-tab {
  flex: 1;
  padding: 15px;
  border: none;
  background: transparent;
  font-weight: bold;
  color: #005665;
  cursor: pointer;
  transition: all 0.3s ease;
}

.achievement-tab.active {
  background: #005665;
  color: white;
}

.achievement-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.achievement-item {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
}

.achievement-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.achievement-item.locked {
  opacity: 0.6;
  background: rgba(200, 200, 200, 0.5);
}

.achievement-item.completed {
  border: 2px solid #4caf50;
  background: rgba(76, 175, 80, 0.1);
}

.achievement-icon {
  font-size: 2rem;
  width: 50px;
  text-align: center;
}

.achievement-info {
  flex: 1;
}

.achievement-info h4 {
  margin: 0 0 5px 0;
  color: #005665;
}

.achievement-info p {
  margin: 0 0 10px 0;
  font-size: 0.9rem;
  color: #666;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: #ddd;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 5px;
}

.progress-fill {
  height: 100%;
  background: #4caf50;
  transition: width 0.3s ease;
}

.progress-text {
  font-size: 0.8rem;
  color: #666;
}

.achievement-points {
  font-size: 1.2rem;
  font-weight: bold;
  color: #005665;
}

.vet-search-container {
  margin: 30px 0;
  position: relative;
  z-index: 2;
}

.search-field {
  margin-bottom: 20px;
}

.search-field input {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 25px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.9);
}

.location-btn {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.location-btn.primary {
  background: #005665;
  color: white;
}

.location-btn.secondary {
  background: rgba(255, 255, 255, 0.9);
  color: #005665;
  border: 2px solid #005665;
}

.location-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.search-tip {
  background: rgba(255, 255, 255, 0.9);
  padding: 15px;
  border-radius: 15px;
  margin-top: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.search-tip p {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
  text-align: center;
}

.vet-results-container {
  margin: 20px 0;
  position: relative;
  z-index: 2;
}

.results-header {
  background: rgba(255, 255, 255, 0.9);
  padding: 15px;
  border-radius: 15px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.results-header h3 {
  margin: 0 0 5px 0;
  color: #005665;
}

.results-header p {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
}

.vet-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.vet-item {
  background: rgba(255, 255, 255, 0.95);
  padding: 15px;
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.vet-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.vet-item h4 {
  margin: 0 0 8px 0;
  color: #005665;
}

.vet-item p {
  margin: 5px 0;
  font-size: 0.9rem;
  color: #666;
}

.vet-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
}

.stars {
  color: #ffa500;
}

.status {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: bold;
}

.status.closed {
  background: #ffebee;
  color: #c62828;
}

.distance {
  font-weight: bold;
  color: #005665;
}

.vet-detail-header {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(255, 255, 255, 0.9);
  padding: 15px;
  border-radius: 15px;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.back-arrow {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #005665;
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.back-arrow:hover {
  background: rgba(0, 86, 101, 0.1);
}

.vet-detail-container {
  position: relative;
  z-index: 2;
}

.vet-info-card {
  background: rgba(255, 255, 255, 0.95);
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.photos-section {
  background: rgba(255, 255, 255, 0.95);
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.photos-section h3 {
  margin: 0 0 15px 0;
  color: #005665;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.photo-item {
  aspect-ratio: 1;
  background: #f0f0f0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.photo-item:hover {
  transform: scale(1.05);
}

.store-container {
  margin: 20px 0;
  position: relative;
  z-index: 2;
}

.currency-section {
  background: rgba(255, 255, 255, 0.9);
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.currency-section h3 {
  margin: 0 0 15px 0;
  color: #005665;
  text-align: center;
}

.currency-display {
  display: flex;
  justify-content: space-around;
}

.currency-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.currency-item:hover {
  transform: scale(1.05);
}

.coin-icon {
  font-size: 2rem;
}

.amount {
  font-size: 1.5rem;
  font-weight: bold;
  color: #005665;
}

.currency-name {
  font-size: 0.9rem;
  color: #666;
}

.store-section {
  background: rgba(255, 255, 255, 0.9);
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.store-section h3 {
  margin: 0 0 15px 0;
  color: #005665;
}

.item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 15px;
}

.store-item {
  aspect-ratio: 1;
  background: #f0f0f0;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  border: 2px solid transparent;
}

.store-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  border-color: #005665;
}

.store-item.locked {
  opacity: 0.7;
}

.item-image {
  font-size: 3rem;
  margin-bottom: 10px;
}

.item-price {
  font-size: 0.9rem;
  font-weight: bold;
  color: #005665;
}

.lock-icon {
  position: absolute;
  bottom: 5px;
  right: 5px;
  font-size: 1.2rem;
  color: #666;
}

.payment-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-content {
  background: white;
  padding: 30px;
  border-radius: 20px;
  max-width: 300px;
  width: 90%;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-content h3 {
  margin: 0 0 10px 0;
  color: #005665;
}

.modal-content p {
  margin: 0 0 20px 0;
  color: #666;
}

.payment-option {
  width: 100%;
  padding: 15px;
  margin-bottom: 10px;
  border: 2px solid #005665;
  border-radius: 25px;
  background: white;
  color: #005665;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.payment-option:hover {
  background: #005665;
  color: white;
}

.cancel-payment {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 25px;
  background: #ccc;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cancel-payment:hover {
  background: #999;
  color: white;
}

.options-container {
  margin: 20px 0;
  position: relative;
  z-index: 2;
}

.options-section {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.options-section h3 {
  color: #005665;
  margin-bottom: 15px;
  font-size: 1.2rem;
  text-align: center;
}

.options-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.option-btn {
  background: #005665;
  color: white;
  border: none;
  border-radius: 25px;
  padding: 15px 20px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1rem;
}

.option-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  background: rgba(0, 86, 101, 0.9);
}

.more-apps {
  text-align: center;
  color: #666;
  font-style: italic;
  padding: 20px;
}

/* Games Screen */
.games-container {
  margin: 20px 0;
  position: relative;
  z-index: 2;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.game-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  padding: 15px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.game-image {
  width: 100%;
  height: 80px;
  border-radius: 10px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.city-game {
  background: linear-gradient(135deg, #87ceeb, #4682b4);
}

.bug-game {
  background: linear-gradient(135deg, #deb887, #cd853f);
}

.merge-game {
  background: linear-gradient(135deg, #f0e68c, #daa520);
}

.mole-game {
  background: linear-gradient(135deg, #8fbc8f, #556b2f);
}

.game-card h4 {
  margin: 0;
  color: #005665;
  font-size: 1rem;
}

.desktop-cat-container {
  order: 3;
  display: flex;
  flex-direction: column;
  width: 350px;
  height: 700px;
  position: relative;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cat-character {
  font-size: 4rem;
  animation: float 3s ease-in-out infinite;
  cursor: pointer;
  position: relative;
  z-index: 2;
  order: 2;
}

.cat-speech-desktop {
  position: relative;
  display: none;
  z-index: 1001;
  pointer-events: none;
  order: 1;
  margin-bottom: 20px;
}

.speech-bubble-desktop {
  background: white;
  color: #005665;
  padding: 15px;
  border-radius: 15px;
  max-width: 280px;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 2px solid #005665;
}

.speech-text-desktop {
  font-size: 0.9rem;
  line-height: 1.4;
  text-align: left;
}

.speech-arrow-desktop {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid white;
}

.cat-speech-desktop.show {
  display: block;
}


@media (max-width: 768px) {
  .interactive-tutorial-container {
    padding: 1rem;
    min-height: 100vh;
  }

  .tutorial-main-container {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .description-sidebar {
    width: 100%;
    height: auto;
    max-height: 60vh;
    order: 2;
    border-left: none;
    border-top: 5px solid #005665;
    margin-top: 1rem;
  }

  .mobile-screen-container {
    order: 1;
    margin-bottom: 1rem;
  }

  .mobile-screen {
    width: 300px;
    height: 600px;
    padding: 15px;
    max-height: 80vh;
    overflow-y: auto;
  }

  .back-button-container {
    padding: 15px;
  }

  .back-button {
    padding: 10px 15px;
    font-size: 0.9rem;
  }

  .app-title {
    font-size: 1.5rem;
  }

  .cat-illustration {
    font-size: 3rem;
  }

  .tutorial-title {
    font-size: 2rem;
  }

  .tutorial-subtitle {
    font-size: 1rem;
  }

  .desktop-cat-container {
    display: none !important;
  }

  body {
    padding-bottom: 80px;
  }
}

@media (max-width: 480px) {
  .mobile-screen {
    width: 280px;
    height: 560px;
    padding: 12px;
  }

  .app-button,
  .scanner-button {
    font-size: 0.9rem;
    padding: 12px 15px;
  }

  .description-sidebar {
    width: 100%;
    max-height: 50vh;
  }

  .sidebar-content {
    padding: 15px;
  }
}

@media (min-width: 769px) {
  .desktop-cat-container {
    display: flex;
  }

  .tooltip {
    display: none;
  }

  body {
    padding-bottom: 0;
  }
}

.mobile-screen {
  transition: all 0.5s ease;
}

.mobile-screen.fade-out {
  opacity: 0;
  transform: scale(0.95);
}

.mobile-screen.fade-in {
  opacity: 1;
  transform: scale(1);
}