
.phone_pad {
    width: 30vw;
    height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

.phonedisplay {
    height: 30vh;
    width: 30vw;
    background-color: black;
    display: flex;
    align-items: center;
    justify-content: space-around;
    font-size: 4vh;
    border-radius: 2vw;
    opacity: 75%;
    cursor: text;
    outline: none;
    transition: box-shadow 0.2s ease, opacity 0.2s ease;
}

.phonedisplay:focus {
    opacity: 85%;
    box-shadow: 0 0 0 2px rgba(100, 149, 237, 0.6);
}

.phonedialpad {
    height: 60vh;
    width: 30vw;
    opacity: 100%;
}

#phone_dialnumber {
    display: none;
}

#phone_placeholder {
    color: rgb(66, 66, 66);
    font-style: italic;
}

.phone_dpline {
    width: 30vw;
    height: 12vh;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;

}

.phone_dp {
    width: 10vh;
    height: 10vh;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    border: none;
    border-radius: 50%;
    margin: 2px 2px 8px 2px;
    background-color: black;
    opacity: 75%;
    font-size: 4vh;
    color: rgb(141, 141, 141);
}

@media (hover: hover) {
    .phone_dp:hover {
        background-color: rgb(66, 66, 66);
        opacity: 100%;
        cursor: pointer;
    }
}

.phone_dp:active,
.phone_dp.phone_dp_pressed {
    background-color: rgb(100, 100, 100);
    opacity: 100%;
    transform: scale(0.95);
}

.phone_dp_cmd {
    opacity: 100%;
    z-index: 15;
}

.phone_dp_icon {
    height: 4vh;
}

.phone_dp_invisible {
    opacity: 0;
}

@media (hover: hover) {
    .phone_dp_invisible:hover {
        background-color: transparent;
        cursor: default;
    }
}

.phone_dp_disabled {
    opacity: 75%;
}

.phone_dp_dial {
    background-color: green;
}

.phone_dp_del {
    background-color: red;
}

.phone_dp.phone_dp_touch {
    background-color: rgb(100, 100, 100);
    opacity: 100%;
}






.phone_call {
    height: 90vh;
    width: calc(30vw - 4px);
    opacity: 90%;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    background-color: black;
    border-radius: 2vw;
    outline: none;
    transition: box-shadow 0.2s ease;
}

.phone_call:focus {
    box-shadow: 0 0 0 2px rgba(100, 149, 237, 0.6);
}

.phone_cmd_line {
    width: 30vw;
    height: 10vh;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    z-index: 5;
}

 .phone_dtmf_panel {
     width: 30vw;
     display: none;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     gap: 1vh;
 }

 .phone_dtmf_header {
     width: 30vw;
     display: flex;
     flex-direction: row;
     align-items: center;
     justify-content: flex-start;
 }

 .phone_dtmf_pad {
     width: calc(30vw - 4px);
     border-radius: 1vw;
     outline: none;
     transition: box-shadow 0.2s ease;
 }

 .phone_dtmf_pad:focus {
     box-shadow: 0 0 0 2px rgba(100, 149, 237, 0.6);
 }

 .phone_dtmf_panel .phone_dpline {
     height: 9vh;
 }

 .phone_dtmf_panel .phone_dp {
     width: 7.5vh;
     height: 7.5vh;
     font-size: 3vh;
     margin: 2px;
 }

 .phone_dtmf_header .phone_cmd {
     width: 5vh;
     height: 5vh;
     padding: 0.5vh;
 }

.phone_cmd {
    width: 8vh;
    height: 8vh;
    border-radius: 50%;
    border: solid 1px;
    border-color: white;
    padding: 1vh;
    opacity: 100%;
    z-index: 15;
}

.pc_red {
    background-color: red;
    border-color: red;
}

.pc_green {
    background-color: green;
    border-color: green;
}

.pc_blue {
    background-color: blue;
    border-color: blue;
}

.phone_callerpic {
    height: 18vw;
    width: 18vw;
    border-radius: 50%;
    border: solid 2px;
    border-color: rgb(255, 255, 255);
    padding: 1vw;
}

 .phone_call.phone_call_dtmf_mode .phone_callerpic {
     height: 12.6vw;
     width: 12.6vw;
 }

.phone_callerpicframe {
    width: 22vw;
    height: 22vw;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-direction: row;
}   

.phone_callerident {
    margin: 1vw 5vw 1vw 5vw;
    height: 15vh;
    width: 25vw;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 3vh;
}

.phone_timerline {
    font-size: 2.5vh;
    margin-top: 1vh;
    color: rgb(200, 200, 200);
}

/* Vermittlung: Anzeige des gehaltenen Anrufs */
.phone_held_info {
    display: none;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 26vw;
    padding: 1vh 1vw;
    margin: 1vh 0;
    background-color: rgba(255, 165, 0, 0.3);
    border: 1px solid orange;
    border-radius: 1vw;
    font-size: 1.8vh;
}

.phone_held_label {
    color: orange;
    font-weight: bold;
    margin-right: 0.5vw;
}

.phone_held_details {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}

.phone_held_details span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#phone_held_name {
    font-weight: bold;
}

#phone_held_num {
    font-size: 1.5vh;
    color: rgb(180, 180, 180);
}

.phone_held_toggle {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex: 1;
    cursor: pointer;
    padding: 0.5vh 0;
    border-radius: 0.5vw;
    transition: background-color 0.2s;
}

.phone_held_toggle:hover {
    background-color: rgba(255, 165, 0, 0.3);
}

.phone_held_cancel {
    width: 3vh;
    height: 3vh;
    cursor: pointer;
    opacity: 0.7;
    margin-left: 0.5vw;
}

.phone_held_cancel:hover {
    opacity: 1;
}
