/* ToDo: refractor CSS */

@font-face {
    font-family: 'Poppins';
    src: url('/assets/fonts/Poppins-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('/assets/fonts/Poppins-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('/assets/fonts/Poppins-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('/assets/fonts/Poppins-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('/assets/fonts/Poppins-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

body {
  font-family: 'Poppins', sans-serif;
}

/* =========================================================
   1. VARIABLES
========================================================= */

:root {
  --color-page-background: #ffbe55;
  --color-surface: #fff;
  --color-text: #111;
  --color-black: #000;

  --color-border-light: #ddd;
  --color-border-medium: #bbb;
  --color-muted-text: #555;

  --color-primary: #1579c7;
  --color-primary-dark: #0b4d84;

  --color-sidebar-background: #f4f4f4;
  --color-sidebar-hover: #e7e7e7;
  --color-panel-background: #f7f7f7;
  --color-stat-background: #f2f2f2;
  --color-input-background: #f8f8f8;
  --color-card-background: #f5f5f5;

  --color-error-background: #ffe1e1;
  --color-error-text: #a30000;
  --color-success-background: #e7f6ed;
  --color-success-text: #167a3a;
  --color-warning-text: #a36a00;

  --color-white-transparent-08: rgba(255, 255, 255, 0.08);
  --color-white-transparent-15: rgba(255, 255, 255, 0.15);
  --color-white-transparent-25: rgba(255, 255, 255, 0.25);
  --color-white-transparent-45: rgba(255, 255, 255, 0.45);

  --color-shadow: rgba(0, 0, 0, 0.12);
  --color-hero-fade-start: rgba(255, 190, 85, 0);
  --color-hero-fade-mid: rgba(255, 190, 85, 0.6);
}


/* =========================================================
   2. SHARED LAYOUT
========================================================= */

.auth-page,
.dashboard-page {
  min-height: 100vh;
  background: var(--color-page-background);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.home-login-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  align-self: center;
  align-content: center;
  background: var(--matchmaking-color-surface-secondary);
  border-radius: 20px;
  padding: 30px;
  border: 1px solid var(--color-black);
}

.home-login-card p, .home-login-card a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  align-self: center;
  align-content: center;
  margin-bottom: 10px;
}


/* =========================================================
   3. AUTH PAGES
========================================================= */

.auth-page {
  padding: 70px 20px;
}

.auth-card {
  max-width: 520px;
  margin: 0 auto;
  background: var(--color-surface);
  border-radius: 20px;
  padding: 45px 60px;
}

.auth-card form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.auth-card input {
  height: 50px;
  padding: 0 15px;
  border: 1px solid var(--color-black);
  border-radius: 5px;
}

.form-error {
  background: var(--color-error-background);
  color: var(--color-error-text);
  padding: 12px;
  border-radius: 8px;
}

.auth-error-login {
  margin-top: 20px;
  font-size: 14px;
}


/* =========================================================
   4. DASHBOARD LAYOUT
========================================================= */

.dashboard-hero {
  min-height: 520px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}

.dashboard-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      var(--color-hero-fade-start) 76%,
      var(--color-hero-fade-mid) 88%,
      var(--color-page-background) 100%
    );
}

.dashboard-card-wrap {
  width: min(95vw, 1700px);
  margin: -500px auto 0;
  padding: 0 20px 70px;
  position: relative;
  z-index: 2;
}

.dashboard-card {
  background: var(--color-surface);
  border-radius: 20px;
  overflow: hidden;
}

.dashboard-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 560px;
}

.dashboard-sidebar {
  background: var(--color-sidebar-background);
  padding: 35px 25px;
  border-right: 1px solid var(--color-border-light);
}

.dashboard-sidebar h2 {
  margin-top: 0;
  font-size: 22px;
}

.dashboard-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 30px;
}

.dashboard-sidebar a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 700;
  padding: 12px 14px;
  border-radius: 10px;
  transition: 0.2s ease;
}

.dashboard-sidebar a:hover {
  background: var(--color-sidebar-hover);
}

.dashboard-sidebar a.active {
  background: var(--color-primary);
  color: var(--color-surface);
}

.dashboard-content {
  padding: 35px 40px;
}

/* Fancy candidate dashboard */

.candidate-dashboard-header {
  padding: 26px;
  border: 2px solid #000;
  border-radius: 26px;
  background: linear-gradient(135deg, #fff8ec, #ffffff);
  box-shadow: 5px 5px 0 #000;
}

.candidate-dashboard-header h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
}

.candidate-dashboard-header .btn {
  border: 2px solid #000;
  border-radius: 999px;
  box-shadow: 3px 3px 0 #000;
  font-weight: 800;
}

.candidate-overview .dashboard-stat {
  border-radius: 26px;
  background: linear-gradient(135deg, #ffffff, #fff8ec);
  box-shadow: 4px 4px 0 #000;
}

.candidate-overview .dashboard-stat p {
  color: #6b7280;
  font-size: 0.8rem;
}

.candidate-overview .dashboard-stat span {
  color: #111827;
}

.candidate-overview .dashboard-stat .btn {
  border: 2px solid #000;
  border-radius: 999px;
  box-shadow: 2px 2px 0 #000;
  font-weight: 800;
}

.candidate-progress-panel {
  border-radius: 28px;
  background: linear-gradient(135deg, #ffffff, #fff8ec);
  box-shadow: 5px 5px 0 #000;
}

.profile-percentage {
  padding: 12px 18px;
  border: 2px solid #000;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  box-shadow: 3px 3px 0 #000;
}

.profile-progress {
  height: 20px;
  border: 2px solid #000;
  background: #fff;
}

.profile-progress__bar {
  background: linear-gradient(90deg, var(--color-primary), #ffbe55);
}

.profile-data-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.profile-data-item {
  border: 2px solid #000;
  border-radius: 20px;
  background: #fff;
  box-shadow: 3px 3px 0 #000;
}

.profile-data-item strong {
  color: #6b7280;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.profile-data-item span {
  font-weight: 800;
}

.recommended-actions {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.recommended-action {
  border: 2px solid #000;
  border-left: 8px solid var(--color-primary);
  border-radius: 18px;
  background: #fff;
  box-shadow: 3px 3px 0 #000;
}

/* Candidate dashboard fixes */

/* Fix unreadable profile percentage pill */
.profile-percentage {
  color: #ffffff !important;
  background: var(--color-primary);
  min-width: 110px;
  text-align: center;
}

/* Prevent giant numbers from overlapping buttons */
.dashboard-stat-match,
.dashboard-stat-message {
  overflow: hidden;
}

.dashboard-stat-match span,
.dashboard-stat-message span {
  z-index: 0;
  color: #111827;
  opacity: 0.18;
  pointer-events: none;
}

.dashboard-stat-match p,
.dashboard-stat-message p,
.dashboard-stat-match .btn,
.dashboard-stat-message .btn {
  position: relative;
  z-index: 1;
}

/* Tablet/smaller desktop fix */
@media (max-width: 1200px) {
  .dashboard-stat-match span,
  .dashboard-stat-message span {
    font-size: 4.5rem;
    right: 18px;
  }
}

/* Mobile/tablet stacking */
@media (max-width: 900px) {
  .dashboard-stat-match span,
  .dashboard-stat-message span {
    position: static;
    transform: none;
    font-size: 3rem;
    opacity: 1;
  }

  .dashboard-stat-match,
  .dashboard-stat-message {
    overflow: visible;
  }
}

@media (max-width: 900px) {
  .candidate-dashboard-header {
    flex-direction: column;
  }

  .candidate-dashboard-header .btn {
    width: 100%;
  }
}

/* =========================================================
   5. DASHBOARD CARDS / PANELS
========================================================= */

.dashboard-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin: 25px 0;
}

.dashboard-stat {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  position: relative;
  background: var(--color-stat-background);
  border: 2px solid var(--color-black);
  border-radius: 16px;
  padding: 25px;
}

.dashboard-stat p {
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 18px;
}

.dashboard-stat span {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  color: var(--color-primary);
}

.dashboard-stat:not(.dashboard-stat-message):not(.dashboard-stat-match) span {
  font-size: 3.2rem;
  font-weight: 900;
}

.dashboard-stat-match span,
.dashboard-stat-message span {
  position: static;
  transform: none;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 5rem;
  font-weight: 900;
  opacity: 0.9;
}

.dashboard-stat-match .btn,
.dashboard-stat-message .btn {
  width: fit-content;
  margin-top: 14px;
}

.dashboard-panel {
  background: var(--color-panel-background);
  border: 2px solid var(--color-black);
  border-radius: 16px;
  padding: 22px;
  margin-top: 25px;
  margin-bottom: 15px;
}

.panel-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.action-list {
  margin: 0;
  padding-left: 18px;
}

.ai-match-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
}

.match-actions {
  display: flex;
  gap: 10px;
}

.activity-list{
    display:flex;
    flex-direction:column;
    gap:5px;
}

.activity-card{
    background:#fff;
    border:1px solid #ddd;
    border-left:5px solid var(--color-primary);
    border-radius:8px;
    padding:3px;
}

.activity-header{
    display:flex;
    justify-content:space-between;
    margin-bottom:8px;
    font-weight:600;
}

.activity-body{
    color:#555;
}

.dashboard-activity-panel
{
    height: 420px;
    max-height: 420px;
    overflow-y: auto;
    padding-right: 8px;
}

.dashboard-activity-panel::-webkit-scrollbar
{
    width: 8px;
}

.dashboard-activity-panel::-webkit-scrollbar-thumb
{
    background: #c5c5c5;
    border-radius: 4px;
}

.dashboard-activity-panel
{
    max-height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 8px;
}

.admin-log-table-wrap,
.dashboard-activity-panel {
    max-height: 500px;
    overflow-y: auto;
}

.dashboard-stat-pipeline {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pipeline-stats {
    display: grid;
    gap: 10px;
}

.pipeline-stats div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.pipeline-stats strong {
    font-size: 0.95rem;
}

.pipeline-stats span {
    font-size: 1.8rem !important;
    font-weight: 900;
    color: var(--color-primary);
}

/* =========================================================
   6. CANDIDATE DASHBOARD
========================================================= */

.candidate-dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.dashboard-kicker {
  margin: 0 0 6px;
  color: var(--color-primary);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.8rem;
}

.dashboard-subtitle {
  margin: 6px 0 0;
  color: var(--color-muted-text);
}

.candidate-overview .dashboard-stat {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.availability-card span {
  font-size: 7rem !important;
  font-weight: 900;
  line-height: 1;
}

.profile-percentage {
  font-size: 2.4rem;
  color: var(--color-primary);
}

.profile-progress {
  width: 100%;
  height: 14px;
  background: #e5e5e5;
  border-radius: 999px;
  overflow: hidden;
  margin: 18px 0;
}

.profile-progress__bar {
  height: 100%;
  background: var(--color-primary);
}

.profile-warning {
  color: var(--color-warning-text);
  font-weight: 700;
}

.profile-success {
  color: var(--color-success-text);
  font-weight: 700;
}

.profile-data-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.profile-data-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: 14px;
  padding: 14px 16px;
}

.profile-data-item strong {
  display: block;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.recommended-actions {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.recommended-action {
  background: var(--color-surface);
  border-left: 5px solid var(--color-primary);
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 700;
}


/* =========================================================
   7. PROFILE CARDS
========================================================= */

.profile-card,
.candidate-view-card {
  max-width: 1100px;
  background: var(--color-surface);
  border: 2px solid var(--color-text);
  border-radius: 22px;
  overflow: hidden;
}

.candidate-view-card {
  box-shadow: 0 18px 35px var(--color-shadow);
}

.profile-id-header,
.candidate-view-header {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: var(--color-surface);
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.profile-id-header h2,
.candidate-view-header h2 {
  margin: 0;
  font-size: 30px;
}

.profile-id-badge,
.candidate-view-badge {
  background: var(--color-white-transparent-15);
  border: 1px solid var(--color-white-transparent-25);
  color: var(--color-surface);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 800;
}

.profile-id-body {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 26px;
  padding: 32px;
}

.candidate-view-body {
  padding: 28px;
}

.profile-avatar {
  width: 140px;
  height: 160px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: var(--color-surface);
  font-size: 58px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-id-info h3 {
  margin: 0 0 6px;
  font-size: 30px;
}

.profile-role,
.candidate-view-role {
  margin-top: 6px;
  font-weight: 800;
  color: var(--color-primary);
}

.candidate-view-role {
  color: var(--color-surface);
  opacity: 0.9;
}

.profile-id-grid,
.candidate-view-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 16px;
}

.profile-id-item,
.candidate-view-item {
  background: var(--color-card-background);
  border-radius: 14px;
  padding: 14px;
}

.profile-id-item strong,
.candidate-view-item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--color-primary);
  font-size: 13px;
}

.profile-id-section,
.candidate-view-section {
  padding: 24px 32px;
  border-top: 1px solid var(--color-border-light);
}

.candidate-view-section {
  margin-top: 15px;
  border-top: 0;
  border-bottom: 1px solid #d9d9d9;
}

.profile-id-section h3,
.candidate-view-section h3 {
  margin: 0 0 12px;
  color: var(--color-primary);
}

.candidate-view-section p {
  margin: 0;
  line-height: 1.7;
}

.profile-actions,
.candidate-view-actions {
  padding: 20px 26px 26px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.candidate-view-actions {
  padding: 0;
  margin-top: 15px;
}


/* =========================================================
   8. PROFILE FORMS
========================================================= */

.profile-form {
  max-width: 860px;
  background: var(--color-surface);
  border: 2px solid var(--color-text);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 35px var(--color-shadow);
}

.profile-form::before {
  content: "GALILEO MATCHMAKING  •  KANDIDAAT PROFIEL";
  display: block;
  background: var(--color-primary);
  color: var(--color-surface);
  padding: 16px 24px;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.profile-form .dashboard-panel {
  border: 0;
  border-bottom: 1px solid var(--color-border-light);
  border-radius: 0;
  margin: 0;
  padding: 24px;
}

.profile-form .dashboard-panel h2 {
  margin-top: 0;
  color: var(--color-primary);
}

.profile-form label {
  display: block;
  margin-top: 14px;
  margin-bottom: 6px;
  font-weight: 800;
  color: #333;
}

.profile-form input,
.profile-form select,
.profile-form textarea,
.dashboard-panel textarea {
  width: 100%;
  border: 1px solid var(--color-border-medium);
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
  background: var(--color-input-background);
}

.profile-form input:focus,
.profile-form select:focus,
.profile-form textarea:focus,
.dashboard-panel textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: var(--color-surface);
}

.profile-form > button,
.profile-form > a {
  margin: 22px 0 24px 24px;
}

.profile-form > a {
  margin-left: 10px;
}


/* =========================================================
   9. SKILLS
========================================================= */

.skills-list {
  display: grid;
  gap: 1.5rem;
}

.skill-category {
  padding: 1rem;
  border: 1px solid var(--color-border-light);
  border-radius: 12px;
}

.skill-category h4 {
  margin-bottom: 0.75rem;
}

.skill-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
  cursor: pointer;
}

.skill-option input {
  width: auto;
  margin: 0;
}

.skill-chip-list,
.skills-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: flex-start;
}

.skill-chip,
.skill-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  max-width: 100%;
  white-space: nowrap;
  flex: 0 0 auto;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--color-primary);
  color: var(--color-surface);
  font-size: 0.9rem;
  font-weight: 600;
}

.skill-tag {
  background: var(--color-page-background);
  color: var(--color-text);
  padding: 8px 12px;
  font-weight: 800;
}

.skill-category-view {
  display: block;
  width: 100%;
  margin-bottom: 1.5rem;
}

.skill-category-view h4 {
  margin-bottom: 0.75rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid #d9d9d9;
  font-weight: 800;
  font-size: 2rem;
}

.skill-category-list {
  display: block;
}


/* Star rating */
.star-rating {
  display: flex;
  gap: 0.2rem;
}

.star-btn {
  border: none;
  background: none;
  cursor: pointer;
  font-size: 1.4rem;
  color: var(--color-border-medium);
}

.star-btn.active {
  color: var(--color-page-background);
}

.star-rating.disabled {
  opacity: 0.35;
  pointer-events: none;
}

.skill-chip-stars {
  margin-left: 0.4rem;
}

.star-filled {
  color: #f5b301;
}

.star-empty {
  color: #ccc;
}


/* =========================================================
   10. PROFILE PICTURE
========================================================= */

.candidate-view-user {
  display: flex;
  align-items: center;
  gap: 18px;
}

.candidate-profile-picture,
.candidate-profile-placeholder {
  width: 78px;
  height: 78px;
  border-radius: 18px;
  flex-shrink: 0;
}

.candidate-profile-picture {
  object-fit: cover;
  background: var(--color-white-transparent-15);
  border: 2px solid var(--color-white-transparent-25);
}

.candidate-profile-placeholder {
  border: 2px dashed var(--color-white-transparent-45);
  background: var(--color-white-transparent-08);
  position: relative;
}

.candidate-profile-placeholder::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-page-background);
}

.candidate-profile-placeholder::after {
  content: "";
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 42px;
  height: 24px;
  border-radius: 30px 30px 20px 20px;
  background: var(--color-page-background);
}


/* =========================================================
   11. ACCESS DENIED
========================================================= */

.access-denied-content {
  text-align: center;
}

.access-denied-content .dashboard-panel {
  max-width: 700px;
  margin: 0 auto 2rem auto;
}

.access-denied-content .matchmaking-actions {
  justify-content: center;
}

.denied-dashboard-hero {
  min-height: 450px;
  width: 100%;
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}


/* =========================================================
   12. MESSAGES
========================================================= */

.message-compose-panel {
    margin-bottom: 1rem;
}

.message-compose-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.message-compose-form textarea {
    width: 100%;
    resize: vertical;
    min-height: 120px;
}

.message-compose-form button {
    align-self: flex-start;
}

.message-history-panel {
    padding: 0;
}

.conversation-message-list {
    max-height: 600px;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message-item {
    width: auto;
    max-width: 75%;
    padding: 1rem;
    border-radius: 12px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.message-candidate {
    align-self: flex-start;
    background: #025d6d7a;
    text-align: left;
    border-left: 4px solid #025d6d;
}

.message-matchmaker {
    align-self: flex-end;
    background: #cfa9017c;
    text-align: right;
    border-right: 4px solid #cfa901;
}

.message-content {
    white-space: pre-line;
    text-align: left;
    margin-top: 8px;
    line-height: 1.5;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.message-item small {
    display: block;
    margin-top: 12px;
}

/* ==========================================================
BONUS: Import Loading Screen
===========================================================*/

.vacancy-import-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

#importButton {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
}

#importButton .button-spinner {
    width: 14px;
    height: 14px;
    min-width: 14px;
    flex: 0 0 14px;

    border: 2px solid rgba(255, 255, 255, 0.45);
    border-top-color: #ffffff;
    border-radius: 50%;

    animation: import-button-spin 0.8s linear infinite;
}

@keyframes import-button-spin {
    to {
        transform: rotate(360deg);
    }
}


/* =========================================================
   13. RESPONSIVE
========================================================= */

@media (max-width: 900px) {
  .dashboard-overview,
  .profile-data-grid,
  .profile-id-grid,
  .candidate-view-grid {
    grid-template-columns: 1fr;
  }

  .candidate-dashboard-header,
  .panel-heading-row,
  .candidate-view-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .dashboard-stat-match span,
  .dashboard-stat-message span {
    position: static;
    transform: none;
    font-size: 5rem;
  }
}

/* Small mobile */

@media (max-width: 767px) {
  .dashboard-shell {
    display: flex !important;
    flex-direction: column !important;
  }

  .dashboard-content {
    width: 100% !important;
    min-width: 0 !important;
    padding: 16px !important;
  }
}

/* ToDo: Refractor CSS */
/* Fix match/message stat number layout */

.dashboard-stat-match,
.dashboard-stat-message {
  display: grid !important;
  grid-template-rows: auto 1fr auto;
  min-height: 190px;
  overflow: hidden;
}

.dashboard-stat-match p,
.dashboard-stat-message p {
  position: relative;
  z-index: 2;
  max-width: 100%;
}

.dashboard-stat-match span,
.dashboard-stat-message span {
  position: absolute !important;
  right: 20px;
  bottom: 12px;
  top: auto !important;
  transform: none !important;
  font-size: clamp(4rem, 8vw, 6rem) !important;
  line-height: 1;
  opacity: 0.75;
  z-index: 0;
}

.dashboard-stat-match .btn,
.dashboard-stat-message .btn {
  position: relative;
  z-index: 2;
  width: fit-content;
  align-self: end;
}