/* GS Member Portal — Clean Light Theme */

/* ── Auth Pages ── */
.gsmp-auth-page{display:flex;justify-content:center;padding:40px 16px 60px}
.gsmp-auth-card{background:#fff;border-radius:16px;box-shadow:0 4px 32px rgba(0,0,0,.07);padding:44px 36px;max-width:660px;width:100%;border:1px solid #e5e5e5}
.gsmp-auth-card-sm{max-width:420px}
.gsmp-auth-header{text-align:center;margin-bottom:28px}
.gsmp-logo{max-width:200px;height:auto;display:block;margin:0 auto 18px}
.gsmp-auth-card h1{font-size:1.5em;font-weight:700;color:#1a1a1a;margin:0 0 6px}
.gsmp-subtitle{color:#888;font-size:.9em;line-height:1.5;margin:0}

/* ── Form Labels ── */
.gsmp-label{display:block;color:#333;font-size:.8em;font-weight:600;margin-bottom:5px;text-transform:uppercase;letter-spacing:.5px}

/* ── Form Layout ── */
.gsmp-field-group{margin-bottom:22px}
.gsmp-field{margin-bottom:14px}
.gsmp-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.gsmp-row-3{grid-template-columns:1fr 1fr 1fr}

/* ── Inputs — visible borders on white ── */
.gsmp-form input[type="text"],
.gsmp-form input[type="email"],
.gsmp-form input[type="password"],
.gsmp-form input[type="tel"],
.gsmp-form input[type="url"],
.gsmp-form input[type="number"],
.gsmp-form select,
.gsmp-form textarea{
    width:100%;padding:11px 14px;
    background:#fafafa;
    border:1.5px solid #ccc;
    border-radius:8px;color:#222;font-size:.93em;
    transition:border-color .2s,box-shadow .2s;
    outline:none;box-sizing:border-box;font-family:inherit
}
.gsmp-form input:focus,.gsmp-form select:focus,.gsmp-form textarea:focus{
    border-color:#FF6B35;box-shadow:0 0 0 3px rgba(255,107,53,.12);background:#fff
}
.gsmp-form input::placeholder{color:#aaa}
.gsmp-form select{
    appearance:none;-webkit-appearance:none;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat:no-repeat;background-position:right 14px center;padding-right:38px
}

/* ── Account Type Cards ── */
.gsmp-type-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-bottom:8px}
.gsmp-type-card{
    background:#fafafa;border:2px solid #ddd;border-radius:12px;
    padding:16px 12px;cursor:pointer;text-align:center;
    transition:all .2s;position:relative
}
.gsmp-type-card:hover{border-color:#FF6B35;background:#fff}
.gsmp-type-card.selected{border-color:#FF6B35;background:#fff;box-shadow:0 0 0 3px rgba(255,107,53,.12)}
.gsmp-type-card input[type="radio"]{position:absolute;opacity:0;width:0;height:0}
.gsmp-type-icon{font-size:28px!important;color:#FF6B35;display:block;margin-bottom:6px}
.gsmp-type-name{display:block;color:#222;font-weight:700;font-size:.88em;margin-bottom:3px}
.gsmp-type-desc{display:block;color:#888;font-size:.75em;line-height:1.4}

/* ── Buttons ── */
.gsmp-btn{
    display:inline-flex;align-items:center;justify-content:center;
    padding:13px 28px;border-radius:10px;font-weight:700;font-size:.95em;
    cursor:pointer;border:none;transition:all .2s;text-decoration:none;font-family:inherit
}
.gsmp-btn-primary{
    background:linear-gradient(135deg,#FF6B35,#FF8C42);
    color:#fff;box-shadow:0 4px 14px rgba(255,107,53,.2)
}
.gsmp-btn-primary:hover{transform:translateY(-1px);box-shadow:0 6px 20px rgba(255,107,53,.3);color:#fff}
.gsmp-btn-primary .material-icons-outlined{color:#fff!important}
.gsmp-btn-full{width:100%;margin-top:6px}
.gsmp-btn-outline{
    background:transparent;color:#FF6B35;border:2px solid #FF6B35
}
.gsmp-btn-outline:hover{background:#FF6B35;color:#fff}

/* ── Terms ── */
.gsmp-terms{margin:18px 0 4px}
.gsmp-terms label{color:#555;font-size:.83em;display:flex;align-items:flex-start;gap:8px;cursor:pointer;line-height:1.5}
.gsmp-terms input[type="checkbox"]{margin-top:3px;accent-color:#FF6B35}
.gsmp-terms a{color:#FF6B35;text-decoration:underline}

/* ── Remember / Forgot ── */
.gsmp-remember-row{display:flex;justify-content:space-between;align-items:center}
.gsmp-remember{display:flex;align-items:center;gap:6px;font-size:.88em;color:#555;cursor:pointer}
.gsmp-remember input{accent-color:#FF6B35}
.gsmp-forgot{font-size:.85em;color:#FF6B35;text-decoration:none;font-weight:500}
.gsmp-forgot:hover{text-decoration:underline}

/* ── Trust Badges ── */
.gsmp-trust-row{display:flex;justify-content:center;gap:18px;margin-top:18px;flex-wrap:wrap}
.gsmp-trust-badge{color:#999;font-size:.78em;font-weight:500;display:inline-flex;align-items:center;gap:4px}
.gsmp-trust-badge .material-icons-outlined{font-size:15px!important;color:#FF6B35}

/* ── Alt Link ── */
.gsmp-alt-link{text-align:center;margin-top:16px;color:#888;font-size:.88em}
.gsmp-alt-link a{color:#FF6B35;font-weight:600;text-decoration:none}
.gsmp-alt-link a:hover{text-decoration:underline}

/* ── Alerts ── */
.gsmp-alert{border-radius:10px;padding:12px 16px;margin-bottom:18px}
.gsmp-alert-error{background:#fef2f2;border:1px solid #fecaca}
.gsmp-alert-error p{color:#b91c1c;font-size:.88em;margin:3px 0}
.gsmp-alert-success{background:#f0fdf4;border:1px solid #bbf7d0}
.gsmp-alert-success p{color:#166534;font-size:.88em;margin:3px 0}

/* ── Success ── */
.gsmp-success-card{text-align:center;padding:40px 20px}
.gsmp-success-card .material-icons-outlined{font-size:56px!important;color:#22C55E;display:block;margin-bottom:16px}
.gsmp-success-card h2{color:#222;margin-bottom:8px}
.gsmp-success-card p{color:#666;margin-bottom:20px}

/* ════════════════════════════════════════════════════
   PROFILE EDIT PAGE
   ════════════════════════════════════════════════════ */

.gsmp-profile-page{max-width:720px;margin:0 auto;padding:30px 16px 60px}

/* ── Photo Upload ── */
.gsmp-photo-section{text-align:center;margin-bottom:28px;padding:24px 0}
.gsmp-photo-preview-wrap{
    position:relative;width:140px;height:140px;margin:0 auto 14px;
    border-radius:50%;overflow:hidden;
    border:3px solid #FF6B35;
    box-shadow:0 4px 16px rgba(255,107,53,.15)
}
.gsmp-photo-preview{
    width:100%;height:100%;object-fit:cover;display:block;
    background:#f0f0f0
}
.gsmp-photo-placeholder{
    width:100%;height:100%;display:flex;align-items:center;justify-content:center;
    background:#f5f5f5;color:#bbb
}
.gsmp-photo-placeholder .material-icons-outlined{font-size:48px!important;color:#ccc}
.gsmp-photo-upload-btn{
    display:inline-flex;align-items:center;gap:6px;
    padding:8px 20px;border-radius:8px;
    background:#fff;border:1.5px solid #FF6B35;color:#FF6B35;
    font-size:.85em;font-weight:600;cursor:pointer;transition:all .2s
}
.gsmp-photo-upload-btn:hover{background:#FF6B35;color:#fff}
.gsmp-photo-upload-btn .material-icons-outlined{font-size:18px!important;color:inherit}
.gsmp-photo-input{display:none}
.gsmp-photo-hint{font-size:.75em;color:#aaa;margin-top:8px}

/* ── Section Headers ── */
.gsmp-section{
    background:#fff;border-radius:12px;
    border:1px solid #e5e5e5;padding:24px;margin-bottom:20px
}
.gsmp-section-title{
    font-size:.95em;font-weight:700;color:#222;
    margin:0 0 16px;padding-bottom:10px;
    border-bottom:1px solid #eee;
    display:flex;align-items:center;gap:8px
}
.gsmp-section-title .material-icons-outlined{font-size:20px!important;color:#FF6B35}

/* ── Welcome Banner ── */
.gsmp-welcome{
    background:linear-gradient(135deg,#FF6B35,#FF8C42);
    color:#fff;border-radius:12px;padding:20px 24px;margin-bottom:24px;
    display:flex;align-items:center;gap:12px
}
.gsmp-welcome .material-icons-outlined{font-size:28px!important;color:#fff}
.gsmp-welcome h3{margin:0 0 4px;font-size:1em;color:#fff}
.gsmp-welcome p{margin:0;font-size:.88em;opacity:.9}

/* ── Featured CTA ── */
.gsmp-featured-cta{
    background:#fffbf5;border:2px solid #FF6B35;border-radius:12px;
    padding:24px;margin-top:24px;text-align:center
}
.gsmp-featured-cta h3{color:#222;margin:0 0 8px;font-size:1.05em}
.gsmp-featured-cta p{color:#666;font-size:.88em;margin-bottom:16px}
.gsmp-featured-benefits{list-style:none;padding:0;margin:0 0 16px;text-align:left}
.gsmp-featured-benefits li{
    padding:6px 0;color:#444;font-size:.88em;
    display:flex;align-items:center;gap:8px
}
.gsmp-featured-benefits li .material-icons-outlined{font-size:18px!important;color:#FF6B35}
.gsmp-featured-price{font-size:1.6em;font-weight:700;color:#FF6B35;margin-bottom:12px}

/* ── Char Counter ── */
.gsmp-char-count{font-size:.75em;color:#aaa;text-align:right;margin-top:4px}
.gsmp-char-count.warn{color:#F59E0B}
.gsmp-char-count.over{color:#EF4444}

/* ── Profile Actions ── */
.gsmp-profile-actions{
    display:flex;gap:12px;margin-top:20px;flex-wrap:wrap
}
.gsmp-profile-actions .gsmp-btn{flex:1;min-width:140px}

/* ════════════════════════════════════════════════════
   MEMBERS DIRECTORY
   ════════════════════════════════════════════════════ */

.gsmp-directory{max-width:1000px;margin:0 auto;padding:30px 16px 60px}
.gsmp-directory-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.gsmp-member-card{
    background:#fff;border-radius:12px;border:1px solid #e5e5e5;
    overflow:hidden;transition:all .2s;text-decoration:none;display:block;color:inherit
}
.gsmp-member-card:hover{box-shadow:0 4px 20px rgba(0,0,0,.08);transform:translateY(-2px)}
.gsmp-member-photo{width:100%;aspect-ratio:1;object-fit:cover;background:#f5f5f5}
.gsmp-member-info{padding:14px}
.gsmp-member-name{font-weight:700;color:#222;font-size:.92em;margin-bottom:4px}
.gsmp-member-type{
    display:inline-block;padding:3px 10px;border-radius:20px;
    font-size:.72em;font-weight:600;color:#fff;background:#FF6B35;margin-bottom:6px
}
.gsmp-member-location{color:#888;font-size:.8em;display:flex;align-items:center;gap:4px}
.gsmp-member-location .material-icons-outlined{font-size:14px!important;color:#FF6B35}
.gsmp-member-bio{color:#777;font-size:.82em;margin-top:6px;line-height:1.4}

/* ── Public Profile ── */
.gsmp-public-profile{max-width:600px;margin:0 auto;padding:30px 16px 60px}
.gsmp-pp-photo{
    width:180px;height:180px;border-radius:50%;object-fit:cover;
    display:block;margin:0 auto 20px;border:3px solid #FF6B35;
    box-shadow:0 4px 16px rgba(255,107,53,.15)
}
.gsmp-pp-name{text-align:center;font-size:1.4em;font-weight:700;color:#222;margin-bottom:4px}
.gsmp-pp-badge{text-align:center;margin-bottom:16px}
.gsmp-pp-badge span{
    display:inline-block;padding:4px 14px;border-radius:20px;
    font-size:.8em;font-weight:600;color:#fff;background:#FF6B35
}
.gsmp-pp-bio{color:#555;font-size:.95em;line-height:1.6;text-align:center;margin-bottom:24px}
.gsmp-pp-details{
    display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:24px
}
.gsmp-pp-detail{
    background:#fafafa;border-radius:10px;padding:12px 14px;
    border:1px solid #eee
}
.gsmp-pp-detail-label{font-size:.75em;color:#888;text-transform:uppercase;letter-spacing:.5px;margin-bottom:2px}
.gsmp-pp-detail-value{font-size:.9em;color:#222;font-weight:500}

/* ── Menu (keep from before) ── */
.gsmp-menu-item{position:relative}
.gsmp-menu-cta{background:linear-gradient(135deg,#FF6B35,#FF8C42)!important;color:#fff!important;border-radius:8px!important;padding:7px 16px!important;font-weight:700!important;font-size:.85em!important;transition:transform .2s,box-shadow .2s!important;display:inline-flex!important;align-items:center!important;text-decoration:none!important}
.gsmp-menu-cta:hover{transform:translateY(-1px)!important;box-shadow:0 4px 14px rgba(255,107,53,.35)!important;color:#fff!important}
.gsmp-menu-av{width:28px!important;height:28px!important;border-radius:50%!important;object-fit:cover!important;margin-right:6px!important;vertical-align:middle!important;border:2px solid rgba(255,107,53,.4)!important}
.gsmp-menu-user{display:inline-flex!important;align-items:center!important}
.gsmp-menu-nm{max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gsmp-mi{width:14px;height:14px;margin-right:5px;display:inline-block;vertical-align:middle;color:#FF6B35}

/* ── All material icons orange ── */
.gsmp-form .material-icons-outlined,
.gsmp-section .material-icons-outlined,
.gsmp-profile-page .material-icons-outlined,
.gsmp-directory .material-icons-outlined{color:#FF6B35}

/* ── Responsive ── */
@media(max-width:768px){
    .gsmp-auth-card{padding:28px 18px}
    .gsmp-row,.gsmp-row-3{grid-template-columns:1fr}
    .gsmp-type-grid{grid-template-columns:1fr}
    .gsmp-remember-row{flex-direction:column;gap:8px;align-items:flex-start}
    .gsmp-directory-grid{grid-template-columns:repeat(2,1fr);gap:14px}
    .gsmp-pp-details{grid-template-columns:1fr}
    .gsmp-profile-actions{flex-direction:column}
}
@media(max-width:480px){
    .gsmp-auth-page{padding:20px 10px 40px}
    .gsmp-auth-card{padding:22px 14px;border-radius:12px}
    .gsmp-auth-card h1{font-size:1.25em}
    .gsmp-directory-grid{grid-template-columns:1fr}
    .gsmp-photo-preview-wrap{width:110px;height:110px}
}

/* ── TEXT VISIBILITY FIXES ── */
/* Ensure all portal text is dark on white background */
.gsmp-auth-card,
.gsmp-auth-card *,
.gsmp-profile-page,
.gsmp-profile-page *,
.gsmp-directory,
.gsmp-directory * {
    color: #333;
}
/* Re-apply specific colors */
.gsmp-auth-card h1, .gsmp-section-title { color: #1a1a1a !important; }
.gsmp-subtitle { color: #888 !important; }
.gsmp-label { color: #444 !important; }
.gsmp-type-name { color: #222 !important; }
.gsmp-type-desc { color: #888 !important; }
.gsmp-form input, .gsmp-form select, .gsmp-form textarea { color: #222 !important; }
.gsmp-form input::placeholder { color: #aaa !important; }
.gsmp-terms label { color: #555 !important; }
.gsmp-alt-link { color: #888 !important; }
.gsmp-alt-link a { color: #FF6B35 !important; }
.gsmp-terms a { color: #FF6B35 !important; }
.gsmp-trust-badge { color: #999 !important; }
.gsmp-photo-hint { color: #aaa !important; }
.gsmp-forgot { color: #FF6B35 !important; }
.gsmp-remember { color: #555 !important; }
.gsmp-alert-error p { color: #b91c1c !important; }
.gsmp-alert-success p { color: #166534 !important; }
/* Buttons stay white text on orange */
.gsmp-btn-primary, .gsmp-btn-primary * { color: #fff !important; }
.gsmp-welcome, .gsmp-welcome * { color: #fff !important; }
/* Material Icons — all orange */
.material-icons-outlined { color: #FF6B35 !important; }
.gsmp-btn-primary .material-icons-outlined { color: #fff !important; }
.gsmp-welcome .material-icons-outlined { color: #fff !important; }
/* Member cards */
.gsmp-member-name { color: #222 !important; }
.gsmp-member-type { color: #fff !important; }
.gsmp-member-location { color: #888 !important; }
.gsmp-member-bio { color: #777 !important; }
