﻿#cropper_image_preview_small, #cropper_image_preview_large {
    border: 1px solid #ddd;
    overflow: hidden;
    margin-top: 10px;
}

#cropper_image_preview_small {
    width: 100px;
    height: 100px;
}

#cropper_image_preview_large {
    width: 300px;
    height: 300px;
}

.cropper-container .cropper-face {
    background-color: rgba(255, 255, 255, 0.5) !important;
}

/* Helle Linien und Ecken für das Quadrat */
.cropper-container .cropper-line, .cropper-container .cropper-point {
    background-color: rgba(255, 255, 255, 0.5) !important;
}

.cropper-container .cropper-view-box {
    border: 2px solid white !important;
}

img {
    max-width: 100%;
}

/*---------------------------------------------------*/

/* Styling für alle Cropper-Buttons: */
.custom_cropper_button, .custom_cropper_file_upload {
    display: inline-block !important; /* sehr wichtig, sonst dehnen sich die Buttons unter iOS auf die ganze Zeile aus! */
    white-space: nowrap !important; /* verhindert Zeilenumbruch im Buttontext */
    max-width: max-content !important; /* optional, stellt sicher, dass Breite Inhalt + Padding ist */
    align-items: center;
    border-radius: 4px !important; /* Abgerundete Kanten */
    border-style: none !important; /* Stil der Umrandung */
    border-width: 0px !important; /* Breite der Umrandung */
    color: white !important;
    cursor: pointer;
    font-family: Lato, sans-serif !important; /* Schriftart Lato */
    font-size: 15px !important; /* Default-Schriftgrösse nach Bedarf anpassen */
    font-weight: bold !important; /* Fett formatierter Text */
    height: auto; /* Höhe nach Bedarf anpassen */
    justify-content: center;
    line-height: 20px !important;
    margin: 10px 14px 10px 0px !important; /* Abstand ausserhalb des Button */
    padding: 5px 13px 6px 13px !important; /* Passe die Polsterung nach Bedarf an */
    text-align: center;
    width: auto; /* Breite kann auch festgelegt werden, z.B. width: 200px; */
    transition: background-color 0.3s ease;
}

    .custom_cropper_button:hover, .custom_cropper_file_upload:hover {
        background-color: #0f7ae5;
    }

input[type="file"] {
    display: none;
}

/*---------------------------------------------------*/

