body {
    margin: 0;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f4f7f9;
    color: #333;
}

.container {
    max-width: 600px;
    width: 100%;
    text-align: center;
    position: relative;
    margin: 0 auto;
    padding-top: 20px;
}

.header {
    margin-bottom: 20px;
}

.logo-container {
    position: relative;
    display: inline-block;
}

.logo {
    max-width: 220px;
    height: auto;
}

.button-container {
    margin-top: 24px;
    margin-bottom: 12px;
}

.button-group {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 0 auto;
    max-width: 400px;
}

/* Call Button styling (Uncommented & active) */
.call-button {
    background-color: #077AC0;
    color: #ffffff;
    border: 2px solid #077AC0;
    padding: 12px 32px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 150px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.call-button:hover:not(:disabled) {
    background-color: #055f96;
    border-color: #055f96;
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(7, 122, 192, 0.25);
}

.call-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Hangup Button styling (Uncommented & active) */
#hangup {
    background-color: #dc3545;
    color: #ffffff;
    border: 2px solid #dc3545;
    padding: 12px 28px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 150px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

#hangup:hover:not(:disabled) {
    background-color: #b52a37;
    border-color: #b52a37;
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(220, 53, 69, 0.25);
}

#remoteAudio {
    display: block;
    margin: 10px auto 0;
}

#widget-container {
    max-width: 420px;
    margin: auto;
    background-color: #fff;
    padding: 28px 24px;
    border: 1px solid #e1e6eb;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
}

#widget-header {
    text-align: center;
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 700;
    color: #077AC0;
    border-bottom: 2px solid #077AC0;
    padding-bottom: 12px;
}

.error-details {
    font-size: 13px;
    text-align: left;
    padding: 12px;
    margin-top: 14px;
    border-radius: 6px;
    background-color: #f9f9f9;
    color: #555;
    line-height: 1.4;
}

.error-details ul {
    padding-left: 20px;
    margin: 8px 0;
}

.error-details li {
    margin-bottom: 6px;
}

#status {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 24px;
    margin-top: 12px;
    font-weight: 600;
    color: #077AC0;
}

.status-spinner {
    width: 18px;
    height: 18px;
    border: 3px solid rgba(7, 122, 192, 0.3);
    border-radius: 50%;
    border-top-color: #077AC0;
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.grecaptcha-badge {
    bottom: 0 !important;
}