html,
body {
    color: black;
}

.main-content {
    background: var(--color-light);
}

.sidebar-container {
    z-index: 40;

    /* TODO: animation not working */
    transition: left 0.7s ease;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    padding-right: 0;
    border-right-width: 0px;
    /* border-left-width: 1px; */
    width: 16rem;
}

.sidebar-item {
    display: flex;
    color: black;
    border-radius: 0.375rem;
    height: 2.5rem;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 0;
    padding-bottom: 0;
    text-align: start;
    width: 100%;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.1rem;
}

.sidebar-item:hover {
    background-color: var(--color-zinc-100);
}

.sidebar-item > div {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
}

.sidebar-item-active {
    color: var(--color-primary);
    background: var(--color-primary-light);
}

.card-container {
    flex-grow: 1;
    background: white;
    border-radius: 10px;
    padding: 20px;
}

.container-wrapper {
    padding: 20px;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 12px 12px 50px rgba(0, 0, 0, 0.11);

    @media (max-width: 768px) {
        margin: 0;
    }
}

.outer-container {
    padding: 1rem;

    @media (max-width: 1024px) {
        padding: 0;
    }
}

.shadow-lg {
    box-shadow: 12px 12px 50px rgba(0, 0, 0, 0.11);
}

.shadow-md {
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.shadow-none {
    box-shadow: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    margin-bottom: 1rem;
    font-family: inherit;
    font-weight: 500;
    line-height: 1.2;
    color: inherit;
}

h1,
.h1 {
    font-size: 2.7rem;
}

h2,
.h2 {
    font-size: 2.3rem;
}

h3,
.h3 {
    font-size: 1.35rem;
}

h4,
.h4 {
    font-size: 1.1rem;
}

h5,
.h5 {
    font-size: 1.25rem;
}

h6,
.h6 {
    font-size: 1rem;
}

.btn {
    border-radius: 4px;
    padding: 0.375rem 1.25rem;
    color: white;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    line-height: 1rem;
    border-width: 1px;
    border-style: solid;
    text-decoration: none;
    border-image: initial;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    padding: 0.6rem 1.25rem;
    font-size: 1.2rem;
    font-family: Source Sans Pro, Roboto, Helvetica Neue, Arial, sans-serif,
        Apple Color Emoji, Segoe UI, Segoe UI Emoji, Segoe UI Symbol,
        Noto Color Emoji;
    transition: color 0.15s ease-in-out 0s,
        background-color 0.15s ease-in-out 0s, border-color 0.15s ease-in-out 0s,
        box-shadow 0.15s ease-in-out 0s;
}

.btn:disabled {
    opacity: 0.65;
    pointer-events: none;
}

.btn-base {
    color: black;
    background: #d9d9d9;
    border-color: #d9d9d9;
}

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

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

.btn-primary-light {
    background: var(--color-primary-light);
    background-color: var(--color-primary-light);
    border-color: var(--color-primary-light);
    color: black;
}

.btn-secondary {
    background: var(--color-secondary);
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
}

.btn-secondary-inverse {
    color: var(--color-secondary);
    background: var(--color-white);
    background-color: var(--color-white);
    border-color: var(--color-secondary);
}

.btn-secondary-light {
    background: var(--color-secondary-light);
    background-color: var(--color-secondary-light);
    border-color: var(--color-secondary-light);
    color: var(--color-secondary);
}

.btn-success {
    background: var(--color-success);
    background-color: var(--color-success);
    border-color: var(--color-success);
}

.btn-success-inverse {
    color: var(--color-success);
    background: var(--color-white);
    background-color: var(--color-white);
    border-color: var(--color-success);
}

.btn-warning {
    background: var(--color-warning);
    background-color: var(--color-warning);
    border-color: var(--color-warning);
}

.btn-warning-inverse {
    color: var(--color-warning);
    background: var(--color-white);
    background-color: var(--color-white);
    border-color: var(--color-warning);
}

.btn-danger {
    background: var(--color-danger);
    background-color: var(--color-danger);
    border-color: var(--color-danger);
}

.btn-danger-inverse {
    color: var(--color-danger);
    background: var(--color-white);
    background-color: var(--color-white);
    border-color: var(--color-danger);
}

.btn-info {
    background: var(--color-info);
    background-color: var(--color-info);
    border-color: var(--color-info);
}

.btn-info-inverse {
    color: var(--color-info);
    background: var(--color-white);
    background-color: var(--color-white);
    border-color: var(--color-info);
}

.btn-light {
    background: var(--color-light);
    background-color: var(--color-light);
    border-color: var(--color-light);
}

.btn-dark {
    background: var(--color-dark);
    background-color: var(--color-dark);
    border-color: var(--color-dark);
}

.btn-edit {
    height: max-content;
    padding: 0.25rem 0.5rem !important;
    font-weight: bold !important;
    font-size: 0.825rem !important;
}

.btn:hover {
    background: var(--color-white) !important;
    background-color: var(--color-white) !important;
}

.btn-primary:hover {
    color: var(--color-primary) !important;
}

.btn-primary-inverse:hover {
    color: var(--color-white) !important;
    background: var(--color-primary) !important;
    background-color: var(--color-primary) !important;
}

.btn-secondary:hover {
    color: var(--color-secondary) !important;
}

.btn-secondary-inverse:hover {
    color: var(--color-white) !important;
    background: var(--color-secondary) !important;
    background-color: var(--color-secondary) !important;
}

.btn-danger:hover {
    color: var(--color-danger) !important;
}

.btn-danger-inverse:hover {
    color: var(--color-white) !important;
    background: var(--color-danger) !important;
    background-color: var(--color-danger) !important;
}

.btn-success:hover {
    color: var(--color-success) !important;
}

.btn-success-inverse:hover {
    color: var(--color-white) !important;
    background: var(--color-success) !important;
    background-color: var(--color-success) !important;
}

.btn-warning:hover {
    color: var(--color-warning) !important;
}

.btn-warning-inverse:hover {
    color: var(--color-white) !important;
    background: var(--color-warning) !important;
    background-color: var(--color-warning) !important;
}

.btn-info:hover {
    color: var(--color-info) !important;
}

.btn-info-inverse:hover {
    color: var(--color-white) !important;
    background: var(--color-info) !important;
    background-color: var(--color-info) !important;
}

.btn-dark:hover {
    color: var(--color-dark) !important;
}

.btn-shadow {
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25) !important;
}

.border-primary {
    --tw-border-opacity: 1;
    border-color: var(--color-primary) !important;
}

.border-primary-light {
    --tw-border-opacity: 1;
    border-color: var(--color-primary-light);
}

.border-secondary {
    --tw-border-opacity: 1;
    border-color: var(--color-secondary);
}

.border-secondary-light {
    --tw-border-opacity: 1;
    border-color: var(--color-secondary-light);
}

.border-danger {
    --tw-border-opacity: 1;
    border-color: var(--color-danger);
}

.border-success {
    --tw-border-opacity: 1;
    border-color: var(--color-success);
}

.border-warning {
    --tw-border-opacity: 1;
    border-color: var(--color-warning);
}

.border-info {
    --tw-border-opacity: 1;
    border-color: var(--color-info);
}

.link {
    color: var(--color-secondary);
    text-decoration: underline;
    cursor: pointer;
}

.welcome-title {
    color: var(--color-dark);
    border-bottom: 5px solid var(--color-primary);
    font-weight: bold;
    text-align: left;
}

.checkmark-icon {
    max-width: 40px;
    max-width: 40px;
    max-height: 40px;
    min-height: 40px;
    background-color: var(--color-primary);
    border-radius: 50%;
}

.calendar-btn-group {
    margin: 10px;
    display: flex;
    justify-content: center;
    gap: 0.25rem;
}

.calendar-btn-group button {
    font-size: 1rem;
    line-height: 1rem;
    padding: 0.3rem 1rem;
    border-radius: 3rem;
    box-shadow: none;
}

.calendar-export-btn-container {
    padding: 10px;
}

.energy-data-chart-label-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: bold;
    border: 3px solid #ebebeb;
    border-radius: 0.75rem;
    padding: 1rem;
}

.community-energy-title {
    font-weight: bold;
}

.stats-icon {
    height: 4rem;
    width: auto;
    margin: auto;
    margin-bottom: 20px;
}

.countingpoint-label {
    padding: 0.5rem;
    font-weight: 700;
    border-radius: 2rem;
}

.energy-data-chart-container {
    width: 100%;
    height: 500px;
    margin: 0 auto;
    position: relative;
}

.eg-chart-container {
    width: 350px;
    height: 350px;
    margin: 0 auto;
    position: relative;
}

.self-sufficiency-container {
    max-width: 750px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.self-sufficiency-chart-container {
    max-height: 100px;
    height: 100%;
    width: 100%;
}

/* ########### JOIN CJ ########### */

.v-content-padded {
    width: 80%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

@media only screen and (max-width: 993px) {
    .v-content-padded {
        width: 100% !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

@media only screen and (max-width: 500px) {
    .v-content-padded {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

.step-container {
    display: flex;
    align-items: center;
}

.step-number {
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: white;
    margin: 10px;
}

.step-number-inactive {
    background: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: var(--color-dark);
    border: 2px solid var(--color-dark);
    margin: 10px;
}

.step-number-sm {
    min-height: 32px;
    max-height: 32px;
    max-width: 32px;
    min-width: 32px;
    font-size: 24px;
}

.step-number-md {
    min-height: 50px;
    max-height: 50px;
    max-width: 50px;
    min-width: 50px;
    font-size: 32px;
}

.step-number-lg {
    min-height: 75px;
    max-height: 75px;
    max-width: 75px;
    min-width: 75px;
    font-size: 48px;
}

.step-description {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 20px;
}

.cols {
    display: grid;
    gap: 3rem;
}

.cols-md {
    display: grid;
    gap: 1.5rem;
}

.col-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.col-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.col-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 768px) {
    .cols {
        gap: 1.5rem !important;
    }

    .cols-md {
        gap: 1rem !important;
    }

    .col-2,
    .col-3 {
        grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 640px) {
    .step-number-sm {
        min-height: 20px !important;
        max-height: 20px !important;
        max-width: 20px !important;
        min-width: 20px !important;
        font-size: 20px !important;
    }

    .step-number-md {
        min-height: 32px !important;
        max-height: 32px !important;
        max-width: 32px !important;
        min-width: 32px !important;
        font-size: 24px !important;
    }

    .step-number-lg {
        min-height: 50px !important;
        max-height: 50px !important;
        max-width: 50px !important;
        min-width: 50px !important;
        font-size: 32px !important;
    }
}

.popup-container {
    width: 100%;
    max-width: 600px;
    z-index: 50;
    border-top: 20px solid var(--color-primary);
    margin-left: 10px;
    margin-right: 10px;
}

.darken-bg {
    background: rgba(0, 0, 0, 0.25);
}