body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #f0f0f0;
    font-family: Arial, sans-serif;
}

.material-icons {
    font-size: 20px;
}

.status-bar {
    position: absolute;
    height: 24px;
    background-color: transparent;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    transition: color 0.3s ease;
    padding: 5px;
    gap: 2px;
}

.network-icon {
    cursor: default;
    margin-left: -140px;
    width: 20px;
}

.no-network {
    color: red;
}

.network-available {
    color: green;
}

.microphone-icon {
    cursor: pointer;
    color: #333;
    z-index: 1;
    margin-left: 40px;
}

.speaker-icon {
    cursor: pointer;
    color: #333;
    z-index: 1;
}

.microphone-icon.muted,
.speaker-icon.muted {
    color: #aaa;
}

.call-status-icon {
    cursor: default;
    color: green;
    width: 20px;
    margin-left: 20px;
}

.call-status-icon.inprogress {
    color: cornflowerblue
}

.ringing-icon {
    animation: ringing 0.8s infinite;
}

@keyframes ringing {

    0%,
    100% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(8deg);
    }
}

.container {
    display: flex;
    justify-content: center;
}

.call-timer {
    cursor: default;
    font-size: 12px;
    color: #333;
    height: 15px;
}

.province {
    cursor: default;
    font-size: 12px;
    color: #333;
    height: 15px;
}

.version {
    cursor: default;
    font-size: 15px;
    color: #333;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.display-user {
    cursor: default;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: 60px;
}

.user-avatar-dropdown {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.user-avatar-icon {
    color: #333;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 40%;
    min-width: 120px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 2px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 1px;
    z-index: 1;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s, opacity 0.3s;
}

.dropdown-group {
    margin-top: 4px;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #333;
    width: 100%;
    white-space: nowrap;
}

.dropdown-item i.material-icons {
    font-size: 20px;
    width: 20px;
    text-align: center;
}

.dropdown-item .selected-icon {
    color: #0f9d58;
}

.dropdown-item:last-child {
    border-bottom: 1px solid #e5e5e5;
}

.dropdown-item:hover {
    background-color: #f5f5f5;
}

.volume-slider-container {
    position: absolute;
    top: 100%;
    left: 120%;
    transform: translateX(-50%);
    width: 150px;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s, opacity 0.3s;
    margin-bottom: 10px;
}

.volume-slider {
    width: 100%;
}

.dialer {
    width: 240px;
    height: 410px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.dialer-display {
    width: 200px;
    height: 40px;
    font-size: 25px;
    text-align: center;
    border: none;
    outline: none;
    background-color: transparent;
    color: #333;
    border-bottom: 1px solid #ccc;
    margin: 32px 20px 0 20px;
}

.dialer-keypad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 5px 30px 5px 30px;
}

.dialer-button {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    font-size: 24px;
    cursor: pointer;
}

.dialer-button:active {
    background-color: #ddd;
}

.call-button:active {
    background-color: #4CAF50;
    box-shadow: none;
}

.call-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 1px 30px 5px 30px;
}

.call-button {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background-color: #4CAF50;
    color: #fff;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
    font-size: 24px;
    outline: none;
}

.call-button:active {
    background-color: #4CAF50;
    box-shadow: none;
}

.call-button.hangup {
    background-color: red;
    color: white;
}

.call-button.normal {
    background-color: #f5f5f5;
    color: black;
}

.hidden {
    visibility: hidden;
}

.modal {
    display: none;
    z-index: 1;
    width: 240px;
    height: 420px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 10px;
    background-color: #fefefe;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    width: 80%;
}

.form-group {
    margin-bottom: 10px;
}

.form-group input[type="number"],
.form-group input[type="text"],
.form-group input[type="password"] {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
    color: #333;
}

.form-group input[type="number"]::placeholder,
.form-group input[type="text"]::placeholder,
.form-group input[type="password"]::placeholder {
    color: #999;
}

.form-group select {
    width: 100%;
    height: 32px;
    padding: 0 10px;
    font-size: 16px;
    color: #333;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.form-group option {
    padding: 10px;
    background-color: #f9f9f9;
    color: #333;
    font-size: 16px;
    line-height: 1;
    text-align: left;
}

.form-group option:selected {
    background-color: #fff;
}

.form-group option:hover {
    background-color: #e5e5e5;
}

.form-buttons {
    display: flex;
    justify-content: center;
    gap: 70px;
}

.form-buttons button {
    width: 30%;
    padding: 5px;
    background-color: transparent;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    font-size: 16px;
    transition: all 0.2s ease-in-out;
}

.form-buttons button i.material-icons {
    font-size: 20px;
    vertical-align: middle;
}

.form-buttons .add-button {
    background-color: #4CAF50;
}

.form-buttons .cancel-button {
    background-color: #ccc;
}

.form-buttons .cancel-button:hover,
.form-buttons .add-button:hover {
    opacity: 0.8;
}