/* ========== GLOBAL THEME ========== */
:root {
  --bg-main: radial-gradient(circle at top, #0f172a, #020617);
  --card-bg: rgba(255,255,255,0.06);
  --glass: blur(14px);
  --border: rgba(255,255,255,0.08);
  --accent: #6366f1;
  --success: #16a34a;
  --danger: #dc2626;
  --text-dim: #9ca3af;
}

body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  background: var(--bg-main);
  color: #e5e7eb;
}

/* ========== LAYOUT ========== */
.main, .wrapper {
  max-width: 1300px;
  margin: auto;
  padding: 28px;
}

/* ========== HEADINGS ========== */
h1, h2, h3 {
  margin-bottom: 16px;
}

/* ========== CARDS (GENERIC) ========== */
.card {
  background: var(--card-bg);
  backdrop-filter: var(--glass);
  border-radius: 16px;
  padding: 22px;
  border: 1px solid var(--border);
  transition: transform .25s ease, box-shadow .25s ease;
}

/* ========== TABLES ========== */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

th, td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

/* ========== BADGES (GENERIC) ========== */
.badge {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.badge.applied { background:#e5e7eb; color:#111; }
.badge.shortlisted { background:#dbeafe; color:#1d4ed8; }
.badge.rejected { background:#fee2e2; color:#b91c1c; }
.badge.hired { background:#dcfce7; color:#15803d; }

/* ========== BUTTONS ========== */
.btn {
  padding: 8px 14px;
  border-radius: 10px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  color: #fff;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.btn.danger {
  background: linear-gradient(90deg, #dc2626, #b91c1c);
}

/* ========== FORMS ========== */
input, select, textarea {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border);
/* color: #fff; Commented by me and below color added by me */
color: #1f2937 !important;   /* dark slate */
  margin-bottom: 14px;
}

/* Below Two css added by me for dropdown visibilty */
    /* FIX: Dropdown option text visibility */
input, select,
select option, textarea {
  color: #1f2937 !important;   /* dark slate */
  background-color: #ffffff !important;
}

/* For Chrome / Edge selected option */
select:focus option:checked {
  background: #e5f3ff !important;
  color: #1f2937 !important;
}


/* ========== HELPERS ========== Added by me from old ui.css file */
/*.text-dim { color: var(--text-dim); }*/
.center { text-align: center; }
.job-card h3 { margin-bottom: 6px; }
.job-meta { display:flex; gap:16px; margin:10px 0; color:#555; }
.job-desc { margin:16px 0; line-height:1.6; }
.apply-box { margin-top:20px; }
.badge.success { background:#dcfce7; color:#166534; padding:6px 10px; border-radius:6px; }

/* ========== JOB CARD ========== */
/*.job-card {
 /* background: #ffffff;
/*  color: #111827;
/*  border-radius: 16px;
/*  padding: 22px;
 /* box-shadow: 0 10px 30px rgba(0,0,0,.08);
 /* transition: transform .25s ease, box-shadow .25s ease;
/*}*/

.job-card {
  background: #ffffff;
  color: #0f172a;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
}


.job-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,.12);
}

.job-card h3 {
  margin-bottom: 8px;
}

.job-meta span {
  background: rgba(99,102,241,0.12);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
  color: #c7d2fe;
}
.job-desc {
  color: #e5e7eb;
  font-size: 15px;
}
.apply-box {
  margin-top: 24px;
}
.btn.primary {
  background: linear-gradient(135deg, #6366f1, #22d3ee);
  border: none;
  box-shadow: 0 0 18px rgba(99,102,241,0.5);
}

.btn.success {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  box-shadow: 0 0 18px rgba(34,197,94,0.45);
}

.badge.success {
  background: rgba(34,197,94,0.15);
  color: #4ade80;
  box-shadow: 0 0 14px rgba(34,197,94,0.45);
}
.alert.success {
  background: rgba(34,197,94,0.12);
  color: #16a34a;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 600;
  margin-bottom: 12px;
}
.profile-card {
  text-align: center;
}

.profile-header {
  margin-bottom: 1rem;
}

.avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 4px rgba(99,102,241,.25);
  margin-bottom: .75rem;
}

.profile-info p {
  text-align: left;
  margin: .35rem 0;
}

.job-item {
  padding: .75rem;
  border-bottom: 1px dashed #ddd;
}

.job-item:last-child {
  border-bottom: none;
}

.profile-header.split {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1.25rem;
}

.profile-header.split img {
  display: block;
  flex-shrink: 0;
}

.profile-text {
  text-align: left;
}

.avatar {
  width: 110px !important;
  height: 110px !important;
  border-radius: 50%;
  object-fit: cover;
  margin-left: 1rem;
  box-shadow:
    0 0 0 3px rgba(99,102,241,.25),
    0 10px 25px rgba(0,0,0,.15);
}
.card {
  position: relative;
  overflow: visible !important;
  transition: transform .25s ease, box-shadow .25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 12px 30px rgba(0,0,0,.18),
    0 0 0 1px rgba(99,102,241,.25),
    0 0 30px rgba(99,102,241,.25);
}
.job-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.job-link:hover {
  color: #4f46e5;
}

.status-select {
  padding: 6px 8px;
  border-radius: 6px;
}

.inline-form {
  display: flex;
  gap: 6px;
  align-items: center;
}

.badge.applied { background:#e5e7eb; color:#111; }
.badge.shortlisted { background:#dbeafe; color:#1d4ed8; }
.badge.rejected { background:#fee2e2; color:#b91c1c; }
.badge.hired { background:#dcfce7; color:#15803d; }
/* ========== ADMIN / PIPELINE / KANBAN ========== */
/* Force horizontal kanban layout in admin */
/* FINAL Kanban board layout */
.kanban-board {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 260px;
  gap: 16px;
  margin-top: 20px;
  align-items: flex-start;
  overflow-x: auto;
  padding-bottom: 10px;
}

/* Scrollbar polish */
.kanban-board::-webkit-scrollbar {
  height: 8px;
}
.kanban-board::-webkit-scrollbar-thumb {
  background: rgba(99,102,241,.4);
  border-radius: 6px;
}



.kanban-column {
  background: #0f172a;
  border-radius: 14px;
  padding: 14px;
  min-height: 200px;
}

.kanban-column h3 {
  text-align: center;
  margin-bottom: 10px;
  font-size: 15px;
  color: #e5e7eb;
}

.kanban-card {
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 10px;
  cursor: default;
}

.kanban-card small {
  display: block;
  margin-top: 4px;
  opacity: 0.8;
}

.kanban-card {
  transition: transform .15s ease, box-shadow .15s ease;
}

.kanban-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 0 1px rgba(99,102,241,.4),
              0 12px 30px rgba(0,0,0,.4);
}
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.modal.hidden { display: none; }

.modal-box {
  background: #020617;
  padding: 20px;
  border-radius: 14px;
  width: 360px;
}

.modal-box label {
  display: block;
  margin-top: 10px;
  font-size: 13px;
}

.modal-box input,
.modal-box select,
.modal-box textarea {
  width: 100%;
  margin-top: 4px;
}

.modal-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
}
.jobs-section {
  padding: 60px 0;
}

.job-card {
  transition: all 0.3s ease;
}

.job-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.job-meta {
  margin-top: 10px;
  font-size: 14px;
  color: #555;
}

.job-hero {
  background: linear-gradient(135deg,#0b5cff,#00c6ff);
  color: #fff;
  padding: 3rem 0;
}

.job-hero h1 {
  margin-top: 1rem;
  font-size: 2rem;
}

.job-meta span {
  display: inline-block;
  margin-right: 1rem;
  opacity: .9;
}

.job-body {
  padding: 3rem 0;
}

.job-apply {
  position: sticky;
  top: 100px;
}

.apply-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,.08);
}

.btn.full {
  width: 100%;
  text-align: center;
}

.badge.onsite { background:#0b5cff; color:#fff; }
.badge.remote { background:#16a34a; color:#fff; }
.badge.success { background:#22c55e; color:#fff; }
.job-filters{
  display:flex;
  gap:10px;
  margin-bottom:20px;
  flex-wrap:wrap;
}
.job-filters input,
.job-filters select{
  padding:8px;
  border-radius:6px;
  border:1px solid #ccc;
}
.job-card{
  transition: transform .2s ease, box-shadow .2s ease;
}
.job-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,.12);
}

.badge.onsite{ background:#e3f2fd; color:#0d47a1; }
.badge.remote{ background:#e8f5e9; color:#1b5e20; }
.badge.hybrid{ background:#fff3e0; color:#e65100; }

.job-tags{
  margin-top:8px;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.job-tags span{
  font-size:12px;
  padding:4px 8px;
  border-radius:12px;
  background:#f1f3f5;
}
.job-detail {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}

.job-main h1 {
  margin-bottom: 10px;
}

.job-badges {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.job-badges span {
  padding: 6px 12px;
  border-radius: 14px;
  font-size: 12px;
  background: #eef2f7;
}

.apply-box {
  position: sticky;
  top: 100px;
  padding: 20px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.1);
}

.grid {
  display: grid;
  gap: 24px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

.btn.ghost {
  background: #e5e7eb;
  color: #0f172a;
  border: 1px solid #cbd5e1;
}

.btn.ghost:hover {
  background: #dbeafe;
  color: #1d4ed8;
}

/* Added By Me */

.btn.purple {
  background-color: #A020F0;
  color: purple;
  /* other styling properties as needed */
}

.btn.purple:hover {
  background: #dbeafe;
  color: #1d4ed8;
}
/* ==============================
   SECTION VISUAL SEPARATION Added By Me
   ============================== */

.section {
  padding: 80px 0;
  position: relative;
}

/* Alternate section backgrounds */
.section.white {
  background: #ffffff;
}

.section.light {
  background: #f8fafc;
}

/* Soft separator line */
.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 80%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(99,102,241,0.35),
    transparent
  );
  transform: translateX(-50%);
}

/* ==============================
   SECTION HEADINGS
   ============================== */

.section h2 {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 24px;
  color: #0f172a;
  text-align: center;
  position: relative;
}

/* Glow underline */
.section h2::after {
  content: "";
  display: block;
  width: 90px;
  height: 4px;
  margin: 14px auto 0;
  background: linear-gradient(90deg,#6366f1,#22d3ee);
  border-radius: 4px;
  box-shadow: 0 0 14px rgba(99,102,241,.6);
}

/* ==============================
   SECTION TEXT
   ============================== */

.section p {
  font-size: 16px;
  line-height: 1.8;
  color: #475569;
}

/* ==============================
   CARD STYLE (HORIZONTAL + GLOW)
   ============================== */

.glow-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 28px;
  border: 1px solid rgba(99,102,241,.15);
  box-shadow: 0 20px 45px rgba(0,0,0,.06);
  transition: all .35s ease;
  height: 100%;
}

.glow-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 25px 55px rgba(0,0,0,.12),
    0 0 0 1px rgba(99,102,241,.35),
    0 0 35px rgba(99,102,241,.35);
}

/* Horizontal alignment helper commented by me*/
/*.section .row {
/*  display: flex;
/*  flex-wrap: wrap;
/*  gap: 24px;
/*}

/* Ensure cards align nicely */
/*.section .col-sm-4,
/*.section .col-sm-6,
/*.section .col-sm-8,
/*.section .col-sm-12 {
/*  display: flex;
/*}*/


/* ==============================
   TESTIMONIAL CAROUSEL
   ============================== */

.testimonial-carousel {
  position: relative;
  max-width: 900px;
  margin: 40px auto 0;
}

.testimonial {
  display: none;
  background: #ffffff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0,0,0,.08);
  text-align: center;
  transition: opacity .6s ease;
}

.testimonial.active {
  display: block;
}

.testimonial p {
  font-size: 18px;
  line-height: 1.8;
  color: #334155;
}

.testimonial h4 {
  margin-top: 20px;
  font-weight: 700;
  color: #0f172a;
}

.testimonial span {
  font-size: 14px;
  color: #64748b;
}

/* Added By Me From ChatGPT5 For Back Button */
/* ===============================
   ADMIN GLOBAL BACK BUTTON
=============================== */
.admin-back-wrap {
  margin: 10px 0 20px 0;
}

.admin-back-btn {
  font-size: 14px;
  padding: 6px 14px;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
  color: #1f2937;
  text-decoration: none;
  display: inline-block;
}

.admin-back-btn:hover {
  background: #e5e7eb;
  color: #111827;
}

/* Added By Me From ChatGPT5 For Fixes */
/* ===============================
   ADMIN SELECT DROPDOWN FIX
=============================== */
select,
select option {
  background-color: #ffffff !important;
  color: #1f2937 !important; /* dark slate */
}

select {
  border: 1px solid #d1d5db;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 14px;
}

select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37,99,235,0.15);
}

/* ===============================
   ADMIN TABLE READABILITY FIX
=============================== */
.table-wrap {
  background: #f9fafb; /* soft gray instead of pure white */
  border-radius: 10px;
  padding: 12px;
}

.wide-table {
  border-collapse: collapse;
  width: 100%;
  background: #ffffff;
}

.wide-table thead th {
  background: #eef2f7;
  color: #1f2937;
  border: 1px solid #dbe2ea;
  padding: 10px;
  font-weight: 600;
}

.wide-table tbody td {
  border: 1px solid #e5e7eb;
  padding: 10px;
  color: #111827;
}

.wide-table tbody tr:nth-child(even) {
  background: #f8fafc;
}

.wide-table tbody tr:hover {
  background: #eef6ff;
}


/* ===============================
   ADMIN TABLE ACTION BUTTON FIX
=============================== */
td .btn {
  display: inline-block;
  margin: 2px 4px 2px 0;
  white-space: nowrap;
}

td {
  vertical-align: middle;
}

/* Optional: stack buttons on very small screens */
@media (max-width: 768px) {
  td .btn {
    display: block;
    width: 100%;
    margin-bottom: 6px;
  }
}




