
:root {
  --primary: #235C54;
  --primary-dark: #1C4A43;
  --white: #FFFFFF;
  --gray-light: #D9D9D9;
  --accent: #A3DCD4;
  --black: #000000;
}


/* typography classes */
/* Font Family */
.font-hanken {
  font-family: "Hanken Grotesk", sans-serif;
}

/* Font Weights */
.fw-700 { font-weight: 700; }
.fw-500 { font-weight: 500; }
.fw-300 { font-weight: 300; }

/* Font Size + Line Height (in em) + Letter Spacing */
.fs-48 { 
  font-size: 48px; 
  line-height: 0.67em; /* 32 / 48 */
  letter-spacing: -0.02em;
}

.fs-32 { 
  font-size: 32px; 
  line-height: 1em; /* 32 / 32 */
  letter-spacing: -0.02em;
}

.fs-24 { 
  font-size: 24px; 
  line-height: 1.17em; /* 28 / 24 */
  letter-spacing: -0.02em;
}

.fs-20 { 
  font-size: 20px; 
  line-height: 1.4em; /* 28 / 20 */
  letter-spacing: -0.02em;
}

.fs-16 { 
  font-size: 16px; 
  line-height: 1.5em; /* 24 / 16 */
  letter-spacing: -0.02em;
}

.fs-14 { 
  font-size: 14px; 
  line-height: 1.36em; /* 19 / 14 */
  letter-spacing: -0.02em;
}

/* Text Alignment */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Text Colors */
.text-color-accent { color: var(--accent) }
.text-color-primary { color: var(--primary) }
.text-color-white { color: var(--white) }
.text-color-black { color: var(--black) }

/* common classes */
.d-flex {
    display: flex;
}
.flex-wrap {
    flex-wrap: wrap;
}
.flex-grow {
    flex-grow: 1;
}
.flex-column {
    flex-direction: column;
}
.justify-content-between {
    justify-content: space-between;
}
.align-items-center {
    align-items: center;
}
.gap-10 {
    gap: 10px;
}
.gap-12 {
    gap: 12px;
}
.gap-20 {
    gap: 20px;
}
.gap-24{
    gap: 24px;
}
.w-100 {
    width: 100%;
}
.w-60 {
    width: 60%;
}
.w-50 {
    width: 50%;
}
.w-40{
    width: 40%;
}
.w-30{
    width: 30%;
}
.w-20{
    width: 20%;
}
.w-25{
    width: 25%;
}
.pb-16{
    padding-bottom: 16px;
}
.pb-10{
    padding-bottom: 10px;
}
.py-12{
    padding-top: 12px;
    padding-bottom: 12px;
}
.px-12{
    padding-left: 12px;
    padding-right: 12px;
}
.border-bottom{
    border-bottom: 1px solid var(--gray-light);
}
p {
    margin: 0;
}
.status_btn {
    padding: 2px 20px;
    background: var(--gray-light);
    border-radius: 30px;
    width: fit-content;
    color: #2D2D2D;
}
.status_btn.dark{
    background: var(--primary-dark);
    color: var(--white);
}

.loader{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
/* common classes */



main.wp-block-group {
    position: static !important;
    background: var(--white);
    padding: 20px;
    transform: unset !important;
    min-height: calc( 100vh - 93px);
}
.entry-content.wp-block-post-content {
    all: unset !important;
}
header.wp-block-template-part {
    background: #1a3833;
}
.cd-dashboard {
    width: 100%;
    max-width: 100%;
    font-family: "Hanken Grotesk", sans-serif;
    font-weight: 500;
}

.select-filter {
    padding: 10px 30px 10px 10px;
    border: 1px solid var(--gray-light);
     appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><path d='M5.84009 9.59L11.5001 15.25L17.1601 9.59L16.4501 8.89L11.5001 13.84L6.55009 8.89L5.84009 9.59Z' fill='%23000000'/></svg>");
  background-repeat: no-repeat;
  background-position: right 4px center; /* move arrow */
  background-size: 24px;
  color: var(--black);
}
.select-filter:focus {
    outline: none;
    border: 1px solid var(--primary-dark);
}
.cd-boxes {
    position: relative;
    overflow: auto;
}

.cd-box {
    padding: 10px;
    background-color: var(--primary);
    border: 1px solid var(--primary-dark);
    color: var(--white);
    min-width: 280px;
}


.chart-box{
    padding: 20px;
    border: 1px solid var(--gray-light);
}
.chart-height{
    height: 300px;
}


/* offer dashboard */
.cd-offers {
    max-width: 100%;
}

.search-filter {
    background: transparent !important;
    padding: 10px 30px 10px 10px !important;
    border: 1px solid var(--gray-light) !important;
    border-radius: 0px !important;
    width: -webkit-fill-available !important;
}
.cd-offers .search-filter, .cd-offers .search-filter::placeholder, .cd-members .search-filter, .cd-members .search-filter::placeholder{
    color: var(--black) !important;
}
.cd-offers .search-filter:focus, .cd-members .search-filter:focus{
    outline: none !important;
    border: 1px solid var(--primary-dark) !important;
}


/* member dashboard */

.cd-members{
max-width: 100%;

}
@media screen and (max-width: 767px) {

    .flex-m-column{
        flex-direction: column;
    }
    .gap-m-16{
        gap: 16px;
    }
    .gap-m-8{
        gap: 8px;
    }
    .w-m-100 {
        width: 100%;
    }
    .w-m-auto {
        width: auto;
    }

    .fs-m-20 {
        font-size: 20px;
    }

    .fs-m-16 {
        font-size: 16px;
    }

    /* Dashboard  */
    main.wp-block-group {
    padding: 16px;
}
/* Offers */
#cd_offer_table, #cd_members_table {
    position: relative;
    overflow: auto;
}
#cd_offer_table table, #cd_members_table table {
   min-width: 700px;
}

}