:root {
    /* Set the primary color for your partner relationship app */
    --bs-primary: #e60000;
    --bs-secondary: #6c757d; /* example secondary color */
    --bs-success: #198754;
    --bs-info: #0dcaf0;
    --bs-warning: #ffc107;
    --bs-danger: #dc3545;
    --bs-light: #f8f9fa;
    --bs-dark: #212529;
}

.tile {
    cursor: pointer;
    transition: transform 0.2s;
}
.tile:hover {
    transform: scale(1.05);
}
.note-section {
    margin-top: 30px;
}

/* Verstecke die Standard-Checkboxen */
.btn-group input[type="checkbox"], .btn-group input[type="radio"] {
    display: none; /* Versteckt die Checkboxen und Radio-Buttons */
}

/* Styling für die Label, damit sie wie Schaltflächen aussehen */
.btn-group label {
    display: inline-block;
    padding: 10px 20px;
    margin: 0 5px;
    border: 1px solid #e60000;
    border-radius: 5px;
    cursor: pointer;
    color: #e60000;
    text-align: center;
    font-weight: normal;
}

/* Hover-Effekt und ausgewähltes Styling */
.btn-group label:hover,
.btn-group input[type="checkbox"]:checked + label,
.btn-group input[type="radio"]:checked + label {
    background-color: #e60000;
    color: white;
}

.img-50 {
    width: 50%; /* Setzt die Breite auf 50% der Originalgröße */
    height: auto; /* Behält das Seitenverhältnis des Bildes bei */
}

.rating-label i {
    color: #d3d3d3; /* Default color for unselected smileys */
    transition: color 0.2s;
}

.rating-label input[type="radio"]:checked + i {
    color: #ffc107; /* Highlight color for selected smiley */
}

.rating-label:hover i {
    color: #ffc107; /* Highlight on hover */
}

.form-control input[type="textarea"] {
    border-radius: 8px; /* Rounder corners for textarea */
    padding: 15px;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.25rem 0.2rem; /* Kleinere Höhe und Breite */
    font-size: 0.8rem; /* Kleinere Schriftgröße */
    line-height: 1.2; /* Weniger Abstand zwischen Textzeilen */
    border-radius: 0.2rem; /* Leichtere Abrundung der Ecken */
}

.toast-container {
    z-index: 1055; /* Sicherstellen, dass die Toasts über anderen Elementen liegen */
}

.badge-easy {
    background-color: #28a745; /* Grün für einfach */
    color: white;
}

.badge-medium {
    background-color: #ffc107; /* Gelb für mittel */
    color: black;
}

.badge-hard {
    background-color: #dc3545; /* Rot für schwer */
    color: white;
}

.badge-expert {
    background-color: #800080; /* Aggressiv Lila für Experte */
    color: white;
}

.card-body {
    font-size: 0.85rem; /* Beispiel für kleinere Schriftgröße */
}

/* Achte darauf, dass die Badges auf einer Linie sind */
.card .badge {
    vertical-align: middle; /* Sorgt dafür, dass die Badges auf der gleichen Höhe wie der Text sind */
}

input[type="range"] {
    -webkit-appearance: none; /* Entfernt Standardstil in WebKit-Browsern */
    width: 100%;
    height: 15px;
    background: linear-gradient(to right, #ffffff, #000000); /* Farbverlauf von Weiß zu Schwarz */
    border-radius: 5px;
    outline: none;
    margin: 0;
    padding: 0;
}

/* Slider Thumb für WebKit-Browser */
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 25px;
    height: 25px;
    background: #e60000; /* Grüne Farbe für den Thumb */
    border-radius: 50%;
    cursor: pointer;
    border: 1px solid #000; /* Schwarzer Rand um den Thumb */
}

/* Slider Track für Firefox */
input[type="range"]::-moz-range-track {
    background: linear-gradient(to right, #ffffff, #000000);
    height: 15px;
    border-radius: 5px;
}

/* Slider Thumb für Firefox */
input[type="range"]::-moz-range-thumb {
    width: 25px;
    height: 25px;
    background: #e60000;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #000;
}

/* Fokus-Stil */
input[type="range"]:focus::-webkit-slider-thumb {
    background: #e60000; /* Etwas dunkleres Grün beim Fokus */
}

input[type="range"]:focus::-moz-range-thumb {
    background: #e60000;
}

/* Füge dies in deine CSS-Datei oder in einen <style> Block ein */
.modal-dialog {
    touch-action: manipulation;
}

.modal {
    overflow-y: auto;
}