﻿.prompt-container {
    position: relative;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 30rem;
}

.prompt-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.prompt-title {
    font-size: 1.3rem;
    flex-grow: 1;
    text-align: center;
    margin: 0 auto;
    font-weight: bold;
    max-width: 23rem;
}

.prompt-body {
    margin-top: 1rem;
    max-width: 40rem;
}

    .prompt-body p {
        margin: 0;
    }

.prompt-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.close-button {
    position: absolute;
    right: 1.5rem;
    width: 1.5rem;
    aspect-ratio: 1 / 1;
    cursor: pointer;
    transition: transform .2s ease-in-out;
}

    .close-button:hover {
        transform: scale(1.1);
    }

.prompt-input {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    display: block;
    box-sizing: border-box; /* Stellt sicher, dass padding und border in der Breite enthalten sind */
    min-width: 300px;
}

.custom-dropdown {
    width: 100%; /* Stellt sicher, dass es genauso breit ist wie das Input-Feld */
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc; /* Gleiche Border wie das Input-Feld */
    border-radius: 5px; /* Gleiche Border-Radius */
    background-color: #fff;
    color: #333;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    text-align: left; /* Standard-Alignment für Dropdowns */
    box-sizing: border-box;
    min-width: 300px;
}

    .custom-dropdown:focus {
        border-color: #ff6b81;
        outline: none;
        box-shadow: 0 0 8px rgba(255, 107, 129, 0.7);
    }

    .custom-dropdown:hover {
        border-color: #ff6b81;
        background-color: #f8f8f8;
    }

.cancel-button, .confirm-button {
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: all .3s ease-in-out;
    padding: .8rem 1.5rem;
    border-radius: .8rem;
    transition: all .3s ease-in-out;
}

.confirm-button {
    color: white;
    background-color: rgb(var(--primary-rgb));
    border: 2px solid rgb(var(--primary-rgb));
}

    .confirm-button:hover {
        color: rgb(var(--primary-rgb));
        border: 2px solid rgb(var(--primary-rgb));
        background-color: white;
    }

.cancel-button {
    color: black;
    background-color: #ccc;
    border: 2px solid #ccc;
}

    .cancel-button:hover {
        border-color: #aaa;
        background-color: white;
    }

.input-container {
    display: flex;
    flex-direction: column;
    align-items: center; /* Hält das Input-Feld mittig */
    text-align: center;
}