/* My Home basic styles - admin & frontend (branding) */

/* ---------- admin (kept same) ---------- */
.myhome-wrap h1 { color: #2b176b; }
.myhome-builder { display:flex; gap:20px; align-items:flex-start; flex-wrap:wrap; }
.myhome-column { background:#fff; padding:15px; border-radius:8px; box-shadow:0 1px 4px rgba(0,0,0,0.06); flex:1; min-width:260px; }
.myhome-available .field-tile { padding:10px; border:1px solid #eaeaea; margin-bottom:8px; border-radius:6px; display:flex; justify-content:space-between; align-items:center; }
.field-tile .add-field { background:#008edd; color:#fff; border:none; padding:4px 8px; border-radius:5px; cursor:pointer; }
.profile-field { padding:8px; border:1px dashed #ddd; margin-bottom:8px; border-radius:6px; }
.profile-field.locked { background:#f7f7f7; border-color:#ddd; }
.myhome-login-form label, .myhome-login-form input { display:block; margin-bottom:10px; width:100%; }
.myhome-login-form input { padding:9px; border:1px solid #ccc; border-radius:6px; }
.myhome-login-form .button { background:#008edd; color:#fff; border:none; padding:8px 14px; border-radius:8px; cursor:pointer; }
button.remove-field { background:#c0392b;color:#fff;border:none;padding:6px 10px;border-radius:5px;cursor:pointer; }

/* ---------- frontend: full-width and professional ---------- */

/* full-width container that blends with site */
.myhome-frontend-full { width:100%; max-width:none; margin:0; padding:40px 5vw; box-sizing:border-box; background:#f5f7fb; }

/* dashboard card */
.myhome-frontend-dashboard { max-width:1200px; margin:0 auto; background:transparent; padding:0; border-radius:8px; box-sizing:border-box; }

/* top row */
.myhome-top-row { display:flex; gap:20px; align-items:center; margin-bottom:20px; }
.myhome-profile-pic { width:105px; height:105px; border-radius:50%; overflow:hidden; background:#fff; display:flex; align-items:center; justify-content:center; border:2px solid #008edd; }
.myhome-profile-pic img, .myhome-frontend-pic { width:100%; height:100%; object-fit:cover; display:block; }
.myhome-profile-pic-empty { background:#fff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80"><rect width="100%" height="100%" fill="%23f0f0f0"/></svg>') center/cover no-repeat; }

/* Top meta */
.myhome-top-meta { display:flex; flex-direction:column; gap:6px; }
.myhome-client-name { margin:0; color:#2b176b; font-size:24px; font-weight:700; }

/* grid layout for fields */
.myhome-dashboard-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap:18px; align-items:start; }

/* single card */
.myhome-card { background:#fff; padding:16px; border-radius:10px; box-shadow:0 6px 18px rgba(17,24,39,0.03); border:1px solid rgba(11,16,27,0.03); }

/* label and value */
.myhome-label { font-weight:700; color:#2b176b; margin-bottom:8px; font-size:13px; text-transform:capitalize; }
.myhome-value { color:#333; font-size:14px; line-height:1.45; }

/* faint separators inside card (if there are multiple pieces) */
.myhome-value > * + * { margin-top:8px; border-top:1px solid rgba(0,0,0,0.04); padding-top:8px; }

/* file links */
.myhome-file a { text-transform:uppercase; margin-right:8px; color:#008edd; font-weight:600; text-decoration:none; font-size:12px; }
.myhome-text { color:#333; }

/* logout */
.myhome-logout-wrap { margin-top:20px; }

/* login - password toggle */
.myhome-password-wrap { display:flex; align-items:center; gap:8px; }
.myhome-toggle-pass { background:transparent; border:1px solid #ddd; padding:6px 8px; border-radius:6px; cursor:pointer; }

/* responsive */
@media (max-width: 1024px) {
    .myhome-dashboard-grid { grid-template-columns: repeat(2, 1fr); }
    .myhome-top-row { padding-bottom:8px; border-bottom:1px solid rgba(0,0,0,0.03); margin-bottom:16px; }
}
@media (max-width: 680px) {
    .myhome-dashboard-grid { grid-template-columns: 1fr; }
    .myhome-top-row { flex-direction:row; gap:12px; align-items:center; }
    .myhome-client-name { font-size:18px; }
    .myhome-frontend-full { padding:24px 4vw; }
}
