



#dialogcontroller {
    display: none;
}

#dialogcontroller {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%; 
    transform: translate(-50%, -50%);
    background-color: rgb(22, 22, 22);
    border: none;
    border-radius: 2vw;
    padding: 1vw;
    opacity: 95%;
    margin: 0;
    color: white;
    z-index: 25;
}

.dia_80x60 {
    width: 80vw;
    height: 60vh;
}

.dia_80x80 {
    width: 80vw;
    height: 80vh;
}



.dia_20x30 {
    width: 20vw;
    height: 30vh;
}

.dia_40x30 {
    width: 40vw;
    height: 30vh;
}

.dia_40x40 {
    width: 40vw;
    height: 40vh;
}

.dia_60x40 {
    width: 60vw;
    height: 40vh;
}

.dlg_mini_content {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    color: white;
}

.dlg_mini_cmdbtnline {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;    
}

#dialogcontroller:not([open]) {
    display: none;
}

@media (hover: hover) {
    #dialogcontroller:hover {
        border: 2px solid;
        border-color: rgb(200,200,200);
    }
}

#dialog_head {
    height: 10%;
    width: 100%;
    background-color: rgb(22, 22, 22);
    display: flex;
    color: white;
    justify-content: space-around;
    align-items: center;
    font-size: 1.7vw;
}

#dialog_content {
    width: 100%;
    height: 90%;
}





.button {
    padding: 0.8vh;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 2vh;
    border: solid 2px;
    border-color: transparent;
    text-align: center;
    color: gray;
    background-color: rgb(49, 49, 49);
}

.button-active {
    border-color: white;
    color: white;
}

@media (hover: hover) {
    .button-active:hover {
        background-color: green;
        border-color: green;
        opacity: 100%;
        cursor: pointer;
    }
}

.button-red {
    border-color: red;
}

@media (hover: hover) {
    .button-red:hover {
        background-color: red;
        border-color: red;
    }
}


.inputbox {
    padding: 2vw;
    border: solid 1px;
    border-radius: 100vw;
}

.inputfield {
    background-color: transparent;
    outline: none;
    border: none;
    width: 20vw;
    font-size: 1.7vw;
    color: white;
}

.inputsecret {
    -webkit-text-security: square;
}





.dlg_new_blocking {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 45vh;
}

.dlg_new_blocking_left {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    border-right: solid 1px;
    color: white;
}

.dlg_new_blocking_right {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.dlg_new_blocking_callerpic {
    width: 20vh;
    height: 20vh;
    display: flex;
    justify-content: center;
    align-items: center;
    border: solid 1px;
    border-radius: 100%;
}

.dlg_new_blocking_btns {
    height: 6vh;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

.blocking_duration_title {
    font-size: 1.5vw;
    color: white;
    margin-bottom: 2vh;
}

.blocking_bubble_container {
    display: flex;
    flex-direction: column;
    gap: 1.5vh;
    width: 80%;
}

.blocking_bubble {
    width: 100%;
    border: solid 1px;
    border-color: white;
    background-color: rgba(255, 255, 255, 0.1);
    height: 4vh;
    border-radius: 2vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.2vw;
    cursor: pointer;
    transition: all 0.2s;
}

@media (hover: hover) {
    .blocking_bubble:hover {
        background-color: rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.8);
    }
}

.blocking_bubble_active {
    border-color: green !important;
    background-color: rgba(0, 136, 0, 0.4) !important;
}

@media (hover: hover) {
    .blocking_bubble_active:hover {
        border-color: green !important;
        background-color: rgba(0, 136, 0, 0.4) !important;
    }
}





.dlg_new_planned {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 65vh;
}

.dlg_new_planned_left {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    border-right: solid 1px;
    color: white;
}

.dlg_new_planned_right {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.dlg_new_planned_callerpic {
    width: 15vh;
    height: 15vh;
    display: flex;
    justify-content: center;
    align-items: center;
    border: solid 1px;
    border-radius: 100%;
}

.dlg_inputfield {
    width: 35vw;
    height: 15vh;
    background-color: rgb(49, 49, 49);
    border: solid 2px transparent;
    border-radius: 2vh;
    padding: 1vh 1.5vh;
    color: white;
    font-size: 1.2vw;
    font-family: inherit;
    outline: none;
    resize: vertical;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.dlg_inputfield:focus {
    border-color: white;
}

.dlg_inputfield::placeholder {
    color: gray;
}

.dlg_new_planned_callername {
    width: 35vw;
    height: 5vh;
    background-color: rgb(49, 49, 49);
    border: solid 2px transparent;
    border-radius: 2vh;
    padding: 1vh 1.5vh;
    color: white;
    font-size: 1.2vw;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.dlg_new_planned_callername:focus {
    border-color: white;
}

.dlg_datetime_title {
    display: none;
}

.dlg_datetime_container {
    display: flex;
    flex-direction: column;
    /*gap: 1.8vh;*/
    width: 80%;
}

.dlg_datetime_section {
    display: flex;
    flex-direction: column;
    /*gap: 0.9vh;*/
}

.dlg_datetime_label {
    margin-top: 1vh;
    font-size: 1.08vh;
    color: white;
}

.dlg_datetime_section:first-child .dlg_datetime_label {
    display: none;
}

.dlg_datetime_input {
    background-color: rgb(49, 49, 49);
    border: solid 2px transparent;
    border-radius: 1.8vh;
    padding: 0.9vh 1.35vh;
    color: white;
    font-size: 1.08vh;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.dlg_datetime_input:focus {
    border-color: white;
}

.dlg_datetime_input::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

.dlg_calendar_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
    gap: 0.9vh;
}

.dlg_calendar_nav {
    background-color: rgb(49, 49, 49);
    border: solid 2px transparent;
    border-radius: 0.9vh;
    color: white;
    font-size: 1.2vh;
    padding: 0.45vh 0.9vh;
    cursor: pointer;
    transition: all 0.2s;
    outline: none;
}

@media (hover: hover) {
    .dlg_calendar_nav:hover {
        border-color: white;
        background-color: rgb(60, 60, 60);
    }
}

.dlg_calendar_month {
    flex: 1;
    text-align: center;
    font-size: 2vh;
    color: white;
    font-weight: bold;
}

.dlg_calendar_grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0;
    margin-top: 0;
    width: 100%;
}

.dlg_calendar_day {
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(49, 49, 49);
    border: solid 1px transparent;
    border-radius: 1vh;
    color: white;
    font-size: 2vh;
    cursor: pointer;
    transition: all 0.2s;
    /*padding: 0.1vh;*/
    transform: scale(0.58);
}

@media (hover: hover) {
    .dlg_calendar_day:hover:not(.dlg_calendar_day_disabled) {
        border-color: white;
        background-color: rgb(60, 60, 60);
    }
}

.dlg_calendar_day_disabled {
    color: rgb(60, 60, 60);
    cursor: not-allowed;
    background-color: rgb(30, 30, 30);
    opacity: 0.5;
}

.dlg_calendar_day_selected {
    border-color: green !important;
    border-width: 2px !important;
    background-color: rgba(0, 136, 0, 0.4) !important;
}

.dlg_calendar_day_header {
    font-weight: bold;
    color: gray;
    cursor: default;
    background-color: transparent;
}

@media (hover: hover) {
    .dlg_calendar_day_header:hover {
        border-color: transparent;
        background-color: transparent;
    }
}

.dlg_calendar_day_empty {
    background-color: transparent;
    cursor: default;
}

@media (hover: hover) {
    .dlg_calendar_day_empty:hover {
        border-color: transparent;
        background-color: transparent;
    }
}

.dlg_time_bubbles {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5vh;
    margin-top: 0.5vh;
}

.dlg_time_bubble {
    background-color: rgb(49, 49, 49);
    border: solid 1px transparent;
    border-radius: 1.5vh;
    padding: 0.4vh 0.9vh;
    color: white;
    font-size: 1.5vh;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    min-width: 2vh;
}

@media (hover: hover) {
    .dlg_time_bubble:hover {
        border-color: white;
        background-color: rgb(60, 60, 60);
    }
}

.dlg_time_bubble_selected {
    border-color: green !important;
    background-color: rgba(0, 136, 0, 0.4) !important;
}

.dlg_time_bubble_disabled {
    color: rgb(60, 60, 60);
    cursor: not-allowed;
    background-color: rgb(30, 30, 30);
    opacity: 0.5;
}

@media (hover: hover) {
    .dlg_time_bubble_disabled:hover {
        border-color: transparent;
        background-color: rgb(30, 30, 30);
    }
}


/* Redirect Dialog Styles */
.dlg_redirect_content {
    width: 100%;
    height: calc(100% - 6vh);
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    
}

.dlg_redirect_main {
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3vh;
}

.dlg_redirect_main p.dlg_txt {
    margin: 0 0 0.5vh 0;
    line-height: 1.2;
}

.dlg_redirect_inputfield {
    width: 100%;
    display: flex;
    justify-content: center;
}

.dlg_redirect_input {
    width: 80%;
    background-color: rgb(49, 49, 49);
    border: solid 2px transparent;
    border-radius: 1vh;
    padding: 0.6vh 1vh;
    color: white;
    font-size: 1.2vw;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.dlg_redirect_input:focus {
    border-color: white;
}

.dlg_redirect_input::placeholder {
    color: gray;
}

.dlg_redirect_suggestions {
    width: 100%;
    max-height: 15vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.3vh;
    margin-top: 1vh;
}

.dlg_redirect_suggestion_item {
    background-color: rgba(255, 255, 255, 0.05);
    border: solid 1px rgba(195, 195, 195, 0.3);
    border-radius: 0.8vh;
    padding: 0.6vh 1vh;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    gap: 0.2vh;
}

@media (hover: hover) {
    .dlg_redirect_suggestion_item:hover {
        border-color: rgba(195, 195, 195, 0.8);
        background-color: rgba(255, 255, 255, 0.1);
    }
}

.dlg_redirect_suggestion_item.dlg_redirect_suggestion_selected {
    border-color: rgba(76, 175, 80, 0.8);
    background-color: rgba(76, 175, 80, 0.15);
}

.dlg_redirect_suggestion_name {
    font-size: 1.1vw;
    font-weight: bold;
}

.dlg_redirect_suggestion_number {
    font-size: 0.95vw;
    color: rgba(255, 255, 255, 0.7);
}

/* Gemeinsamer Input-Stil für Dialoge */
.dlg_input {
    background-color: transparent;
    outline: none;  
    border: none;
    border-bottom: solid 1px;
    border-bottom-color: rgb(195, 195, 195);
    width: 100%;
    color: white;
    font-size: 1.4vw;
    padding: 0.5vh 0;
}

.dlg_input::placeholder {
    color: rgba(195, 195, 195, 0.7);
}

/* Login-Sperrbalken */
.dlg_login_lockbar {
    position: absolute;
    top: -2vh;
    left: 0;
    right: 0;
    transform: translateY(-100%);
    background-color: #cc0000;
    padding: 0.8vh 1vw;
    border-radius: 0.5vw;
    box-sizing: border-box;
}

.dlg_login_lockbar span {
    color: white;
    font-size: 1.1vw;
    font-weight: normal;
}

.dlg_login_qr_locked {
    width: 100%;
    aspect-ratio: 1;
    background-color: #cc0000;
}