/* app/javascript/application.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --primary: #8B4513;
  --primary-light: #D2691E;
  --secondary: #F4A460;
  --accent: #FFD700;
  --success: #32CD32;
  --warning: #FFA500;
  --danger: #DC143C;
  --info: #0f90c3;
  --white: #FFFFFF;
  --light-gray: #F8F9FA;
  --gray: #6C757D;
  --dark-gray: #343A40;
  --black: #212529;
  --font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: var(--light-gray);
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
}
h1 {
  font-size: var(--font-size-3xl);
}
h2 {
  font-size: var(--font-size-2xl);
}
h3 {
  font-size: var(--font-size-xl);
}
h4 {
  font-size: var(--font-size-lg);
}
p {
  margin-bottom: var(--spacing-md);
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}
.header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  padding: var(--spacing-md) 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}
.logo:hover {
  color: var(--primary-light);
}
.nav {
  display: flex;
  gap: var(--spacing-lg);
  align-items: center;
}
.nav-link {
  color: var(--gray);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}
.language-switcher {
  margin-left: var(--spacing-md);
}
.language-form {
  margin: 0;
}
.user-menu {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-left: var(--spacing-md);
}
.language-select {
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius-md);
  padding: var(--spacing-sm) var(--spacing-md);
  font-size: var(--font-size-sm);
  color: var(--dark-gray);
  cursor: pointer;
  transition: border-color 0.2s;
}
.language-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(139, 69, 19, 0.2);
}
.language-select:hover {
  border-color: var(--primary-light);
}
.language-switcher-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
}
.language-form-mobile {
  margin: 0;
  display: flex;
  align-items: center;
}
.language-select-mobile {
  background: transparent;
  border: none;
  color: var(--gray);
  font-size: var(--font-size-lg);
  cursor: pointer;
  padding: var(--spacing-sm);
  border-radius: var(--radius-md);
  transition: all 0.2s;
}
.language-select-mobile:hover {
  color: var(--primary);
  background: var(--light-gray);
}
.language-select-mobile:focus {
  outline: none;
  color: var(--primary);
  background: var(--light-gray);
}
.main-actions {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  justify-content: center;
  align-items: center;
}
.main-action-btn {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.main-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.main-action-btn:active {
  transform: translateY(0);
}
.main-action-btn .btn-icon {
  font-size: 2rem;
  margin-bottom: var(--spacing-xs);
  display: block;
}
.main-action-btn .btn-text {
  text-align: center;
  line-height: 1.2;
  max-width: 100px;
  word-wrap: break-word;
}
.main-action-btn.btn-primary {
  background:
    linear-gradient(
      135deg,
      var(--primary),
      var(--primary-light));
  color: var(--white);
}
.main-action-btn.btn-primary:hover {
  background:
    linear-gradient(
      135deg,
      var(--primary-light),
      var(--primary));
}
.main-action-btn.btn-success {
  background:
    linear-gradient(
      135deg,
      var(--success),
      #28a745);
  color: var(--white);
}
.main-action-btn.btn-success:hover {
  background:
    linear-gradient(
      135deg,
      #28a745,
      var(--success));
}
.main-action-btn.btn-info {
  background:
    linear-gradient(
      135deg,
      var(--info),
      #17a2b8);
  color: var(--white);
}
.main-action-btn.btn-info:hover {
  background:
    linear-gradient(
      135deg,
      #17a2b8,
      var(--info));
}
.main-action-btn.btn-warning {
  background:
    linear-gradient(
      135deg,
      var(--warning),
      #fd7e14);
  color: var(--white);
}
.main-action-btn.btn-warning:hover {
  background:
    linear-gradient(
      135deg,
      #fd7e14,
      var(--warning));
}
.main-action-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.main-action-btn:disabled:hover {
  transform: none;
  box-shadow: var(--shadow-md);
}
@media (max-width: 768px) {
  .main-actions {
    gap: var(--spacing-md);
  }
  .main-action-btn {
    width: 150px;
    height: 150px;
  }
  .main-action-btn .btn-icon {
    font-size: 2.25rem;
  }
  .main-action-btn .btn-text {
    font-size: 1rem;
    max-width: 120px;
  }
}
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 100;
}
.bottom-nav-content {
  display: flex;
  justify-content: space-around;
  padding: var(--spacing-sm) 0;
}
.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--gray);
  font-size: var(--font-size-sm);
  padding: var(--spacing-sm);
  border-radius: var(--radius-md);
  transition: all 0.2s;
}
.bottom-nav-item:hover,
.bottom-nav-item.active {
  color: var(--primary);
  background: var(--light-gray);
}
.bottom-nav-icon {
  font-size: var(--font-size-3xl);
  margin-bottom: var(--spacing-xs);
}
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
  transition: box-shadow 0.2s;
  text-decoration: none;
}
.card:hover {
  box-shadow: var(--shadow-md);
}
.card a {
  text-decoration: none;
}
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--spacing-md);
}
.card-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--dark-gray);
  margin: 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-sm) var(--spacing-lg);
  border: none;
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  gap: var(--spacing-sm);
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--primary-light);
}
.btn-secondary {
  background: var(--secondary);
  color: var(--white);
}
.btn-secondary:hover {
  background: var(--primary-light);
}
.btn-success {
  background: var(--success);
  color: var(--white);
}
.btn-success:hover {
  background: #28a745;
}
.btn-warning {
  background: var(--warning);
  color: var(--white);
}
.btn-warning:hover {
  background: #e0a800;
}
.btn-danger {
  background: var(--danger);
  color: var(--white);
}
.btn-danger:hover {
  background: #c82333;
}
.btn-sm {
  padding: var(--spacing-xs) var(--spacing-md);
  font-size: var(--font-size-sm);
}
.btn-lg {
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: var(--font-size-lg);
}
.form-group {
  margin-bottom: var(--spacing-lg);
}
.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: var(--spacing-sm);
  color: var(--dark-gray);
}
.form-control {
  width: 100%;
  padding: var(--spacing-sm) var(--spacing-md);
  border: 2px solid var(--light-gray);
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  transition: border-color 0.2s;
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
}
.form-control.error {
  border-color: var(--danger);
}
.task-item {
  display: flex;
  align-items: center;
  padding: var(--spacing-md);
  background: var(--white);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-sm);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
  text-decoration: none;
}
.task-item:hover {
  box-shadow: var(--shadow-md);
}
.task-item.completed {
  opacity: 0.7;
  background: var(--light-gray);
}
.task-item.overdue {
  border-left: 4px solid var(--danger);
}
.task-checkbox {
  margin-right: var(--spacing-md);
  transform: scale(1.2);
}
.task-content {
  flex: 1;
}
.task-name {
  font-weight: 500;
  margin-bottom: var(--spacing-xs);
}
.task-meta {
  font-size: var(--font-size-sm);
  color: var(--gray);
}
.task-time {
  color: var(--primary);
  font-weight: 500;
}
.task-actions {
  display: flex;
  gap: var(--spacing-sm);
}
.pet-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s;
  text-decoration: none;
}
.pet-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.pet-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-md);
  font-size: var(--font-size-2xl);
  color: var(--white);
}
.pet-avatar.large {
  width: 160px;
  height: 160px;
  font-size: var(--font-size-3xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-md);
  background: var(--secondary);
  color: var(--white);
  border-radius: 50%;
}
.pet-name {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
}
.pet-breed {
  color: var(--gray);
  margin-bottom: var(--spacing-sm);
}
.badge {
  display: inline-block;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-sm);
  font-size: var(--font-size-sm);
  font-weight: 500;
}
.badge-success {
  background: var(--success);
  color: var(--white);
}
.badge-warning {
  background: var(--warning);
  color: var(--white);
}
.badge-danger {
  background: var(--danger);
  color: var(--white);
}
.badge-info {
  background: var(--info);
  color: var(--white);
}
.grid {
  display: grid;
  gap: var(--spacing-lg);
}
.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.text-left {
  text-align: left;
}
.mb-0 {
  margin-bottom: 0;
}
.mb-1 {
  margin-bottom: var(--spacing-sm);
}
.mb-2 {
  margin-bottom: var(--spacing-md);
}
.mb-3 {
  margin-bottom: var(--spacing-lg);
}
.mt-0 {
  margin-top: 0;
}
.mt-1 {
  margin-top: var(--spacing-sm);
}
.mt-2 {
  margin-top: var(--spacing-md);
}
.mt-3 {
  margin-top: var(--spacing-lg);
}
.p-0 {
  padding: 0;
}
.p-1 {
  padding: var(--spacing-sm);
}
.p-2 {
  padding: var(--spacing-md);
}
.p-3 {
  padding: var(--spacing-lg);
}
.d-none {
  display: none;
}
.d-block {
  display: block;
}
.d-flex {
  display: flex;
}
.d-grid {
  display: grid;
}
.justify-between {
  justify-content: space-between;
}
.justify-center {
  justify-content: center;
}
.align-center {
  align-items: center;
}
@media (max-width: 768px) {
  .container {
    padding: 0 var(--spacing-sm);
  }
  .nav {
    display: none;
  }
  .language-switcher {
    display: none;
  }
  .bottom-nav {
    display: block;
  }
  .bottom-nav-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: var(--spacing-sm) 0;
  }
  .bottom-nav-item {
    font-size: 0.75rem;
    padding: var(--spacing-xs);
    flex: 1;
    max-width: 60px;
  }
  .bottom-nav-icon {
    font-size: var(--font-size-3xl);
  }
  .language-switcher-mobile {
    display: flex;
    flex: 1;
    max-width: 60px;
  }
  .main-content {
    padding-bottom: 20px;
  }
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .card {
    padding: var(--spacing-md);
  }
  .btn {
    width: 100%;
    margin-bottom: var(--spacing-sm);
  }
  .task-actions {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade-in {
  animation: fadeIn 0.3s ease-out;
}
.loading {
  opacity: 0.6;
  pointer-events: none;
}
.spinner {
  border: 2px solid var(--light-gray);
  border-top: 2px solid var(--primary);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.alert {
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-lg);
  border: 1px solid transparent;
}
.alert-danger {
  background-color: #f8d7da;
  border-color: #f5c6cb;
  color: #721c24;
}
.alert-success {
  background-color: #d4edda;
  border-color: #c3e6cb;
  color: #155724;
}
.alert-warning {
  background-color: #fff3cd;
  border-color: #ffeaa7;
  color: #856404;
}
.alert-info {
  background-color: #d1ecf1;
  border-color: #bee5eb;
  color: #0c5460;
}
.form-actions {
  display: flex;
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}
dl {
  margin: 0;
}
dt {
  font-weight: 600;
  color: var(--gray);
  margin-top: var(--spacing-sm);
}
dd {
  margin-left: 0;
  margin-bottom: var(--spacing-sm);
}
.rounded-circle {
  border-radius: 50% !important;
  object-fit: cover;
  overflow: hidden;
}
.camera-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-lg);
  margin: var(--spacing-lg) 0;
}
.camera-video {
  width: 100%;
  max-width: 500px;
  height: 300px;
  background: var(--dark-gray);
  border-radius: var(--radius-lg);
  object-fit: cover;
  border: 2px solid var(--light-gray);
}
.camera-controls {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  justify-content: center;
}
.photo-form {
  max-width: 600px;
}
.photo-form .form-group {
  margin-bottom: var(--spacing-lg);
}
.photo-form .form-control {
  width: 100%;
}
.photo-form textarea.form-control {
  resize: vertical;
  min-height: 80px;
}
.camera-video:not([srcObject]) {
  background:
    linear-gradient(
      135deg,
      var(--light-gray) 0%,
      var(--gray) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: var(--font-size-lg);
}
.camera-video:not([srcObject])::before {
  content: "\1f4f7";
  font-size: var(--font-size-3xl);
  opacity: 0.7;
}
@media (max-width: 768px) {
  .camera-video {
    height: 250px;
    max-width: 100%;
  }
  .camera-controls {
    flex-direction: column;
    width: 100%;
  }
  .camera-controls .btn {
    width: 100%;
  }
  .photo-form {
    max-width: 100%;
  }
}
.bottom_camera_button {
  position: relative;
  cursor: pointer;
}
input[type=file] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.cameraButton {
  position: relative;
  overflow: hidden;
  display: inline-block;
  position: relative;
  cursor: pointer;
  background:
    linear-gradient(
      135deg,
      #667eea 0%,
      #764ba2 100%);
  border: none;
  border-radius: 50px;
  padding: 15px 30px;
  color: white;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px;
}
.cameraButton:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  background:
    linear-gradient(
      135deg,
      #764ba2 0%,
      #667eea 100%);
}
.cameraButton:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.cameraButton::before {
  content: "\1f4f7";
  font-size: 20px;
  margin-right: 8px;
  display: inline-block;
}
.cameraButton input[type=file] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.avatar-upload {
  text-align: center;
}
.qr-reader-container {
  margin: var(--spacing-lg) 0;
}
.qr-result-container {
  margin-top: var(--spacing-lg);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 2px solid var(--light-gray);
}
#qr-result {
  display: none;
}
.qr-result-content {
  text-align: center;
}
.qr-result-content h3 {
  color: var(--primary);
  margin-bottom: var(--spacing-md);
  font-size: var(--font-size-xl);
}
.qr-result-content p {
  margin-bottom: var(--spacing-sm);
  font-size: var(--font-size-base);
  line-height: 1.5;
}
.qr-result-content strong {
  color: var(--dark-gray);
  font-weight: 600;
}
.qr-result-content .btn {
  margin-top: var(--spacing-md);
}
#my-qr-reader {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}
#my-qr-reader video {
  border-radius: var(--radius-lg);
  border: 2px solid var(--light-gray);
}
@media (max-width: 768px) {
  .qr-result-container {
    padding: var(--spacing-md);
    margin: var(--spacing-md) 0;
  }
  #my-qr-reader {
    max-width: 100%;
  }
  .qr-result-content h3 {
    font-size: var(--font-size-lg);
  }
}
.avatar-upload {
  text-align: center;
}
.profile-avatar {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}
.profile-avatar img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--secondary);
}
.avatar-placeholder {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-3xl);
  font-weight: bold;
  margin: 0 auto;
}
.notification-preferences {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}
.notification-item {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}
.notification-item label {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  cursor: pointer;
}
.notification-toggle {
  transform: scale(1.2);
  margin-right: var(--spacing-sm);
}
.notification-item small {
  margin-left: 2rem;
}
.qr-code-container {
  text-align: center;
  margin: var(--spacing-md) 0;
}
.qr-code-container svg {
  max-width: 200px;
  background: var(--white);
}
.card-actions {
  display: flex;
  gap: var(--spacing-sm);
  align-items: center;
}
.qr-preview {
  text-align: center;
  margin-top: var(--spacing-sm);
}
.qr-preview svg {
  max-width: 60px;
  height: auto;
  border: 1px solid var(--gray);
  border-radius: var(--radius-sm);
  padding: var(--spacing-xs);
  background: var(--white);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background-color: #ffede3;
  color: #1f2937;
  overflow-x: hidden;
}
.app {
  width: 100vw;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.screen {
  display: none;
  width: 100%;
  min-height: 844px;
  background-color: #ffede3;
  position: relative;
}
.screen.active {
  display: block;
}
.btn {
  border: none;
  border-radius: 64px;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-primary {
  background-color: #f7630c;
  color: white;
  padding: 20px 40px;
  width: 100%;
}
.btn-primary:hover {
  background-color: #e55a0b;
  transform: translateY(-2px);
}
.btn-secondary {
  background-color: white;
  color: #1f2937;
  padding: 16px 32px;
  border: 2px solid #e5e7eb;
}
.btn-secondary:hover {
  background-color: #f9fafb;
}
.btn-icon {
  background: white;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.btn-icon:hover {
  transform: scale(1.05);
}
.link-btn {
  background: none;
  border: none;
  color: #1f2937;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 18px;
  cursor: pointer;
  position: relative;
}
.link-btn::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #1f2937;
  border-radius: 40px;
}
.welcome-header {
  text-align: center;
  margin-bottom: 40px;
}
.logo {
  font-family: "Kavoon", cursive;
  font-size: 130px;
  line-height: 130px;
  letter-spacing: -7px;
  color: #1f2937;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.logo-bone {
  position: absolute;
  top: 57px;
  left: 50%;
  z-index: 1;
}
.welcome-image {
  width: 100%;
  height: 250px;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 40px;
}
.welcome-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.welcome-description {
  font-family: "Fredoka", sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 28.8px;
  text-align: center;
  margin-bottom: 60px;
}
.welcome-footer {
  text-align: center;
  margin-top: 40px;
}
.welcome-footer p {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 16px;
}
.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}
.main-header h2 {
  font-size: 28px;
  font-weight: 700;
}
.dog-card {
  background: white;
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 32px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.dog-info {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.dog-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}
.dog-details h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
}
.dog-details p {
  color: #6b7280;
  font-size: 14px;
}
.status-indicator {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
}
.status-indicator.ready {
  background-color: #dcfce7;
  color: #166534;
}
.quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}
.action-btn {
  background: white;
  border: none;
  border-radius: 16px;
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.action-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.action-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}
.walk-btn .action-icon {
  background-color: #fef3c7;
  color: #d97706;
}
.history-btn .action-icon {
  background-color: #dbeafe;
  color: #2563eb;
}
.action-btn span {
  font-weight: 500;
  font-size: 14px;
}
.today-stats {
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.today-stats h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.stat-item {
  text-align: center;
}
.stat-number {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: #f7630c;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 12px;
  color: #6b7280;
}
.walk-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}
.walk-header h2 {
  font-size: 20px;
  font-weight: 600;
}
.walk-timer {
  text-align: center;
  margin-bottom: 60px;
}
.timer-circle {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}
.timer-text {
  font-size: 48px;
  font-weight: 700;
  color: #f7630c;
}
.walk-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 40px;
}
.poop-btn,
.pee-btn {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}
.poop-btn.active {
  border-color: #f7630c;
  background-color: #fef3c7;
}
.pee-btn.active {
  border-color: #2563eb;
  background-color: #dbeafe;
}
.poop-icon,
.pee-icon {
  font-size: 32px;
  margin-bottom: 8px;
}
.poop-btn span,
.pee-btn span {
  display: block;
  font-weight: 500;
  font-size: 14px;
}
.poop-indicator,
.pee-indicator {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #10b981;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.poop-indicator.active,
.pee-indicator.active {
  opacity: 1;
}
.walk-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}
.walk-notes h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}
.walk-notes textarea {
  width: 100%;
  min-height: 100px;
  padding: 16px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  resize: vertical;
}
.walk-notes textarea:focus {
  outline: none;
  border-color: #f7630c;
}
.history-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.history-header h2 {
  font-size: 24px;
  font-weight: 700;
}
.history-filter {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  overflow-x: auto;
  padding-bottom: 8px;
}
.filter-btn {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s ease;
}
.filter-btn.active {
  background-color: #f7630c;
  border-color: #f7630c;
  color: white;
}
.history-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.history-item {
  background: white;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.history-date .date {
  font-weight: 500;
  font-size: 14px;
  display: block;
  margin-bottom: 4px;
}
.history-date .time {
  font-size: 12px;
  color: #6b7280;
}
.history-details {
  display: flex;
  align-items: center;
  gap: 16px;
}
.duration {
  font-weight: 500;
  font-size: 14px;
  color: #f7630c;
}
.activities {
  display: flex;
  gap: 8px;
}
.activity {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}
.activity.poop {
  background-color: #fef3c7;
}
.activity.pee {
  background-color: #dbeafe;
}
.profile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}
.profile-header h2 {
  font-size: 24px;
  font-weight: 700;
}
.profile-info {
  text-align: center;
  margin-bottom: 32px;
}
.profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}
.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-info h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}
.profile-info p {
  color: #6b7280;
  font-size: 16px;
}
.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.stat-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.stat-card .stat-number {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: #f7630c;
  margin-bottom: 8px;
}
.stat-card .stat-label {
  font-size: 12px;
  color: #6b7280;
}
.profile-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.menu-item {
  background: white;
  border: none;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.menu-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.menu-item span {
  font-weight: 500;
  font-size: 16px;
}
.login-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}
.login-header h2 {
  font-size: 24px;
  font-weight: 700;
}
.login-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-weight: 500;
  font-size: 14px;
  color: #374151;
}
.form-group input {
  padding: 16px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 16px;
  font-family: "Inter", sans-serif;
}
.form-group input:focus {
  outline: none;
  border-color: #f7630c;
}
.login-footer {
  text-align: center;
}
.login-footer p {
  font-size: 16px;
  color: #6b7280;
}
@media (max-width: 390px) {
  .screen {
    width: 100vw;
  }
  .container {
    padding: 20px 12px;
  }
  .logo {
    font-size: 100px;
    line-height: 100px;
  }
  .welcome-description {
    font-size: 20px;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.screen.active {
  animation: fadeIn 0.3s ease-out;
}
.hidden {
  display: none !important;
}
.text-center {
  text-align: center;
}
.mb-16 {
  margin-bottom: 16px;
}
.mb-24 {
  margin-bottom: 24px;
}
.mb-32 {
  margin-bottom: 32px;
}
.link_btn a {
  color: #f7630c;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
}
.link_btn a:hover {
  text-decoration: underline;
}
button {
  border: none;
  background: none;
}
.gallery-photo-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

/* node_modules/photoswipe/dist/photoswipe.css */
.pswp {
  --pswp-bg: #000;
  --pswp-placeholder-bg: #222;
  --pswp-root-z-index: 100000;
  --pswp-preloader-color: rgba(79, 79, 79, 0.4);
  --pswp-preloader-color-secondary: rgba(255, 255, 255, 0.9);
  --pswp-icon-color: #fff;
  --pswp-icon-color-secondary: #4f4f4f;
  --pswp-icon-stroke-color: #4f4f4f;
  --pswp-icon-stroke-width: 2px;
  --pswp-error-text-color: var(--pswp-icon-color);
}
.pswp {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: var(--pswp-root-z-index);
  display: none;
  touch-action: none;
  outline: 0;
  opacity: 0.003;
  contain: layout style size;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.pswp:focus {
  outline: 0;
}
.pswp * {
  box-sizing: border-box;
}
.pswp img {
  max-width: none;
}
.pswp--open {
  display: block;
}
.pswp,
.pswp__bg {
  transform: translateZ(0);
  will-change: opacity;
}
.pswp__bg {
  opacity: 0.005;
  background: var(--pswp-bg);
}
.pswp,
.pswp__scroll-wrap {
  overflow: hidden;
}
.pswp__scroll-wrap,
.pswp__bg,
.pswp__container,
.pswp__item,
.pswp__content,
.pswp__img,
.pswp__zoom-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.pswp__img,
.pswp__zoom-wrap {
  width: auto;
  height: auto;
}
.pswp--click-to-zoom.pswp--zoom-allowed .pswp__img {
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
  cursor: zoom-in;
}
.pswp--click-to-zoom.pswp--zoomed-in .pswp__img {
  cursor: move;
  cursor: -webkit-grab;
  cursor: -moz-grab;
  cursor: grab;
}
.pswp--click-to-zoom.pswp--zoomed-in .pswp__img:active {
  cursor: -webkit-grabbing;
  cursor: -moz-grabbing;
  cursor: grabbing;
}
.pswp--no-mouse-drag.pswp--zoomed-in .pswp__img,
.pswp--no-mouse-drag.pswp--zoomed-in .pswp__img:active,
.pswp__img {
  cursor: -webkit-zoom-out;
  cursor: -moz-zoom-out;
  cursor: zoom-out;
}
.pswp__container,
.pswp__img,
.pswp__button,
.pswp__counter {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.pswp__item {
  z-index: 1;
  overflow: hidden;
}
.pswp__hidden {
  display: none !important;
}
.pswp__content {
  pointer-events: none;
}
.pswp__content > * {
  pointer-events: auto;
}
.pswp__error-msg-container {
  display: grid;
}
.pswp__error-msg {
  margin: auto;
  font-size: 1em;
  line-height: 1;
  color: var(--pswp-error-text-color);
}
.pswp .pswp__hide-on-close {
  opacity: 0.005;
  will-change: opacity;
  transition: opacity var(--pswp-transition-duration) cubic-bezier(0.4, 0, 0.22, 1);
  z-index: 10;
  pointer-events: none;
}
.pswp--ui-visible .pswp__hide-on-close {
  opacity: 1;
  pointer-events: auto;
}
.pswp__button {
  position: relative;
  display: block;
  width: 50px;
  height: 60px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  cursor: pointer;
  background: none;
  border: 0;
  box-shadow: none;
  opacity: 0.85;
  -webkit-appearance: none;
  -webkit-touch-callout: none;
}
.pswp__button:hover,
.pswp__button:active,
.pswp__button:focus {
  transition: none;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
  opacity: 1;
}
.pswp__button:disabled {
  opacity: 0.3;
  cursor: auto;
}
.pswp__icn {
  fill: var(--pswp-icon-color);
  color: var(--pswp-icon-color-secondary);
}
.pswp__icn {
  position: absolute;
  top: 14px;
  left: 9px;
  width: 32px;
  height: 32px;
  overflow: hidden;
  pointer-events: none;
}
.pswp__icn-shadow {
  stroke: var(--pswp-icon-stroke-color);
  stroke-width: var(--pswp-icon-stroke-width);
  fill: none;
}
.pswp__icn:focus {
  outline: 0;
}
div.pswp__img--placeholder,
.pswp__img--with-bg {
  background: var(--pswp-placeholder-bg);
}
.pswp__top-bar {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 60px;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  z-index: 10;
  pointer-events: none !important;
}
.pswp__top-bar > * {
  pointer-events: auto;
  will-change: opacity;
}
.pswp__button--close {
  margin-right: 6px;
}
.pswp__button--arrow {
  position: absolute;
  top: 0;
  width: 75px;
  height: 100px;
  top: 50%;
  margin-top: -50px;
}
.pswp__button--arrow:disabled {
  display: none;
  cursor: default;
}
.pswp__button--arrow .pswp__icn {
  top: 50%;
  margin-top: -30px;
  width: 60px;
  height: 60px;
  background: none;
  border-radius: 0;
}
.pswp--one-slide .pswp__button--arrow {
  display: none;
}
.pswp--touch .pswp__button--arrow {
  visibility: hidden;
}
.pswp--has_mouse .pswp__button--arrow {
  visibility: visible;
}
.pswp__button--arrow--prev {
  right: auto;
  left: 0px;
}
.pswp__button--arrow--next {
  right: 0px;
}
.pswp__button--arrow--next .pswp__icn {
  left: auto;
  right: 14px;
  transform: scale(-1, 1);
}
.pswp__button--zoom {
  display: none;
}
.pswp--zoom-allowed .pswp__button--zoom {
  display: block;
}
.pswp--zoomed-in .pswp__zoom-icn-bar-v {
  display: none;
}
.pswp__preloader {
  position: relative;
  overflow: hidden;
  width: 50px;
  height: 60px;
  margin-right: auto;
}
.pswp__preloader .pswp__icn {
  opacity: 0;
  transition: opacity 0.2s linear;
  animation: pswp-clockwise 600ms linear infinite;
}
.pswp__preloader--active .pswp__icn {
  opacity: 0.85;
}
@keyframes pswp-clockwise {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.pswp__counter {
  height: 30px;
  margin-top: 15px;
  margin-inline-start: 20px;
  font-size: 14px;
  line-height: 30px;
  color: var(--pswp-icon-color);
  text-shadow: 1px 1px 3px var(--pswp-icon-color-secondary);
  opacity: 0.85;
}
.pswp--one-slide .pswp__counter {
  display: none;
}
/*! Bundled license information:

photoswipe/dist/photoswipe.css:
  (*! PhotoSwipe main CSS by Dmytro Semenov | photoswipe.com *)
*/
/*# sourceMappingURL=/assets/application-0ba6ae0f.css.map */
