:root {
  --primary-color: #ff6b81;
  --primary-hover: #ff4757;
  --bg-gradient: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
}

body {
  background-color: #f0f2f5;
  font-family: 'Nunito', sans-serif;
  overflow: hidden;
  height: 100vh;
}

#app-container {
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* HEADER */

header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--primary-color);
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: absolute;
  top: 0;
  width: 100%;
  height: 60px;
}

/* CONTENT */

#main-content {
  flex: 1;
  overflow-y: auto;
  position: relative;
  background-color: #fafafa;
  padding-top: 60px;
  padding-bottom: 70px;
  scroll-behavior: smooth;
}

/* Views Default State */

.view-section {
  /*display: none;*/
  height: 100%;
  width: 100%;
}

/* Auth View Specifics */

#view-auth {
  background: linear-gradient(135deg, #fff0f6 0%, #e6e6fa 100%);
  padding: 2rem;
  z-index: 200;
}

/* NAV */

.bottom-nav {
  background: white;
  border-top: 1px solid #f1f1f1;
  height: 65px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 100;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.03);
}

.nav-btn {
  background: none;
  border: none;
  color: #b2bec3;
  font-size: 0.7rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  transition: all 0.3s;
}

.nav-btn.active {
  color: var(--primary-color);
  transform: translateY(-2px);
}

.nav-btn i {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

/* CHAT */

#view-chat {
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ff6b81' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.chat-bubble {
  max-width: 80%;
  overflow-wrap: break-word;
  text-align: justify;
  padding: 12px 16px;
  border-radius: 20px;
  margin-bottom: 8px;
  position: relative;
  font-size: 0.95rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  line-height: 1.4;
}

.chat-me {
  background: linear-gradient(135deg, #ff9a9e 0%, #ff6b81 100%);
  color: white;
  margin-left: auto;
  border-bottom-right-radius: 4px;
}

.chat-other {
  background-color: white;
  color: #2d3436;
  margin-right: auto;
  border-bottom-left-radius: 4px;
}

.chat-input-area {
  position: absolute;
  bottom: 65px;
  left: 0;
  width: 100%;
  background: white;
  padding: 10px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  gap: 10px;
  align-items: center;
  z-index: 101;
}

/* UTILS */

.btn-pink {
  background: var(--primary-color);
  color: white;
  border: none;
  box-shadow: 0 4px 6px rgba(255, 107, 129, 0.3);
  transition: 0.2s;
}

.btn-pink:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  color: white;
}

.text-pink {
  color: var(--primary-color) !important;
}

.auth-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-quick {
  background: white;
  border: 1px solid #ffe3e3;
  color: #636e72;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  white-space: nowrap;
  transition: all 0.2s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.btn-quick:hover {
  background: #fff0f5;
  color: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

/* LOADING */

#loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  z-index: 9999;
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

/* ALBUM/STATUS STYLES (NEW) */

.status-card {
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 25px;
}

.status-img-container {
  border-radius: 16px;
  overflow: hidden;
  margin: 0 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.read-more-btn {
  color: var(--primary-color);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
  margin-left: 5px;
  text-decoration: none;
}

.read-more-btn:hover {
  text-decoration: underline;
}

.caption {
  max-width: 80%;
  overflow-wrap: break-word;
  text-align: justify;
}

.border-info {
  border-color: rgb(255 89 104) !important;
}

