.cards-container {
    display: flex;
    justify-content: space-between;
    gap: .8rem;
    margin-bottom: 1.875rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.cards-container-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.875rem;
}

/* Card Form */
.card-form {
    background-color: #fff;
    border-radius: var( --border-radius-lg);
    box-shadow: var(--shadow-sm);
    max-width: 1200px;
    margin: 0 auto;
}

.card-form .card-form-header {
    border-start-start-radius: var( --border-radius-lg);
    border-start-end-radius: var( --border-radius-lg);
    /* background-color: var(--light-color-50); */
    border-bottom: 2px solid  var(--light-color-200);
    padding: 1.25rem;

    & h2 {
        color: var(--text-color-700);
        font-weight: bold;
        font-size: 1.5rem;
        margin: 0;
    }
}

.card-form .card-form-body {
    padding: 1.25rem;
    color: var(--text-color-700);
    
    & h3 {
        font-size: 1.2rem;
        font-weight: 600;
    }
    
    & .form-group {
        margin-bottom: 1.5rem;
    }

}

.card-form .card-form-body .form-section {
    /* border-bottom: 1px solid var(--light-color-200); */
    margin-bottom: 1.875rem;

    & .title-section {
        display: flex;
        align-items: center;
        gap: 5px;
        padding-bottom: 1.25rem;
        font-size: 1.2rem;
        font-weight: 600;
        margin-bottom: 1.25rem;
        color: var(--primary-color);
        border-bottom: 1px solid var(--light-color-200);

        & h5 {
            margin: 0;
        }
    }

    &:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }
}

.card-form .card-form-body .form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 1.25rem;

    & button {
        width: auto;
    }
}

.card-info {
    background-color: #fff;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    padding: 1.5rem;
    width: 100%;
    min-width: 250px;

    &:hover {
        box-shadow: var(--shadow-md);
    }
}

.card-header {
    margin-bottom: 1rem;

    & .card-title {
        font-size: var(--font-size-heading-sm);
        font-weight: 600;
        color: var(--text-color-700);
        margin: 0;
    }

    & .card-subtitle {
        font-size: var(--font-size-md);
        color: var(--text-color-500);
        margin: 0;
    }
}

.card-info-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.card-content {
    flex-direction: column;
    align-items: flex-start;

    & .title {
        font-size: 0.875rem;
        color: #6b7280;
        margin-bottom: 0.5rem;
        font-weight: bold;
    }

    & .content {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--text-color-900);
        margin-bottom: 0;
    }
}

.card-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--border-radius-md);
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    & img, i {
        color: #fff;
        font-size: 1rem;
    }
}