/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

body {
  background: #f5f7fb;
}

/* LAYOUT */
.layout {
  display: flex;
  min-height: 100vh;
}

/* SIDEBAR */
.sidebar {
  width: 250px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border-right: 1px solid #eee;
}
.logo-section {
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
}

/* MENU */
.menu {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: none;
  background: #eef2ff;
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu.active {
  background: #5b6cff;
  color: white;
}

/* PROFILE */
/* .profile {
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 5px;
  background-color: #f4f5f8;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
} */

.profile p {
  font-size: 14px;
  font-weight: 600;
}

.profile span {
  font-size: 12px;
  color: gray;
}

/* THEME */
.theme-toggle {
  display: flex;
  justify-content: space-between;
}

.theme-toggle button {
  flex: 1;
  padding: 8px;
  margin: 2px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

/* MAIN */
.main {
  flex: 1;
  display: flex;
  margin: 14px 20px;
  flex-direction: column;
}

/* HEADER */
.header {
  height: 62px;
  background: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  box-shadow: 0px 0px 10px #a19d9d4d;
  border-radius: 6px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  -ms-border-radius: 6px;
  -o-border-radius: 6px;
}

/* .header img {
  border-radius: 50%;
} */

/* CONTENT */
.content {
  flex: 1;
  padding: 20px;
  background-color: #ffffff;
  padding: 10px 20px;
  margin-top: 15px;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
}

/* FOOTER */
.footer {
  height: 50px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid #eee;
  font-size: 14px;
}
.logo-icon {
  width: 25px;
}
/* .profile {
  display: flex;
  gap: 10px;
  align-items: flex-start;
} */

.profile__info {
  display: flex;
  gap: 10px;
  align-items: center;
}

.name {
  font-size: 14px;
  font-weight: 600;
}

.role {
  font-size: 12px;
  color: #6b7280;
}

.email {
  font-size: 12px;
  color: #9ca3af;
  margin-top: 4px;
}
.user-email {
  margin-top: 10px;
}
.user-email h4 {
  font-size: 12px;
  color: #727273;
}
.user-email p {
  font-size: 14px;
  color: #44424d;
}
/* Top Section */
.content__top {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 60px;
}

/* Dropdown */
.dropdown {
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #fff;
  font-size: 14px;
  cursor: pointer;
  width: 200px;
  outline: none;
}

/* Search */
.search-box {
  position: relative;
}

.search-box input {
  padding: 10px 10px 10px 35px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  outline: none;
  font-size: 14px;
  width: 220px;
}

.search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: #9ca3af;
}

/* Empty State */
.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 60vh;
}

.empty img {
  width: 200px;
  margin-bottom: 20px;
  opacity: 0.9;
}

.empty h3 {
  margin-bottom: 20px;
  font-weight: 500;
}

/* Button */
.btn-primary {
  background: #5b6cff;
  color: white;
  border: none;
  padding: 10px 22px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #4a5af5;
}

/* main css */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

body {
  background: #f5f6fa;
}

.app {
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.sidebar {
  width: 260px;
  background: #fff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.logo {
  font-weight: 600;
  margin-bottom: 20px;
  color: #00002b;
  font-size: 17.13px;
}

.menu {
  width: 100%;
  padding: 12px;
  border: none;
  background: transparent;
  text-align: left;
  border-radius: 8px;
  cursor: pointer;
}

.menu.active {
  /* background: #4c6ef5; */
  background: linear-gradient(239.27deg, #8ba6ff -27.06%, #3762ee 83.4%);
  color: white;
  font-size: 15px;
}

/* Profile Card */
.profile-card {
  background: #f1f3f5;
  padding: 15px;
  border-radius: 10px;
}

.profile-info {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Main */
.main {
  flex: 1;
  padding: 20px;
}

/* Header */
/* .header {
  display: flex;
  justify-content: space-between;
  align-items: center;
} */

.profile {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Filters */
.filters {
  display: flex;
  gap: 10px;
  margin: 20px 0;
}

.dropdown,
.search {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
}

/* Empty State */
.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 60vh;
}

.empty img {
  width: 200px;
  opacity: 0.6;
}

.btn-primary {
  margin-top: 20px;
  padding: 10px 20px;
  background: #4c6ef5;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.breadcrumb {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  color: #6e6b7b;
}

.theme-toggle {
  display: flex;
  background: #f4f5f8;
  padding: 4px;
  border-radius: 35px;
  gap: 5px;
  margin-top: 10px;
}

.theme-btn {
  flex: 1;
  border: none;
  background: transparent;
  padding: 8px 12px;
  border-radius: 30px;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  transition: 0.3s;
}

.theme-btn img {
  width: 16px;
}

.theme-btn.active {
  background: white;
  border-radius: 50px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Dark Theme */
body.dark-mode {
  background: #1e1e2f;
  color: white;
}

/* modal css */

/* Modal base */

.modal {
  position: fixed;
  inset: 0;
  display: none;
}

.modal.show {
  display: block;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

/* Box */
.modal-box {
  position: relative;
  width: 90%;
  max-width: 700px;
  margin: 50px auto;
  background: #fff;
  border-radius: 12px;
  z-index: 2;
  overflow: hidden;
}

/* Header */
.modal-header {
  display: flex;
  justify-content: space-between;
  padding: 20px 20px 20px 50px;
  background: #f8f8f8;
}

.modal-header h2 {
  font-size: 18px;
  color: #5e5873;
  font-weight: 400;
  margin-bottom: 5px;
}

.modal-header p {
  font-size: 14px;
  color: #5e5873;
  font-weight: 400;
}

.close-btn {
  cursor: pointer;
  font-size: 18px;
}

/* Body */
.modal-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.card-content {
  width: 80%;
  display: flex;
  align-items: baseline;
  gap: 15px;
}

.card-left {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

/* Radio */
.radio-ui {
  width: 18px;
  height: 18px;
  border: 2px solid #bbb;
  border-radius: 50%;
  position: relative;
  margin-top: 4px;
}

.radio-ui::after {
  content: "";
  width: 10px;
  height: 10px;
  background: #4c6ef5;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: 0.2s;
}
.workflow-card {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border: 1px solid #ebe9f1;
  padding: 10px;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}

/* Active */
.workflow-card.active {
  border: 1px solid #cfdafe;
  background: #f6f8ff;
}

.workflow-card.active .radio-ui {
  border-color: #cfdafe;
}

.workflow-card.active .radio-ui::after {
  transform: translate(-50%, -50%) scale(1);
}

/* Tag */
.tag {
  background: #28c76f1f;
  color: #28c76f;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 12px;
  margin-left: 8px;
  font-weight: 500;
}
/* Footer */
.modal-footer {
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  gap: 10px;
  padding: 15px;
  background: #f7f7fb;
}

.btn-secondary {
  background: #e8e8e8;
  border: none;
  padding: 10px 22px;
  border-radius: 6px;
  cursor: pointer;
  color: #9692a4;
}

.btn-primary1 {
  background: linear-gradient(239.27deg, #8ba6ff -27.06%, #3762ee 83.4%);
  color: white;
  border: none;
  padding: 10px 22px;
  border-radius: 6px;
  cursor: pointer;
}

.text ul {
  display: inline-flex;
  color: #5e5873;
  font-size: 14px;
  gap: 30px;
}
.text ul ::marker {
  font-size: 20px;
  color: #b1b1b1;
}
.text h3 {
  color: #5e5873;
  font-size: 14px;
  font-weight: 700;
}
.text p {
  color: #5e5873;
  font-size: 14px;
  margin: 10px 0;
  font-weight: 100;
}
input[type="radio"] {
  width: 18px;
  height: 18px;
}
button#closeModal {
  cursor: pointer;
  border: navajowhite;
  background: no-repeat;
}

/* advance component */
/* STEP BAR */
.steps {
  display: flex;
  align-items: center;
  gap: 35px;
  background: #fff;
  padding: 12px 16px;
  border-radius: 5px;
  overflow-x: auto;
  border: 1px solid #ebe9f1;
}

.step {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #5e5873;
  font-size: 15px;
}

.step.active {
  color: #2563eb;
}

.step-box {
  width: 32px;
  height: 32px;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.step.active .step-box {
  background: #2563eb;
  color: #fff;
}

.arrow {
  font-size: 18px;
  color: #aaa;
}

/* CARD SECTION */
.container {
  margin-top: 20px;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
}

/* HEADER */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  border-radius: 5px;
  border: 1px solid #e7edf6;
  padding: 10px 15px;
}

.section-header h3 {
  font-size: 14px;
  font-weight: 400;
  color: #444050;
}

.section-header span {
  font-size: 20px;
}

/* CARDS */
.cards {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.card {
  flex: 1;
  min-width: 200px;
  background-color: #f9fbff;
  padding: 16px;
  border-radius: 5px;
  /* border: 1px solid #EAEFFF; */
  border: 1px solid #eaefff;
  cursor: pointer;
  transition: 0.3s;
}

.card:hover {
  border-color: #eaefff;
}

.card.active {
  /* border-color: #2563eb; */
  background: #f9fbff;
}

.card h4 {
  margin-top: 10px;
  font-size: 14px;
  color: #5e5873;
  font-weight: 500;
}

.card p {
  font-size: 12px;
  color: #5e5873;
  margin-top: 5px;
}

/* NEXT BUTTON */
.footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 30px;
}

.next-btn {
  background: #2563eb;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
}
.card.cards-hidden {
  visibility: hidden;
}
/* RESPONSIVE */
