/* ===============================
   RESET (SAFE)
=============================== */
.rr-dashboard * {
  box-sizing: border-box;
}

/* ===============================
   MAIN LAYOUT
=============================== */

.rr-dashboard {
  display: flex;
  min-height: calc(100vh - 70px); /* header space adjust */
  font-family: Inter, Arial, sans-serif;
}

/* ===============================
   SIDEBAR
=============================== */

.rr-sidebar {
  width: 260px;
  background: #0b1220;
  color: #fff;
  padding: 20px;
  flex-shrink: 0;
}

.rr-sidebar h3 {
  margin-bottom: 20px;
  font-size: 18px;
}

.rr-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rr-sidebar li {
  margin: 12px 0;
}

.rr-sidebar a {
  color: #cbd5f5;
  text-decoration: none;
  font-weight: 500;
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  transition: 0.2s;
}

.rr-sidebar a:hover {
  background: #1e293b;
  color: #fff;
}

/* ===============================
   CONTENT AREA
=============================== */

.rr-content {
  flex: 1;
  padding: 30px;
  background: #f8fafc;
  min-width: 0;
}

/* center content clean */
.rr-content-inner {
  max-width: 900px;
  margin: 0 auto;
}

/* ===============================
   HEADINGS
=============================== */

.rr-content h2 {
  margin-bottom: 20px;
  font-size: 22px;
}

/* ===============================
   JOB GRID
=============================== */

.rr-job-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ===============================
   JOB CARD (FINAL UI)
=============================== */

.rr-job-card {
  display: flex;
  gap: 16px;
  align-items: center;

  background: #fff;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;

  transition: 0.2s;
}

.rr-job-card:hover {
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* IMAGE */
.rr-job-card-image img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 12px;
}

/* CONTENT */
.rr-job-card-content {
  flex: 1;
}

/* TITLE */
.rr-job-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}

/* SALARY BADGE */
.rr-salary {
  display: inline-block;
  background: #dcfce7;
  color: #166534;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 6px;
}

/* META */
.rr-meta {
  font-size: 13px;
  color: #475569;
  margin-top: 4px;
}

/* ===============================
   TABLE (APPLICATIONS)
=============================== */

.rr-applications-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}

.rr-applications-table th,
.rr-applications-table td {
  padding: 12px;
  border-bottom: 1px solid #eee;
}

.rr-applications-table th {
  background: #f1f5f9;
  font-weight: 600;
}

/* ===============================
   STATUS BADGES
=============================== */

.rr-status {
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
}

.rr-status-submitted { background: #e5e7eb; }
.rr-status-reviewed { background: #fef3c7; }
.rr-status-shortlisted { background: #dcfce7; }
.rr-status-rejected { background: #fee2e2; }

/* ===============================
   NOTIFICATIONS
=============================== */

.rr-notification {
  background: #fff;
  padding: 12px;
  margin-bottom: 10px;
  border-left: 4px solid #2563eb;
  border-radius: 6px;
}

/* ===============================
   MOBILE
=============================== */

@media (max-width: 768px) {

  .rr-dashboard {
    flex-direction: column;
  }

  .rr-sidebar {
    width: 100%;
  }

  .rr-content {
    padding: 15px;
  }

  .rr-job-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .rr-job-card-image img {
    width: 100%;
    height: auto;
  }
}


















/* ===============================
   APPLICATION TABLE UI UPGRADE
=============================== */

.rr-applications-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 12px;
}

.rr-applications-table thead {
  display: none; /* header hide for modern look */
}

.rr-applications-table tbody tr {
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  border-radius: 12px;
  overflow: hidden;
}

.rr-applications-table td {
  padding: 16px;
  vertical-align: middle;
  border: none;
}

/* JOB TITLE */
.rr-applications-table td:first-child a {
  font-weight: 600;
  color: #0f172a;
  text-decoration: none;
  font-size: 15px;
}

.rr-applications-table td:first-child a:hover {
  color: #2563eb;
}

/* STATUS BADGE */
.rr-status {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.rr-status-submitted {
  background: #e2e8f0;
}

.rr-status-reviewed {
  background: #fef3c7;
}

.rr-status-shortlisted {
  background: #dcfce7;
}

.rr-status-rejected {
  background: #fee2e2;
}

/* DETAILS BUTTON */
.rr-applications-table td a {
  color: #2563eb;
  font-weight: 500;
  text-decoration: none;
}

.rr-applications-table td a:hover {
  text-decoration: underline;
}

/* ADMIN FEEDBACK */
.rr-admin-feedback-box {
  background: #fff7ed;
  border-left: 4px solid #f59e0b;
  padding: 12px;
  border-radius: 6px;
  margin-top: 8px;
}

/* MOBILE */
@media (max-width: 768px) {
  .rr-applications-table td {
    display: block;
    width: 100%;
  }

  .rr-applications-table tr {
    display: block;
  }
}