.card-preview-container {
    /* width: 200px; */
    width: auto;
    height: 350px;
    /* background-color: white; */
    /* border-radius: 8px; */
    /* box-shadow: 0px 0px 8px gray; */
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f3f3f3;
    position: relative;
    /* padding: 8px; */
    margin: auto;
}

.preview-logo-overlay {
    height: 88px;
    padding-top: 43px;
    /* padding-bottom: 50px; */
    width: 100%;
    align-items: center;
    display: flex;
    flex-direction: column;
    box-sizing: content-box !important;
}

.preview-logo-overlay img {
    max-width: 55% !important;
    max-height: 100% !important;
    margin-top: auto;
    margin-bottom: auto;
    box-sizing: content-box;
}

.preview-background-front {
    height: 350px !important;
    width: auto;
}

.preview-foreground {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
}

.preview-text-overlay {
    text-align: center;
    padding-top: 154px;
    font-size: 8px;
    line-height: 1;
    color: rgba(0, 0, 0, 0.75);
}

.preview-review-us {
    font-size: 14px;
}

.preview-star-container {
    display: flex;
    flex-direction: row;
    gap: 2px;
}

.preview-star {
    height: 20px;
    width: 20px;
    background-color: gold;
}

#card-preview-flex {
    display: flex;
    flex-direction: row;
    gap: 16px;
    flex-wrap: wrap;
    padding-bottom: 16px;
    margin: auto;
    width: fit-content;
}

.card-preview-logo-upload {
    padding: 16px;
    border: 1px dashed gray;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#card_preview_logo {
    display: none;
}

#card_preview_logo::file-selector-button {
    background-color: black;
    color: white;
    border: none;
    padding: 16px;
}

#card_preview_logo::file-selector-button:hover {
    background-color: color(srgb 0.0666667 0.0666667 0.0666667 / 0.85);
}

.fileDragHover {
    background-color: lightgreen;
}

.card_preview_text {
    border: 1px solid black;
    padding: 8px;
}

.card-preview-text-field {
    display: flex;
    flex-direction: column;
}

.card-preview-custom-fields {
    gap: 16px;
    display: flex;
    flex-direction: column;
    padding-bottom: 16px;
}

#card-preview-logo-display {
    height: 100px;
    padding-bottom: 16px;
}

.hidden {
    display: none;
}