/* 전문가 토글 버튼 스타일 */
.expert-availability-container {
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px;
    background-color: #f9f9f9;
    text-align: center;
    margin-bottom: 20px;
}

.expert-availability-container h3 {
    margin-top: 0;
    color: #333;
}

.expert-availability-container p {
    font-size: 1.1em;
    font-weight: bold;
}

#expert-current-status.status-on {
    color: #28a745; /* Green */
}

#expert-current-status.status-off {
    color: #dc3545; /* Red */
}

.expert-toggle-button {
    padding: 10px 20px;
    font-size: 1em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    color: #fff;
    transition: background-color 0.3s ease;
}

.expert-toggle-button.status-on {
    background-color: #dc3545; /* Red for turning off */
}

.expert-toggle-button.status-on:hover {
    background-color: #c82333;
}

.expert-toggle-button.status-off {
    background-color: #28a745; /* Green for turning on */
}

.expert-toggle-button.status-off:hover {
    background-color: #218838;
}

.expert-status-message {
    margin-top: 10px;
    font-weight: bold;
}

.expert-status-message.success {
    color: #28a745;
}

.expert-status-message.error {
    color: #dc3545;
}

/* 일반 사용자 상태 표시 스타일 */
.expert-public-status {
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 5px;
    background-color: #fff;
    text-align: center;
    margin-bottom: 15px;
}

.expert-public-status h4 {
    margin-top: 0;
    color: #0073aa;
}

.expert-public-status .status-available {
    color: #28a745;
    font-weight: bold;
    font-size: 1.1em;
}

.expert-public-status .status-unavailable {
    color: #dc3545;
    font-weight: bold;
    font-size: 1.1em;
}

.expert-public-status .status-unavailable-message {
    color: #666;
    font-size: 0.9em;
}

.expert-public-status .call-now-button {
    display: inline-block;
    background-color: #0073aa;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.expert-public-status .call-now-button:hover {
    background-color: #005177;
}

.expert-public-status .call-now-button .dashicons {
    vertical-align: middle;
    margin-right: 5px;
}

/* --- 추가된 디버깅/정보 메시지 스타일 --- */
.expert-message.info,
.expert-public-status.expert-info {
    border: 1px solid #0073aa; /* 워드프레스 파란색 */
    background-color: #eaf2fa; /* 연한 파란색 */
    color: #004a80;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 15px;
    font-weight: bold;
    text-align: center;
}

.expert-message.error,
.expert-public-status.expert-error {
    border: 1px solid #dc3545; /* 빨간색 */
    background-color: #f8d7da; /* 연한 빨간색 */
    color: #721c24;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 15px;
    font-weight: bold;
    text-align: center;
}

.expert-public-status.expert-error strong,
.expert-message.error strong {
    color: #bd2130;
}

.expert-public-status.expert-error code,
.expert-message.error code {
    background-color: #f0f0f0;
    padding: 2px 4px;
    border-radius: 3px;
    font-family: monospace;
}