@charset "UTF-8";
/* Keep CSS variables to allow runtime theming */
:root {
  --primary: #ff7f50;
  --primary-dark: #ff5722;
  --bg: #f7f9fb;
  --text: #222;
  --muted: #666;
  --radius: 16px;
}

/* Global reset & base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Rubik", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* COVER SCROLL BASE */
.cover {
  position: sticky;
  top: 0;
  height: 50vh;
  overflow: hidden;
  z-index: 1;
  max-width: 1100px;
  margin: auto;
}
.cover .inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 2rem;
  transition: transform 0.2s linear;
}

/* HERO */
.hero.inner {
  min-height: 50vh;
  flex-direction: column;
  padding: 6rem 1rem;
  animation: fadeIn 2s ease-in-out;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.btn {
  background: var(--primary);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}
.btn:hover {
  background: var(--primary-dark);
}

/* IMAGE BLOCK */
.image-cover.inner {
  height: 50vh;
  background: url("/img/fallback1.jpeg") center/cover no-repeat;
}

/* CONTENT SECTIONS */
section {
  position: relative;
  background: #fff;
  padding: 4rem 2rem;
  max-width: 1100px;
  margin: auto;
  z-index: 2;
}

h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}

/* GRID BENEFITS */
.grid {
  display: grid;
  gap: 2rem;
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  text-align: center;
}
.card h3 {
  margin-bottom: 1rem;
}

/* STEPS */
ol.steps {
  list-style: none;
  counter-reset: step;
  max-width: 750px;
  margin: auto;
  padding: 0;
}
ol.steps li {
  counter-increment: step;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}
ol.steps li::before {
  content: counter(step);
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-right: 0.5rem;
}

/* QUOTE */
.quote {
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #fff3ec 100%);
  padding: 2.25rem 2.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 127, 80, 0.25);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  font-style: italic;
  max-width: 760px;
  margin: 1rem auto 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.quote::before {
  content: "“";
  position: absolute;
  top: -16px;
  left: 18px;
  font-size: 3rem;
  font-style: normal;
  color: var(--primary);
  opacity: 0.6;
}
.quote p {
  margin: 0.5rem 0 0.75rem;
}
.quote:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
}

.quote-rating {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: 2px;
}

.quote-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-style: normal;
  color: #475569;
  font-size: 0.95rem;
}

.quote-flag {
  font-size: 1.1rem;
}

.quote-name {
  font-weight: 600;
  color: #0f172a;
}

.quote-date {
  color: #64748b;
  font-size: 0.9rem;
}

/* FAQ */
.faq ul {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: auto;
  display: grid;
  gap: 1rem;
}
.faq li {
  padding: 1.25rem 1.5rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e8eaf2;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.faq li::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 6px rgba(255, 127, 80, 0.18);
}
.faq li:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.1);
}
.faq strong {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
  color: #0f172a;
  padding-left: 1.25rem;
}
.faq li > :not(strong) {
  padding-left: 1.25rem;
  color: #475569;
}

/* FOOTER */
footer {
  background: #1c1c1c;
  color: #ddd;
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 3rem;
}
footer a {
  color: #aaa;
  margin: 0 1rem;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}
/* Header (hero image) */
header {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2)), url("/img/hero.jpeg") center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 6rem 1rem;
  animation: fadeIn 2s ease-in-out;
}
header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}
header p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

/* Button element (generic) */
button {
  background-color: var(--primary);
  border: none;
  padding: 0.8rem 2rem;
  color: white;
  font-size: 1rem;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.3s;
}
button:hover {
  background-color: var(--primary-dark);
}

.btn-albums {
  background-color: #1e7e34;
  border: 2px solid #024207;
}
.btn-albums:hover {
  background-color: #024207;
}

/* Animations */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.btn-register {
  padding: 0.75rem 1.5rem;
  background: #28a745;
  color: white;
  border: none;
  border-radius: 4px;
}
.btn-register:hover {
  background: #1e7e34;
}

/* Screensaver */
.screensaver-preview {
  position: absolute;
  width: 100%;
  height: 100%;
}
.screensaver-preview img {
  width: 100%;
  height: 100%;
  display: block;
}
.screensaver-preview img.loaded + .loader {
  display: none;
}

.loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 6px solid #f3f3f3;
  border-top: 6px solid #3498db;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  z-index: 2;
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
/* Albums dialog */
#albums-dialog {
  border: none;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  text-align: center;
}
#albums-dialog input,
#albums-dialog select {
  font-size: 1rem;
  padding: 0.5rem;
  margin: 0.25rem;
  border-radius: 5px;
  border: 1px solid #ccc;
  width: 100%;
}
#albums-dialog button {
  margin-top: 1rem;
  margin-inline: 0.5rem;
  background-color: #3498db;
  color: white;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
#albums-dialog button:hover {
  background-color: #2980b9;
}
#albums-dialog button.show {
  background-color: #6c757d;
}
#albums-dialog button.show:hover {
  background-color: #5a6268;
}
#albums-dialog button.cancel {
  background-color: #dc3545;
}
#albums-dialog button.cancel:hover {
  background-color: #c82333;
}
#albums-dialog button.edit {
  background-color: #007bff;
}
#albums-dialog button.edit:hover {
  background-color: #0069d9;
}

/* Modal (generic) */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  text-align: center;
}
.modal .modal-content {
  position: relative;
  margin: 4% auto;
  padding: 2rem;
  background: white;
  border-radius: 8px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-sizing: border-box;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}
.modal .modal-content .close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.2rem;
  cursor: pointer;
}
.modal .modal-content input {
  direction: ltr;
}
.modal .modal-content input,
.modal .modal-content textarea,
.modal .modal-content select {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  text-align: center;
}
.modal .modal-content label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.25rem;
}
.modal .modal-content button {
  margin-top: 0.75rem;
  background-color: #007BFF;
  color: white;
  border: none;
  padding: 0.75rem;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
}
.modal .modal-content button:hover {
  background-color: #0056b3;
}
.modal .modal-content #codeBoxes {
  direction: ltr;
}

/* Specific modal widths */
#signinModal .modal-content {
  max-width: 400px;
}

#registerModal .modal-content {
  max-width: 720px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f7fb 100%);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
  padding: 2.5rem 2.25rem;
}
#registerModal .modal-content button[type=submit] {
  background-color: #28a745;
}
#registerModal .modal-content button[type=submit]:hover {
  background-color: #1e7e34;
}
#registerModal .modal-content h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}
#registerModal .modal-content input,
#registerModal .modal-content textarea,
#registerModal .modal-content select {
  border-radius: 10px;
  border-color: #d6d9e0;
  background: #fff;
}
#registerModal .modal-content button {
  border-radius: 12px;
}
#registerModal .modal-content button[type=button] {
  background: #0f172a;
}
#registerModal .modal-content button[type=button]:hover {
  background: #1f2937;
}

.share-modal {
  max-width: 520px;
  text-align: left;
}
.share-modal h2 {
  font-size: 1.4rem;
  margin-bottom: 0.35rem;
}

.share-subtitle {
  color: #64748b;
  margin-bottom: 1.25rem;
}

.share-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.share-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  color: #0f172a;
  font-size: 0.85rem;
  font-weight: 600;
}
.share-action i {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f1f5f9;
  font-size: 1.2rem;
}

.share-action.whatsapp i {
  background: #dcfce7;
  color: #16a34a;
}

.share-action.facebook i {
  background: #dbeafe;
  color: #2563eb;
}

.share-action.x i {
  background: #e2e8f0;
  color: #0f172a;
}

.share-action.email i {
  background: #fde68a;
  color: #92400e;
}

.share-link-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: center;
}
.share-link-row input {
  border-radius: 999px;
  padding: 0.6rem 0.9rem;
  border: 1px solid #e2e8f0;
  background: #fff;
}
.share-link-row button {
  border-radius: 999px;
  padding: 0.55rem 1.2rem;
  background: #2563eb;
}
.share-link-row button:hover {
  background: #1d4ed8;
}

.share-copy-status {
  margin-top: 0.5rem;
  color: #16a34a;
  font-size: 0.9rem;
}

#registerForm {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

#registerError {
  display: none;
  text-align: left;
  color: #b91c1c;
  background: #fee2e2;
  border: 1px solid #fecaca;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  font-size: 0.95rem;
}
#registerError ul {
  margin: 0.4rem 0 0.6rem 1.1rem;
  padding: 0;
}
#registerError li {
  margin: 0.25rem 0;
}

#albumsContainer {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.album-block fieldset {
  border: 1px solid #e4e7ee;
  border-radius: 14px;
  padding: 1.25rem;
  background: #fff;
  box-shadow: 0 10px 25px rgba(30, 41, 59, 0.06);
  position: relative;
}
.album-block legend {
  font-weight: 600;
  padding: 0.15rem 0.75rem;
  border-radius: 999px;
  background: #0f172a;
  color: #fff;
  font-size: 0.85rem;
}
.album-block label {
  font-size: 0.9rem;
  color: #1f2937;
  margin-top: 0.75rem;
  text-align: left;
}
.album-block label i {
  margin-left: 0.4rem;
  color: #64748b;
  font-size: 0.9rem;
}
.album-block .share-album-icon {
  border: none;
  background: transparent;
  padding: 0;
  margin-left: 0.4rem;
  cursor: pointer;
  color: #64748b;
}
.album-block .share-album-icon:hover {
  color: #0f172a;
}
.album-block input[type=text],
.album-block input[type=number],
.album-block textarea {
  margin-top: 0.35rem;
}

.remove-album-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #111827;
  color: #fff;
  font-size: 1rem;
  padding: 0 !important;
}

.remove-album-btn:hover {
  background: #374151;
}

.ignore-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.ignore-item {
  display: grid;
  grid-template-columns: 1fr 36px;
  gap: 0.5rem;
  align-items: center;
}

.ignore-item button {
  border-radius: 10px;
  background: #e11d48;
  padding: 0.5rem 0;
}

.ignore-item button:hover {
  background: #be123c;
}

@media (max-width: 720px) {
  #registerModal .modal-content {
    margin: 8% 1rem;
    padding: 1.5rem;
  }
  .album-block fieldset {
    padding: 1rem;
  }
}
/* Logout icon */
.logout-container {
  position: fixed;
  top: 15px;
  right: 20px;
  z-index: 9999;
}
.logout-container .logout-icon {
  cursor: pointer;
  font-size: 22px;
  color: white;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  padding: 8px 12px;
  transition: background 0.2s;
}
.logout-container .logout-icon:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* === Contact Modal === */
.contact-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.contact-backdrop .close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.2rem;
  cursor: pointer;
}
.contact-backdrop.active {
  visibility: visible;
  opacity: 1;
}

.contact-modal {
  background: #fff;
  border-radius: 12px;
  max-width: 600px;
  width: 90%;
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  font-family: "Rubik", sans-serif;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-modal header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.contact-modal header h2 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 600;
}

.contact-close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-field {
  display: flex;
  flex-direction: column;
}
.contact-field.row-span-2 {
  grid-column: span 2;
}

.contact-label {
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.contact-input,
.contact-textarea {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font: inherit;
}

.contact-textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-error {
  color: #d32f2f;
  font-size: 0.85rem;
  display: none;
}

.contact-alert {
  display: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}
.contact-alert.success {
  background: #e6f4ea;
  color: #1e7d32;
}
.contact-alert.error {
  background: #fdecea;
  color: #b71c1c;
}

.contact-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 1rem;
}

.contact-btn {
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
  border: none;
}
.contact-btn-primary {
  background: #2563eb;
  color: white;
}
.contact-btn:hover {
  opacity: 0.9;
}

/* Albums tooltip */
.albumsContainer-tooltip-wrapper {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  position: relative;
}
.albumsContainer-tooltip-wrapper:hover .gdriveFolderId-tooltip {
  visibility: visible;
  opacity: 1;
}

/* Question mark icon */
.albumsContainer-tooltip-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #007bff;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  line-height: 18px;
  text-align: center;
  cursor: help;
}

/* Tooltip text */
.gdriveFolderId-tooltip {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: 125%; /* show above */
  transform: translateX(-35%);
  background: #333;
  color: #fff;
  font-size: 0.8rem;
  padding: 6px 8px;
  border-radius: 4px;
  white-space: nowrap;
  z-index: 1000;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
.gdriveFolderId-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 37%;
  margin-left: -6px;
  border-width: 6px;
  border-style: solid;
  border-color: #333 transparent transparent transparent;
}

/* Focus reveal from icon sibling */
.albumsContainer-tooltip-icon:focus + .gdriveFolderId-tooltip {
  visibility: visible;
  opacity: 1;
}

/*# sourceMappingURL=hp_style.css.map */
