/* ==============================
   🌼 GLOBAL & BASE STYLES
   ============================== */
body {
  margin: 0;
  padding: 0;
  background-color: #f0f0f0;
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  max-width: 500px;
  /* Mobile-friendly layout */
  margin: 0 auto;
}

.grecaptcha-badge {
  visibility: hidden;
}

/* ==============================
   🌼 BUTTONS
   ============================== */
.btn-custom {
  background-color: #ffa417;
  color: #fff;
}

.btn-custom:hover {
  background-color: #ff8000;
}

.submit-button,
.submit-button-arrow {
  background-color: #ffa417;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  width: 100%;
}

/* ==============================
   🌼 CONTAINERS & LAYOUT
   ============================== */
.welcome-container,
.full-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  width: 100%;
}

.container {
  flex-grow: 1;
  display: flex;
  align-items: flex-start;
  justify-content: left;
  text-align: left;
  padding-top: 20px;
}

.inner-body {
  background-color: #fff;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* ==============================
   🌼 FORMS
   ============================== */
.phone-number {
  width: 100%;
  padding: 10px;
  border: 1px solid #fabd5f;
  border-radius: 5px;
  font-size: 16px;
  margin-bottom: 10px;
}

.registration-from {
  width: 100%;
  padding-top: 10px;
  padding-bottom: 30px;
}

.sub_heading {
  color: #ffa417;
  padding-bottom: 10px;
}

.image-preview {
  width: 200px;
  height: 200px;
  border: 2px dashed #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background-size: cover;
}

.file-input {
  display: block;
  margin: 0 auto;
}

/* ==============================
   🌼 NAVIGATION
   ============================== */
.navbar {
  display: flex;
}

.navbar-nav {
  flex-direction: row;
}

.nav-item {
  margin-right: 20px;
}

.navbar-brand {
  margin-right: auto;
}

/* ==============================
   🌼 FOOTER
   ============================== */
.footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 10px 0;
  width: 100%;
}

.footer a {
  color: #fff;
  text-decoration: none;
  margin: 0 10px;
}

/* ==============================
   🌼 PROFILE LISTING
   ============================== */
.profile-card {
  width: 100%;
  margin: 10px 0;
  padding: 10px 20px;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.profile-container {
  display: flex;
  align-items: center;
}

.profile-image-wrapper {
  position: relative;
  display: inline-block;
  vertical-align: top;
}

.profile-image {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #ffa417;
  margin-right: 10px;
}

.locked-photo {
  position: relative;
  display: inline-block;
  width: 100px;
  height: 100px;
  overflow: hidden;
  margin-right: 10px;
}

.locked-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.profile-details {
  flex: 1;
}

.profile-name {
  font-size: 18px;
  font-weight: bold;
}

.profile-description {
  font-size: 14px;
  margin: 5px 0;
}

/* ==============================
   🌼 EXPANDABLE DETAILS
   ============================== */
.more-details {
  display: none;
  background-image: url('/assets/img/logo_bg.png');
  background-repeat: no-repeat;
  background-size: contain;
  padding: 10px;
}

.see-more-button {
  text-align: right;
  padding: 5px;
  background-color: #f9f9f9;
  cursor: pointer;
  font-size: 10px;
}

/* ==============================
   🌼 ACTION BUTTONS
   ============================== */
.button-row {
  display: flex;
  flex-wrap: wrap;
}

.button-col {
  flex: 0 0 calc(50% - 10px);
  margin-right: 10px;
}

.action-button {
  border: none;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 15px;
  color: #606770;
  background-color: #e4e6eb;
  margin-top: 10px;
  width: 100%;
}

.action-button i {
  margin-right: 5px;
}

/* ==============================
   🌼 PROFILE ICON OVERLAYS
   ============================== */
.overlay-icon {
  position: absolute;
  bottom: 8px;
  right: 8px;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  padding: 4px;
  z-index: 2;
}

.interaction-icons {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 3;
}

.interaction-icon {
  background: rgba(255, 255, 255, 0.9);
  padding: 4px;
  font-size: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.interaction-icon:hover {
  transform: scale(1.15);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.interaction-icon.unlocked i {
  color: #28a745;
}

/* Green unlock */
.interaction-icon.favourite i {
  color: #e0245e;
}

/* Red heart */
.interaction-icon.interested i {
  color: #007bff;
}

/* Blue paper plane */
.interaction-icon.discarded i {
  color: #6c757d;
}

/* Grey ban */

/* ==============================
   🌼 LIST STYLING
   ============================== */
.custom-list {
  list-style: none;
  padding: 0;
  color: #ffa417;
}

.custom-list-item {
  margin: 5px 0;
  padding: 10px;
  border: 1px solid #e4e6eb;
}

.value {
  background-color: #ffa417;
  color: #fff;
  padding: 2px 5px;
  border-radius: 4px;
}

/* ==============================
   🌼 LINKS
   ============================== */
a {
  text-decoration: none;
  color: #ffa417;
}

/* ==============================
   🌼 LOGO
   ============================== */
.logo-full,
.logo {
  max-width: 100%;
  height: auto;
  display: flex;
  padding: 10px;
  border-bottom: 20px;
}

/* ==============================
   🌼 SHADOW DIVS
   ============================== */
.shadowed-div {
  background-color: #ffffff;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

/* 🔶 Search bar theme customization */
#search-bar .form-control {
  border: 2px solid #ffa417;
  box-shadow: none;
}

#search-bar .form-control:focus {
  border-color: #ffa417;
  box-shadow: 0 0 3px rgba(255, 164, 23, 0.5);
}

#search-bar .btn-primary {
  background-color: #ffa417;
  border-color: #ffa417;
  color: #fff;
  font-weight: 500;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

#search-bar .btn-primary:hover {
  background-color: #e39110;
  border-color: #e39110;
}

#search-bar .input-group {
  max-width: 400px;
  margin: 0 auto;
}

/* Optional: smooth appearance */
#search-bar {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 15px;
  justify-items: center;
  padding: 2px;
}

.photo-thumb {
  width: 150px;
  height: 150px;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease-in-out;
}

.photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-thumb:hover {
  transform: scale(1.03);
}

/* X Button in corner */
.photo-thumb .x-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  font-size: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s;
}

.photo-thumb:hover .x-btn {
  opacity: 1;
}

.photo-thumb .x-btn:hover {
  background-color: rgba(255, 0, 0, 0.75);
}

.empty-text {
  text-align: center;
  color: #888;
  font-style: italic;
  padding: 40px 0;
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 1050;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.9);
}

.lightbox img {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 6px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 30px;
  color: white;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  background: none;
  border: none;
  font-size: 40px;
  cursor: pointer;
  padding: 10px;
  transition: opacity 0.3s;
}

.prev-btn {
  left: 30px;
}

.next-btn {
  right: 30px;
}

.nav-btn:hover {
  opacity: 0.7;
}

@media (max-width: 768px) {
  .lightbox img {
    max-width: 95%;
    max-height: 75vh;
  }
}

#install-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #ffa417;
  color: #fff;
  padding: 12px 16px;
  display: flex;
  justify-content: center;
  z-index: 10000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  animation: slideDown 0.4s ease;
}

.install-banner-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

#install-banner span {
  font-size: 16px;
  font-weight: 600;
}

#install-button {
  background-color: #fff;
  color: #ffa417;
  border: none;
  border-radius: 6px;
  padding: 6px 14px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}

#install-button:hover {
  background-color: #fef3e6;
}

@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
