* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f5f5f5;
    color: #333;
    padding: 20px;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 24px;
}

h1 { font-size: 1.8rem; margin-bottom: 20px; color: #222; }
h2 { font-size: 1.2rem; margin-bottom: 12px; color: #444; }

.status-bar {
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 4px;
    background: #f0f0f0;
}

.status-indicator {
    font-weight: 600;
    font-size: 0.95rem;
}

.status-indicator.connected { color: #28a745; }
.status-indicator.uncertain { color: #ffc107; }
.status-indicator.disconnected { color: #dc3545; }

.dial-section {
    margin-bottom: 20px;
}

.dial-section input {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 10px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 0.95rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 8px;
}

.btn-primary { background: #007bff; color: #fff; }
.btn-primary:hover { background: #0056b3; }
.btn-success { background: #28a745; color: #fff; }
.btn-success:hover { background: #1e7e34; }
.btn-danger { background: #dc3545; color: #fff; }
.btn-danger:hover { background: #b21f2d; }

.hidden { display: none !important; }

.incoming-call {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 4px;
    padding: 16px;
    margin-bottom: 20px;
}

.active-call {
    background: #d4edda;
    border: 1px solid #28a745;
    border-radius: 4px;
    padding: 16px;
    margin-bottom: 20px;
}

.call-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.call-log {
    margin-top: 20px;
}

.version-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 6px 10px;
    border-radius: 4px;
    background: #f8f8f8;
    border: 1px solid #e0e0e0;
    font-size: 0.8rem;
    color: #888;
}

#call-log-list {
    list-style: none;
    padding: 0;
}

#call-log-list li {
    padding: 8px;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
    color: #555;
}
