/*
Theme Name: Family Jobs
Theme URI: https://makeweb.com.au
Author: MakeWeb
Description: Purpose-built family chores & rewards PWA.
Version: 1.0.0
*/

 
/* =Theme customization starts here
------------------------------------------------------- */

/* Ul positioning updated 1.1.2 */
.et_pb_text ul, .et_pb_tab ul, .et_pb_toggle ul{
	list-style-position: inside;		
}
/* Menu Icons since 1.1.6 */
#top-menu .phone_icon a:before, 
#top-menu .email_icon a:before
 {
    position: relative;
    top: 2px;
    margin-right: 7px;
    font-family: "ETmodules" !important;
    font-weight: normal;
    font-style: normal;
    font-variant: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1;
    text-transform: none;
    speak: none;
}

#top-menu .phone_icon a:before { content: "\e090";}
#top-menu .email_icon a:before { content: "\e010";}
 
/* Utility classes  since 1.1.3 */
/* Responsive Styles Large Desktop And Above */
@media all and (min-width: 1405px) {
	.hide_desktop{ display: none; }
	.hide_desktop_big{ display: none; }
}
/* Responsive Styles Smartphone Portrait */
@media all and (max-width: 479px) {
	.hide_phone{ display: none; }
}
/* Responsive Styles Smartphone Only */
@media all and (max-width: 767px) {
	.hide_phone{ display: none; }
}
/* Responsive Styles Tablet Only */
@media all and (min-width: 768px) and (max-width: 980px) {
	.hide_tablet{ display: none; }
}
/* Responsive Styles Tablet And Below */
@media all and (max-width: 980px) {
	.hide_tablet_down{ display: none; }
}
/* Responsive Styles 981px – 1100px */
@media all and (min-width: 981px) and (max-width: 1100px) {
	.hide_desktop{ display: none; }
}
/* Responsive Styles Desktop Only */
@media all and (min-width: 981px) {
	.hide_desktop{ display: none; }
}
/* Responsive Styles Standard Desktop Only */
@media all and (min-width: 981px) and (max-width: 1405px) {
	.hide_desktop{ display: none; }
}


#lockForm {
    display: flex;
    flex-direction: column;
    justify-content:center; 
    align-items: center;
    gap: 10px;
  }

  #lockForm label {
    display: flex;
    align-items: center;
    cursor: pointer;
  }

  #lockForm input[type="radio"] {
    display: none;
  }

  #lockForm input[type="radio"] + img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
  }

  #lockForm input[type="radio"]:checked + img {
    border-color: #000;
  }

  #lockForm .radio-row {
    display: flex;
    justify-content: center;
  }
  
  .avatar-container { 
      border: solid 2px #626b72;
      border-radius: 5px;
      background: #eee;
  }
  
  .avatar-container.leader{
    border: solid 2px #fbbf24;
  }
  
  svg#main-avatar-svg,
  .avatar-container svg {
      display: block;
  }
  
  .profile-left svg{
        border: solid 2px #2589e9;
        border-radius: 5px;
        background: #eee;
  }
/* ===== App shell (custom standalone theme) ===== */
body { margin:0; background:#f5f7fb; -webkit-tap-highlight-color: transparent; }
.app-topbar { position:sticky; top:0; z-index:1000; display:flex; align-items:center; gap:10px; background:#2289e9; padding: calc(env(safe-area-inset-top) + 10px) 12px 10px; box-shadow:0 2px 8px rgba(34,137,233,0.25); }
.app-title { flex:1; text-align:center; color:#fff; font-weight:800; font-size:17px; letter-spacing:-.2px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.app-back, .app-hamburger { width:40px; height:40px; border:none; background:rgba(255,255,255,0.2); border-radius:11px; display:flex; flex-direction:column; justify-content:center; align-items:center; gap:4px; cursor:pointer; flex-shrink:0; }
.app-back:active, .app-hamburger:active { transform:scale(0.94); }
.app-back svg { width:22px; height:22px; }
.app-iconslot { width:40px; flex-shrink:0; }
	.app-hamburger span { display:block; width:18px; height:2px; background:#fff; border-radius:2px; }
.app-main { min-height:62vh; padding-bottom: env(safe-area-inset-bottom); }

/* ===== Base layer (replaces globals Divi used to provide) ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: #1e293b; line-height: 1.4; }
button, input, select, textarea { font-family: inherit; }
img, svg { max-width: 100%; }
a { color: #2289e9; }
h1, h2, h3, h4 { margin: 0 0 0.4em; }

/* ===== Design system: shared components (relocated from hw_card_styles / hw_hub_extra_styles) ===== */

		:root { --primary-blue: #2289e9; }
		.job-grid-container { padding: 10px 20px; max-width: 600px; margin: 0 auto; }
		.job-tile-compact { background: #fff; border: 1px solid #e1e4e8; border-radius: 14px; padding: 12px 16px; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; box-shadow: 0 2px 5px rgba(0,0,0,0.03); transition: transform 0.1s, opacity 0.4s, translate 0.4s; }
		.job-tile-compact:active { transform: scale(0.98); }
		.job-tile-left { display: flex; align-items: center; gap: 15px; }
		.job-points-badge { background: var(--primary-blue); color: #fff; font-weight: 800; width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }
		.job-tile-oneoff .job-points-badge { background: #7c3aed; }
		.job-info { display: flex; flex-direction: column; }
		.job-title { font-weight: 700; color: #1a1a1a; font-size: 16px; line-height: 1.2; }
		.job-due { font-size: 11px; color: #94a3b8; text-transform: uppercase; font-weight: 700; margin-top: 2px; }
		.done-label { font-weight: 900; font-size: 11px; color: var(--primary-blue); opacity: 0.4; letter-spacing: 0.5px; }
		.done-label.add { color: #7c3aed; opacity: 0.85; }
		.empty-msg { text-align: center; color: #94a3b8; padding: 30px 20px; }
		.oneoff-chip { display: inline-block; font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.5px; color: #7c3aed; background: #f3e8ff; padding: 1px 6px; border-radius: 5px; margin-left: 6px; vertical-align: middle; }
		.oneoff-for-chip { display: inline-block; font-size: 9px; font-weight: 800; color: #64748b; background: #f1f5f9; padding: 1px 6px; border-radius: 5px; margin-left: 6px; vertical-align: middle; }

		.hw-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); backdrop-filter: blur(2px); display: none; z-index: 10000; }
		.hw-sheet { position: fixed; bottom: -100%; left: 0; width: 100%; background: #fff; border-radius: 24px 24px 0 0; padding: 30px 20px 50px; z-index: 10001; transition: bottom 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.1); box-sizing: border-box; }
		.hw-sheet.open { bottom: 0; }
		.sheet-handle { width: 40px; height: 5px; background: #e0e0e0; border-radius: 10px; margin: -15px auto 25px; }
		.sheet-title { display: block; text-align: center; font-weight: 800; font-size: 19px; margin-bottom: 6px; color: #1e293b; }
		.sheet-note { text-align: center; color: #64748b; font-size: 13px; margin: 0 auto 18px; max-width: 320px; }
		.group-title { display: block; font-size: 11px; font-weight: 900; color: #94a3b8; text-transform: uppercase; margin: 12px 0 10px; letter-spacing: 1px; }
		.tag-grid { display: flex; flex-wrap: wrap; gap: 8px; }
		.hw-tag { padding: 10px 18px; background: #f1f5f9; border-radius: 20px; font-size: 13px; font-weight: 700; color: #475569; cursor: pointer; border: 2px solid transparent; }
		.hw-tag.active { background: #eef6ff; color: var(--primary-blue); border-color: var(--primary-blue); }
		.hw-input { width: 100%; padding: 12px 15px; border-radius: 12px; border: 1px solid #e1e4e8; font-size: 16px; outline: none; box-sizing: border-box; margin-bottom: 12px; }
		.hw-btn { width: 100%; padding: 18px; background: var(--primary-blue); color: #fff; border: none; border-radius: 15px; font-weight: 800; font-size: 16px; margin-top: 20px; cursor: pointer; }
		.person-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 10px; }
		.person-btn { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 14px; padding: 18px 5px; cursor: pointer; text-align: center; font-weight: 800; color: #1e293b; transition: all 0.2s; }
		.person-btn:active { transform: scale(0.96); background: #f1f5f9; }
		@media (max-width: 600px){ .person-grid { grid-template-columns: repeat(2, 1fr); } }
	
		.hub-head { max-width: 600px; margin: 0 auto; padding: 4px 20px 0; }
		.hub-h1 { font-size: 22px; font-weight: 900; color: #1e293b; margin: 4px 0 0; }
		.hub-intro { max-width: 600px; margin: 12px auto 4px; padding: 14px 16px; background: #f8fafc; border: 1px solid #eef2f7; border-radius: 12px; color: #475569; font-size: 13px; line-height: 1.5; }
		.hub-intro strong { color: #1e293b; }
		.hub-form { max-width: 600px; margin: 0 auto; padding: 10px 20px; }
		.hub-form .hw-input { padding: 14px 16px !important; }
		.step-row { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
		.step-btn { flex: 0 0 auto; width: 48px; height: 48px; border: none; border-radius: 12px; font-weight: 800; font-size: 15px; color: #fff; cursor: pointer; }
		.step-btn.minus { background: #e74c3c; }
		.step-btn.plus { background: #2ecc71; }
		.step-btn:active { transform: scale(0.93); }
		.step-val { flex: 1 1 auto; min-width: 0; text-align: center; font-size: 26px; font-weight: 800; color: #1e293b; border: 1px solid #e1e4e8; border-radius: 12px; padding: 10px !important; outline: none; box-sizing: border-box; -moz-appearance: textfield; }
		.step-val::-webkit-outer-spin-button, .step-val::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
	
