/* ═══════════════════════════════════════════════
   Brahmins Employment Board – beb.css  v1.0
   Theme: Saffron & Deep Maroon, editorial style
═══════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Tiro+Devanagari+Sanskrit&family=Nunito:wght@400;600;700;800&display=swap');

:root {
  --beb-saffron: #E07B27;
  --beb-maroon:  #7B1818;
  --beb-gold:    #C9952A;
  --beb-cream:   #FDF6EC;
  --beb-bg:      #F5EFE7;
  --beb-white:   #FFFFFF;
  --beb-grey:    #6B6B6B;
  --beb-border:  #D9C9B0;
  --beb-approve: #1e7e34;
  --beb-reject:  #b02020;
  --beb-edit:    #d07020;
  --beb-shadow:  0 4px 24px rgba(123,24,24,0.12);
}

#beb-wrap * { box-sizing: border-box; font-family: 'Nunito', sans-serif; }

/* ── Banner ── */
.beb-banner {
  background: linear-gradient(135deg, var(--beb-maroon) 0%, #3a0a0a 60%, #1a0505 100%);
  color: #fff; padding: 28px 20px; border-radius: 0;
}
.beb-banner-inner { max-width: 960px; margin: auto; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px; }
.beb-logo-row { display:flex; align-items:center; gap:16px; }
.beb-om { font-family:'Tiro Devanagari Sanskrit',serif; font-size:52px; color:var(--beb-gold); line-height:1; }
.beb-title { font-size:24px; font-weight:800; color:var(--beb-gold); margin:0; letter-spacing:.5px; }
.beb-subtitle { font-size:12px; color:#e8c89a; margin:4px 0 0; }
.beb-header-btns { display:flex; gap:10px; flex-wrap:wrap; }
.beb-btn-seek  { background:var(--beb-saffron); color:#fff; border:none; padding:10px 18px; border-radius:25px; font-weight:700; cursor:pointer; font-size:14px; transition:.2s; }
.beb-btn-seek:hover { background:#c9681a; }
.beb-btn-emp   { background:var(--beb-gold); color:#fff; border:none; padding:10px 18px; border-radius:25px; font-weight:700; cursor:pointer; font-size:14px; transition:.2s; }
.beb-btn-emp:hover  { background:#a07318; }
.beb-btn-admin { background:transparent; color:#e8c89a; border:2px solid #e8c89a; padding:10px 18px; border-radius:25px; font-weight:700; cursor:pointer; font-size:14px; transition:.2s; }
.beb-btn-admin:hover { background:#e8c89a; color:#3a0a0a; }

/* ── Sections ── */
.beb-section { background:var(--beb-cream); padding:32px 20px; }
.beb-section-alt { background:var(--beb-bg); }
.beb-section-title { font-size:20px; font-weight:800; color:var(--beb-maroon); margin:0 0 16px; max-width:960px; margin-left:auto; margin-right:auto; }
.beb-filter-row { max-width:960px; margin:0 auto 16px; }
.beb-filter-row input { width:100%; max-width:380px; padding:9px 14px; border:2px solid var(--beb-border); border-radius:20px; font-size:14px; outline:none; }
.beb-filter-row input:focus { border-color:var(--beb-saffron); }
.beb-cards { max-width:960px; margin:auto; display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:16px; }
.beb-loading { color:var(--beb-grey); font-style:italic; }

/* ── Seeker Card ── */
.beb-card {
  background:#fff; border-radius:12px; border:1px solid var(--beb-border);
  padding:16px; box-shadow:0 2px 10px rgba(0,0,0,.06); transition:.2s;
}
.beb-card:hover { box-shadow:0 6px 20px rgba(123,24,24,.15); transform:translateY(-2px); }
.beb-card-name { font-size:16px; font-weight:800; color:var(--beb-maroon); margin-bottom:6px; }
.beb-card-pos { font-size:13px; color:var(--beb-saffron); font-weight:700; margin-bottom:8px; }
.beb-card-row { font-size:13px; color:#555; margin-bottom:4px; }
.beb-card-tag { display:inline-block; background:var(--beb-bg); color:var(--beb-maroon); font-size:11px; padding:2px 8px; border-radius:10px; margin:2px 2px 0 0; font-weight:700; }
.beb-status-badge { display:inline-block; padding:2px 10px; border-radius:12px; font-size:11px; font-weight:700; text-transform:uppercase; }
.beb-status-approved { background:#d4edda; color:#155724; }
.beb-status-pending  { background:#fff3cd; color:#856404; }
.beb-status-rejected { background:#f8d7da; color:#721c24; }

/* ── Modals ── */
.beb-modal { position:fixed; inset:0; background:rgba(0,0,0,.6); z-index:99999; display:flex; align-items:center; justify-content:center; }
.beb-modal-box { background:#fff; border-radius:14px; width:94%; max-width:680px; max-height:90vh; display:flex; flex-direction:column; box-shadow:0 12px 50px rgba(0,0,0,.3); overflow:hidden; }
.beb-small-box { max-width:380px; }
.beb-disc-box  { max-width:600px; }
.beb-review-box{ max-width:640px; }
.beb-admin-box { max-width:98vw; width:1100px; max-height:92vh; }
.beb-modal-drag { background:linear-gradient(135deg,var(--beb-maroon),#5a1212); color:#fff; padding:14px 18px; display:flex; align-items:center; justify-content:space-between; cursor:grab; user-select:none; font-weight:700; font-size:15px; }
.beb-modal-drag:active { cursor:grabbing; }
.beb-close { background:none; border:none; color:#fff; font-size:20px; cursor:pointer; line-height:1; }
.beb-modal-scroll { overflow-y:auto; flex:1; padding:20px; }

/* ── Form ── */
.beb-form-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.beb-full { grid-column:1/-1; }
.beb-field label { display:block; font-size:12px; font-weight:700; color:var(--beb-maroon); margin-bottom:5px; text-transform:uppercase; letter-spacing:.5px; }
.beb-field input, .beb-field select, .beb-field textarea {
  width:100%; padding:9px 12px; border:2px solid var(--beb-border); border-radius:8px;
  font-size:14px; outline:none; transition:.2s; background:#fafafa;
}
.beb-field input:focus, .beb-field select:focus, .beb-field textarea:focus { border-color:var(--beb-saffron); background:#fff; }
.beb-mobile-row { display:flex; gap:8px; align-items:center; }
.beb-mobile-row input { flex:1; }
.beb-verify-btn { background:var(--beb-maroon); color:#fff; border:none; padding:9px 14px; border-radius:8px; font-size:13px; font-weight:700; cursor:pointer; white-space:nowrap; }
.beb-verify-btn:hover { background:#5a0e0e; }
.beb-mobile-status { font-size:13px; font-weight:700; }
.beb-form-actions { margin-top:20px; text-align:center; }
.beb-submit-btn { background:var(--beb-saffron); color:#fff; border:none; padding:13px 36px; border-radius:30px; font-size:16px; font-weight:800; cursor:pointer; transition:.2s; }
.beb-submit-btn:hover { background:#c0661a; transform:scale(1.03); }

/* ── Keywords / Tags ── */
.beb-keyword-wrap { position:relative; }
.beb-kw-drop { position:absolute; top:100%; left:0; right:0; background:#fff; border:2px solid var(--beb-border); border-radius:8px; max-height:180px; overflow-y:auto; z-index:1000; box-shadow:0 4px 12px rgba(0,0,0,.15); }
.beb-kw-item { padding:9px 12px; font-size:13px; cursor:pointer; }
.beb-kw-item:hover { background:var(--beb-bg); color:var(--beb-maroon); font-weight:700; }
.beb-tags { display:flex; flex-wrap:wrap; gap:6px; margin-top:8px; }
.beb-tag { background:var(--beb-maroon); color:#fff; padding:4px 12px; border-radius:20px; font-size:12px; font-weight:700; cursor:pointer; display:flex; align-items:center; gap:6px; }
.beb-tag:after { content:'×'; font-size:15px; line-height:1; }

/* ── Disclaimer ── */
.beb-disc-scroll { padding:28px; }
.beb-disc-body { text-align:center; }
.beb-disc-icon { font-size:52px; margin-bottom:12px; }
.beb-disc-body h3 { font-size:20px; color:var(--beb-maroon); margin-bottom:18px; }
.beb-disc-text { text-align:left; background:var(--beb-bg); border:2px solid var(--beb-border); border-radius:10px; padding:18px; font-size:14px; line-height:1.7; color:#333; margin-bottom:20px; }
.beb-disc-text p { margin:0 0 12px; }
.beb-disc-confirm { background:#fff3cd; border:2px solid #ffc107; border-radius:8px; padding:14px; margin-bottom:18px; }
.beb-disc-label { display:flex; gap:12px; align-items:flex-start; cursor:pointer; font-size:14px; font-weight:700; color:#333; }
.beb-disc-label input { width:22px; height:22px; margin-top:2px; accent-color:var(--beb-maroon); }
.beb-disc-btn { background:var(--beb-approve); color:#fff; border:none; padding:13px 36px; border-radius:30px; font-size:16px; font-weight:800; cursor:pointer; transition:.2s; display:block; width:100%; margin-bottom:10px; }
.beb-disc-btn:disabled { background:#aaa; cursor:not-allowed; }
.beb-disc-btn:not(:disabled):hover { background:#155724; }
.beb-disc-cancel { background:transparent; color:var(--beb-maroon); border:2px solid var(--beb-maroon); padding:10px 28px; border-radius:30px; font-size:14px; font-weight:700; cursor:pointer; }
.beb-drag-hint { text-align:center; font-size:13px; color:#888; padding:8px; }

/* ── Review ── */
.beb-review-table { width:100%; border-collapse:collapse; font-size:13px; }
.beb-review-table td { padding:8px 10px; border-bottom:1px solid var(--beb-border); word-break:break-word; }
.beb-review-table td:first-child { font-weight:700; color:var(--beb-maroon); width:38%; }

/* ── Admin ── */
.beb-admin-topbar { padding:12px 14px; background:var(--beb-bg); border-bottom:2px solid var(--beb-border); display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
.beb-admin-tabs { display:flex; gap:6px; }
.beb-tab { background:#fff; border:2px solid var(--beb-border); padding:7px 16px; border-radius:20px; font-size:13px; font-weight:700; cursor:pointer; transition:.2s; }
.beb-tab.active { background:var(--beb-maroon); color:#fff; border-color:var(--beb-maroon); }
.beb-admin-filters { display:flex; gap:8px; flex:1; min-width:200px; }
.beb-admin-filters select, .beb-admin-filters input { padding:7px 10px; border:2px solid var(--beb-border); border-radius:8px; font-size:13px; }
.beb-stat-row { display:flex; gap:8px; flex-wrap:wrap; }
.beb-stat { background:#fff; border:2px solid var(--beb-border); border-radius:8px; padding:6px 14px; font-size:12px; font-weight:700; text-align:center; }
.beb-stat span { display:block; font-size:20px; color:var(--beb-maroon); }
.beb-bulk-bar { display:flex; gap:8px; align-items:center; flex-wrap:wrap; width:100%; }
.beb-bulk-approve { background:var(--beb-approve); color:#fff; border:none; padding:7px 14px; border-radius:6px; font-weight:700; cursor:pointer; font-size:13px; }
.beb-bulk-reject  { background:var(--beb-reject); color:#fff; border:none; padding:7px 14px; border-radius:6px; font-weight:700; cursor:pointer; font-size:13px; }
.beb-bulk-delete  { background:#555; color:#fff; border:none; padding:7px 14px; border-radius:6px; font-weight:700; cursor:pointer; font-size:13px; }
.beb-bulk-count { font-size:13px; color:#555; }
.beb-logout-btn { margin-left:auto; background:var(--beb-maroon); color:#fff; border:none; padding:7px 16px; border-radius:20px; font-weight:700; cursor:pointer; font-size:13px; }
.beb-admin-table { width:100%; border-collapse:collapse; font-size:13px; }
.beb-admin-table th { background:var(--beb-maroon); color:#fff; padding:9px 8px; text-align:left; white-space:nowrap; font-size:12px; }
.beb-admin-table td { padding:8px; border-bottom:1px solid var(--beb-border); word-break:break-word; vertical-align:top; }
.beb-admin-table tr:hover td { background:var(--beb-bg); }
.beb-row-btn { padding:4px 10px; border-radius:5px; border:none; font-size:12px; font-weight:700; cursor:pointer; margin:2px; }
.beb-row-approve { background:var(--beb-approve); color:#fff; }
.beb-row-reject  { background:var(--beb-reject); color:#fff; }
.beb-row-delete  { background:#555; color:#fff; }
.beb-row-edit    { background:var(--beb-edit); color:#fff; }
.beb-edit-strip  { background:#fff9e6; border:2px dashed var(--beb-gold); padding:10px; margin-top:6px; border-radius:6px; }
.beb-edit-strip input, .beb-edit-strip select, .beb-edit-strip textarea { width:100%; padding:6px; font-size:12px; border:1px solid #ccc; border-radius:4px; margin-bottom:6px; }
.beb-save-edit { background:var(--beb-saffron); color:#fff; border:none; padding:6px 14px; border-radius:5px; font-weight:700; font-size:12px; cursor:pointer; }

/* ── Toast ── */
.beb-toast { position:fixed; bottom:30px; left:50%; transform:translateX(-50%); background:#333; color:#fff; padding:13px 28px; border-radius:30px; font-size:15px; font-weight:700; z-index:9999999; box-shadow:0 4px 20px rgba(0,0,0,.3); animation:beb-fadein .3s; }
@keyframes beb-fadein { from{opacity:0;transform:translateX(-50%) translateY(20px)} to{opacity:1;transform:translateX(-50%) translateY(0)} }

.beb-btn-ok     { background:var(--beb-approve); color:#fff; border:none; padding:10px 24px; border-radius:20px; font-weight:700; cursor:pointer; font-size:15px; }
.beb-btn-cancel { background:#aaa; color:#fff; border:none; padding:10px 24px; border-radius:20px; font-weight:700; cursor:pointer; font-size:15px; }

/* ── Richer Cards ── */
.beb-card-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--beb-maroon), var(--beb-saffron));
  color: #fff; font-size: 22px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px;
}
.beb-avatar-emp { background: linear-gradient(135deg, var(--beb-gold), #7a5010); font-size: 20px; }
.beb-card-pos-wrap { margin-bottom: 8px; }
.beb-tag-job { background: var(--beb-saffron); color: #fff; }
.beb-tag-emp { background: var(--beb-gold); color: #fff; }
.beb-card-divider { border: none; border-top: 1px dashed var(--beb-border); margin: 10px 0; }
.beb-salary-row { color: #1e5a1e; font-size: 13px; }
.beb-skills-row { margin-top: 6px; }
.beb-card-note {
  font-size: 12px; color: #555; font-style: italic;
  background: var(--beb-bg); border-left: 3px solid var(--beb-saffron);
  padding: 8px 10px; border-radius: 0 6px 6px 0; margin: 10px 0 6px;
  line-height: 1.5;
}
.beb-card-footer {
  font-size: 11px; color: #aaa; margin-top: 10px; text-align: right;
}
.beb-since { font-size: 11px; color: #999; font-weight: 400; }

/* ── Contact Reveal ── */
.beb-contact-reveal { margin: 10px 0 4px; }
.beb-show-contact-btn {
  width: 100%; padding: 9px 14px; border: 2px dashed var(--beb-saffron);
  background: #fff8f0; color: var(--beb-saffron); border-radius: 8px;
  font-size: 13px; font-weight: 700; cursor: pointer; transition: .2s;
  text-align: center;
}
.beb-show-contact-btn:hover { background: var(--beb-saffron); color: #fff; border-style: solid; }
.beb-show-contact-emp { border-color: var(--beb-gold); color: var(--beb-gold); background: #fffbf0; }
.beb-show-contact-emp:hover { background: var(--beb-gold); color: #fff; }
.beb-contact-hide { background: #f0f0f0 !important; color: #888 !important; border-color: #ccc !important; border-style: solid !important; }
.beb-contact-info {
  margin-top: 8px; background: #f0fff4; border: 2px solid #b7e4c7;
  border-radius: 8px; padding: 10px 14px; animation: beb-slidein .2s ease;
}
.beb-ci-row { font-size: 14px; font-weight: 700; margin-bottom: 5px; }
.beb-ci-row:last-child { margin-bottom: 0; }
.beb-ci-row a { color: var(--beb-maroon); text-decoration: none; }
.beb-ci-row a:hover { text-decoration: underline; }
@keyframes beb-slidein { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:translateY(0); } }

/* ── Req Satisfied Buttons ── */
.beb-req-yes { background: #1e7e34; color: #fff; }
.beb-req-yes:hover { background: #155724; }
.beb-req-no  { background: #e0e0e0; color: #555; border: 1px solid #ccc; }
.beb-req-no:hover  { background: #ccc; }

@media(max-width:600px) {
  .beb-banner-inner { flex-direction:column; }
  .beb-form-grid { grid-template-columns:1fr; }
  .beb-full { grid-column:1; }
  .beb-admin-box { max-height:97vh; }
  .beb-admin-topbar { flex-direction:column; align-items:stretch; }
}
