/* =========================================
   NWIIWA FINAL CLEAN SYSTEM (STABLE)
   Elegant • Feminine • No Bugs
   ========================================= */

/* --- GOOGLE FONTS --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600&family=Inter:wght@300;400;500&display=swap');

/* --- VARIABLES --- */
:root{
  --plum:#451367;
  --plum-soft:#6d2aa6;
  --text:#1f1f24;
  --muted:#6f6f7a;
}

/* --- BASE --- */
body{
  font-family: 'Inter', sans-serif;
  color: var(--text);
  letter-spacing: 0.2px;

  background:
    linear-gradient(rgba(255,255,255,0.94), rgba(255,255,255,0.94)),
    url('https://members.nwiiwa.com/resources/Pictures/GettyImages-2183992542.jpg') no-repeat center center fixed;

  background-size: cover;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3{
  font-family: 'Playfair Display', serif;
  letter-spacing: -0.01em;
}

h1{
  font-size: 44px;
  font-weight: 500;
}

h2{
  font-size: 26px;
  font-weight: 500;
}

p{
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
}

/* --- HEADER --- */
.WaPlaceHolderHeader{
  background: rgba(255,255,255,0.85) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* NAV */
.WaGadgetMenuHorizontal{
  padding: 16px 30px !important;
}

.WaGadgetMenuHorizontal a{
  color: var(--text) !important;
  font-weight: 500;
}

.WaGadgetMenuHorizontal a:hover{
  color: var(--plum) !important;
}

/* --- LOGIN BUTTON (FIXED) --- */
.WaGadgetLoginButton{
  display: none !important;
}

.WaPlaceHolderHeader .WaGadgetLoginButton{
  display: block !important;
}

.WaPlaceHolderHeader .WaGadgetLoginButton a{
  background: transparent !important;
  color: var(--plum) !important;
  border: 1px solid rgba(69,19,103,0.25);
  padding: 8px 18px !important;
  border-radius: 999px;
  font-weight: 500;
  font-size: 13px !important;
  font-family: 'Inter', sans-serif !important;
}

/* Hide icon only */
.WaPlaceHolderHeader .WaGadgetLoginButton svg,
.WaPlaceHolderHeader .WaGadgetLoginButton i{
  display: none !important;
}

/* --- REMOVE HEAVY BOXES --- */
.WaGadget,
.zoneContent,
.WaContent{
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

/* --- LINKS --- */
a{
  color: var(--plum) !important;
}

a:hover{
  color: var(--plum-soft) !important;
}

/* --- BUTTONS --- */
button,
input[type="submit"],
input[type="button"],
.WaGadget a.button{
  background: var(--plum) !important;
  color: #fff !important;
  border-radius: 999px !important;
  padding: 12px 26px !important;
  border: none !important;
  font-weight: 500;
}

/* --- WA SYSTEM FIXES --- */
.WaGadgetEvents a,
.WaGadgetRegistrationForm a{
  background: var(--plum) !important;
  color: #fff !important;
}

.WaGadgetMemberDirectory input,
.WaGadgetMemberDirectory select{
  border-color: var(--plum) !important;
}

.WaGadgetMemberDirectory .selected,
.WaGadgetMemberDirectory .active{
  color: var(--plum) !important;
  border-bottom: 2px solid var(--plum) !important;
}

.WaGadgetMemberDirectory .pager a{
  color: var(--plum) !important;
}

.WaGadget a{
  color: var(--plum) !important;
}

/* =========================================
   DIRECTORY CLEAN STYLE (STABLE)
   ========================================= */

.WaGadgetMemberDirectory .memberDirectoryItem{
  padding: 18px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: all 0.25s ease;
}

.WaGadgetMemberDirectory .memberDirectoryItem:hover{
  background: rgba(69,19,103,0.03);
}

/* Profile image */
.WaGadgetMemberDirectory img{
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

/* Name */
.WaGadgetMemberDirectory .memberName{
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: var(--plum);
}

/* Company/title */
.WaGadgetMemberDirectory .memberCompany,
.WaGadgetMemberDirectory .memberPosition{
  font-size: 14px;
  color: var(--muted);
}

/* Align content */
.WaGadgetMemberDirectory td{
  vertical-align: middle;
}

/* --- SPACING --- */
section{
  margin-bottom: 60px;
}

/* --- FOOTER --- */
footer{
  background: transparent;
  color: var(--text);
}
/* --- FIX MEMBER PORTAL BUTTON TEXT COLOR --- */
a[href="/Sys/Login"]{
  color: #ffffff !important;
}
/* =========================================
   NWIIWA DIRECTORY IMAGE + LAYOUT FIX
   No Circles • No Cropping • Clean Layout
   ========================================= */

/* REMOVE ANY FORCED CIRCLES */
.WaGadgetMemberDirectory img{
  border-radius: 0 !important;
}

/* FULL IMAGE DISPLAY */
.WaGadgetMemberDirectory img{
  width: 85px;
  height: auto !important; /* keeps natural proportions */
  object-fit: contain !important; /* prevents cropping */
  border-radius: 8px; /* soft, modern edge */
  margin-right: 15px;
}

/* ALIGN IMAGE + TEXT NICELY */
.WaGadgetMemberDirectory td{
  vertical-align: middle;
}

/* NAME STYLING */
.WaGadgetMemberDirectory .memberName{
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: #451367;
  margin-bottom: 2px;
}

/* COMPANY / TITLE */
.WaGadgetMemberDirectory .memberCompany,
.WaGadgetMemberDirectory .memberPosition{
  font-size: 14px;
  color: #6f6f7a;
}

/* ROW SPACING */
.WaGadgetMemberDirectory .memberDirectoryItem{
  padding: 18px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

/* SUBTLE HOVER (OPTIONAL BUT NICE) */
.WaGadgetMemberDirectory .memberDirectoryItem:hover{
  background: rgba(69,19,103,0.03);
}