/* Issuer Profile */
:root {
  /* Utility Colors */
  --white: #fff;
  --gray-10: #fafbfc;
  --gray-20: #e6e8ec;
  --gray-30: #d1d5db;
  --gray-40: #bdc2c7;
  --gray-50: #a2a6ac;
  --gray-60: #888d93;
  --gray-70: #6e717a;
  --gray-80: #55595c;
  --gray-90: #3c4043;
  --gray-100: #26292c;

  /* Brand Colors */
  --primary-05: #eaeff4;
  --primary-10: #bfcddc;
  --primary-20: #a0b4cb;
  --primary-30: #7592b4;
  --primary-40: #5a7da5;
  --primary-50: #315d8f;
  --primary-60: #2d5582;
  --primary-70: #234266;
  --primary-80: #1b334f;
  --primary-90: #15273c;
  --primary-100: #0c1823;
}

@font-face {
  font-family: "Selawik";
  src: url("/fancyportal/assets/fonts/selawk.ttf") format("truetype"); /* Regular */
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Selawik";
  src: url("/fancyportal/assets/fonts/selawkb.ttf") format("truetype"); /* Bold */
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Selawik";
  src: url("/fancyportal/assets/fonts/selawkl.ttf") format("truetype"); /* Light */
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Selawik";
  src: url("/fancyportal/assets/fonts/selawksb.ttf") format("truetype"); /* Semi-Bold */
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Selawik";
  src: url("/fancyportal/assets/fonts/selawksl.ttf") format("truetype"); /* Semi-Light */
  font-weight: 400;
  font-style: italic;
}

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* End of Reset */

body {
  font-family: "Selawik", sans-serif;
}

table {
  width: 100%;
}

th,
td {
  padding: 16px;
  border-bottom: 1px solid var(--gray-20);
}

th {
  background-color: var(--gray-10);
  text-align: left;
  position: sticky;
  top: 0;
}

input[type="text"] {
  font-size: 16px;
  flex-grow: 1;
  padding: 12px 16px;
  border: 1px solid var(--gray-20);
  border-radius: 4px;
}

input[type="text"]::placeholder {
  color: var(--gray-40);
}

input[type="text"]:focus-visible {
  outline: 2px solid var(--primary-50);
}

.app {
  display: flex;
  flex-direction: column;
  height: 100vh;
  background: var(--gray-10);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid var(--gray-20);
  background: var(--white);
  flex-basis: 80px;
}

.logo {
  width: 130px;
}

.nav-items {
  display: flex;
  align-items: center;
  gap: 16px;
}

.avatar {
  display: grid;
  place-items: center;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  background: var(--gray-20);
  font-weight: 600;
}

.main-wrapper {
  display: flex;
  flex-grow: 1;
  max-height: calc(100vh - 80px);
}

.sidebar {
  display: none;
  width: 250px;
  padding: 32px 24px;
  border-right: 1px solid var(--gray-20);
  background: var(--white);
}

.sidebar .sidebar-footer {
  display: flex;
  flex-direction: column;
  gap:8px;
}

.sidebar .sidebar-footer img {
  width: 150px;
}

.main-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 6px;
}

.menu-item.active {
  background: var(--primary-50);
  color: var(--white);
}

.main-content {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px;
  flex-grow: 1;
  overflow: auto;
}

.top-section {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.welcome-message {
  font-size: 32px;
  font-weight: 600;
}

.mid-section {
  display: flex;
  gap: 24px;
  flex: 1;
  flex-direction: column;
}

.bottom-section {
  display: flex;
  flex: 1;
  overflow: hidden;
  min-height: 400px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: white;
  flex: 1;
  border: 1px solid var(--gray-20);
  border-radius: 8px;
  padding: 24px;
  min-width: 300px;
  height: 100%;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-title {
  font-size: 20px;
  line-height: 1.5;
}

.btn {
  padding: 12px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background-color: var(--primary-50);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-40);
}

.btn-primary:active {
  background-color: var(--primary-50);
}

.btn-primary:disabled {
  background-color: var(--primary-20);
}

.btn-secondary {
  background-color: var(--gray-20);
  padding: 12px 10px;
}

.btn-secondary:hover:not([disabled]) {
  background-color: var(--gray-30);
}

.btn-secondary:active:not([disabled]) {
  background-color: var(--gray-20);
}

.btn-ghost {
  all: unset;
  cursor: pointer;
}

.btn-group {
  display: flex;
  gap: 8px;
}

.cc-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--gray-20);
  border-radius: 8px;
  flex-grow: 1;
  background-color: var(--gray-10);
  overflow: auto;
}

.cc-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.cc-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cc-image {
  display: grid;
  place-items: center;
  min-width: 80px;
  height: 50px;
  background-color: var(--primary-30);
  border-radius: 4px;
}

.cc-image img {
  width:60px;
}

.flow-chart {
  border: 1px solid var(--gray-20);
  border-radius: 8px;
  flex: 1;
  background-color: var(--gray-10);
  overflow: hidden;
}

.flow-chart .area {
  --color-1: var(--primary-30);
  display: flex;
  justify-content: end;
}

.flow-card {
  justify-content: space-between;
}

.table-wrapper {
  overflow: auto;
  border: 1px solid var(--gray-20);
}

.modal-overlay {
  display: grid;
  place-items: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.2);
}

.modal-overlay.hide {
  display: none;
}

.modal {
  width: 80%;
  max-width: 400px;
  height: max-content;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--gray-20);
}

.modal form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}



/* Landscape phones and down */
@media (min-width: 575px) {
}

/* Portrait phones and down */
@media (min-width: 767px) {
}

/* Landscape tablets and small desktops */
@media (min-width: 576px) and (max-width: 767px) {
}

/* Portrait tablets and small desktops */
@media (min-width: 768px) and (max-width: 991px) {
}

/* Tablets */
@media (min-width: 991px) {
  .sidebar {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .top-section {
    align-items: center;
    flex-direction: row;
  }

  .mid-section {
    max-height: 400px;
    flex-direction: row;
  }

  .card-number {
    font-size: 20px;
  }
}

/* Desktops and laptops */
@media (min-width: 992px) and (max-width: 1199px) {
}

/* Large desktops */
@media (min-width: 1200px) {
}
