.elementor-12804 .elementor-element.elementor-element-679b737{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;}.elementor-widget-image .widget-image-caption{color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-12804 .elementor-element.elementor-element-9e21915{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;}.elementor-12804 .elementor-element.elementor-element-dff73e9{--display:flex;}.elementor-12804 .elementor-element.elementor-element-9cf1410{width:var( --container-widget-width, 72% );max-width:72%;--container-widget-width:72%;--container-widget-flex-grow:0;}/* Start custom CSS for html, class: .elementor-element-9cf1410 *//*
 Theme Name: Your Child Theme
 Template:   your-parent-theme-folder
 Description: Child theme for Memory App (unified styles)
 Version: 1.0.0
*/

/* ================== GLOBAL BASE ================== */
body {
  font-family: 'Segoe UI', Roboto, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background: #f8f9fa;
  color: #222;
  transition: background 0.3s, color 0.3s;
}

h1, h2, h3, h4, h5 {
  font-weight: 600;
  margin-top: 0;
  color: #111;
}

p { margin: 0.5rem 0; }

a { color: #0077cc; text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1100px; margin: auto; padding: 1rem; }

/* ================== SECTION TITLES ================== */
.section-title {
  text-align: center;
  font-size: 1.8rem;
  margin: 2rem 0 1.2rem;
  color: #0077cc;
}

/* ================== PROFILE CARDS ================== */
.profile-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin: 0 1rem 2rem;
}

.profile-card {
  background: #fff;
  border-radius: 12px;
  padding: 1rem 1.2rem;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
  width: 300px;
  max-width: 95%;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
  text-align: center;
}

.profile-card h3, .profile-card h4 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.profile-card.dark-mode {
  background: #2a2a2a;
  color: #f0f0f0;
  box-shadow: 0 3px 10px rgba(0,0,0,0.4);
}

.profile-pic {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0.5rem auto 1rem;
  display: none;
  background: #ddd;
}

/* ================== FORM FIELDS ================== */
.profile-details input,
.profile-details select,
.profile-details textarea,
input[type="text"],
input[type="file"],
select,
textarea {
  width: 100%;
  padding: 0.5rem 0.7rem;
  margin-bottom: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.95rem;
  background: #fff;
  color: inherit;
  transition: border-color 0.2s, background 0.2s;
}

.profile-details input:focus,
.profile-details select:focus,
.profile-details textarea:focus,
input:focus,
select:focus,
textarea:focus {
  border-color: #0077cc;
  outline: none;
  background: #fdfdfd;
}

.profile-card.dark-mode input,
.profile-card.dark-mode select,
.profile-card.dark-mode textarea {
  background: #3a3a3a;
  border-color: #555;
  color: #f0f0f0;
}

/* ================== BUTTONS ================== */
button,
.btn {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  border-radius: 6px;
  cursor: pointer;
  border: none;
  transition: background 0.3s, transform 0.2s;
}

button:active { transform: scale(0.98); }

/* Primary */
.btn-primary, button.btn-primary {
  background: #0077cc;
  color: #fff;
}
.btn-primary:hover { background: #005fa3; }

/* Secondary */
.btn-secondary {
  background: #6c757d;
  color: #fff;
}
.btn-secondary:hover { background: #545b62; }

/* Danger */
.btn-danger {
  background: #dc3545;
  color: #fff;
}
.btn-danger:hover { background: #a71d2a; }

/* Toggle groups in cards */
.toggle-controls button,
.actions button {
  width: 100%;
  margin-bottom: 0.5rem;
}

/* ================== CLOCK ================== */
.profile-datetime {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #0077cc;
}
.profile-card.dark-mode .profile-datetime { color: #80cfff; }

/* ================== NOTES BOX (Admin) ================== */
.input-box {
  min-height: 88px;
  background: #fff;
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 8px;
}

/* ================== MANAGE USERS BLOCK ================== */
.manage-users {
  max-width: 760px;
  margin: 0 auto 2rem;
  background: #fff;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 10px;
}
.manage-users h3 { margin: 0.2rem 0 0.6rem; }
.manage-users input {
  width: 100%;
  max-width: 360px;
  padding: 0.55rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}
.manage-users button { padding: 0.6rem 1rem; margin-left: 0.5rem; }
.hint { color: #666; font-size: 0.9rem; margin-top: 0.4rem; }
#memoryPageLink { font-size: 0.95rem; margin: 0.25rem 0 0.5rem; }

/* ================== QR IMAGE ================== */
#qrImg {
  display: block;
  margin: 1rem auto;
  border: 1px solid #e6e6ee;
  border-radius: 8px;
  padding: 0.2rem;
  max-width: 220px;
}

/* ================== MEMORY PAGE STYLES ================== */
:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #555;
  --card: #f7f7f9;
  --accent: #0077cc;
  --note: #ffffff;
  --border: #e6e6ee;
}

.memory-wrap {
  max-width: 840px;
  margin: 0 auto;
  padding: 20px 16px 48px;
  background: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', Roboto, sans-serif;
}

.toolbar {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: space-between;
  margin: 8px 0 16px;
}

.lang-toggle {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.lang-toggle button {
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
}
.lang-toggle button[aria-pressed="true"] {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.memory-card {
  background: var(--card);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.header { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.header img { width: 160px; height: 160px; object-fit: cover; border-radius: 14px; background: #eee; }
.title { flex: 1; }

.name {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.2;
  margin: 0 0 6px;
}
.location, .datetime {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: var(--muted);
  margin: 4px 0;
}
.datetime strong { color: var(--accent); }

.notes {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.note {
  background: var(--note);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.5;
}

.tts {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.tts select, .tts input[type="range"] {
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.tts button {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
}
.help { margin-top: 10px; font-size: .95rem; color: var(--muted); }

/* RTL support */
[dir="rtl"] .header { flex-direction: row-reverse; }
[dir="rtl"] .notes  { direction: rtl; }

/* ================== DARK MODE (GLOBAL) ================== */
body.dark-mode { background: #1a1a1a; color: #e0e0e0; }
body.dark-mode h1, body.dark-mode h2, body.dark-mode h3, body.dark-mode h4 { color: #f5f5f5; }
body.dark-mode .profile-card { background: #2a2a2a; color: #f0f0f0; }
body.dark-mode input, body.dark-mode select, body.dark-mode textarea { background: #333; border-color: #555; color: #f0f0f0; }

/* ================== RESPONSIVE ================== */
@media (max-width: 768px) {
  .profile-wrapper { flex-direction: column; align-items: center; }
}/* End custom CSS */