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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.config-info {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
}

.config-label {
    font-weight: 600;
    color: #1a73e8;
}

.config-separator {
    margin: 0 15px;
    color: #ccc;
}

.error-banner {
    background-color: #f44336;
    color: white;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.error-banner.hidden {
    display: none;
}

.loading {
    text-align: center;
    padding: 40px;
    color: #666;
}

.subscription-card {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.subscription-header {
    margin-bottom: 15px;
}

.subscription-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.subscription-topic {
    font-size: 14px;
    color: #666;
}

.subscription-info {
    font-size: 13px;
    color: #5f6368;
    background-color: #e8f0fe;
    padding: 8px 12px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.subscription-actions {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.loading-label {
    color: #666;
    font-size: 14px;
}

.loading-label.hidden {
    display: none;
}

.filter-input {
    font-size: 16px;
    padding: 2px 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 180px;
    vertical-align: middle;
}

.btn {
    padding: 10px 20px;
    margin-right: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s;
}

.btn-primary {
    background-color: #1a73e8;
    color: white;
}

.btn-primary:hover {
    background-color: #1557b0;
}

.btn-secondary {
    background-color: #5f6368;
    color: white;
}

.btn-secondary:hover {
    background-color: #4a4d50;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.error-message {
    background-color: #fee;
    color: #c00;
    padding: 10px;
    border-radius: 4px;
    margin-top: 10px;
}

.success-message {
    background-color: #e8f5e9;
    color: #2e7d32;
    padding: 10px;
    border-radius: 4px;
    margin-top: 10px;
}

.messages-container {
    margin-top: 20px;
}

.message-card {
    background-color: #f9f9f9;
    border-left: 4px solid #1a73e8;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 4px;
}

.message-header {
    margin-bottom: 10px;
}

.message-id {
    font-size: 12px;
    color: #666;
    font-family: monospace;
}

.message-time {
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}

.message-data-label,
.message-attributes-label {
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 5px;
}

.message-data {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    overflow-x: auto;
}

.message-data pre {
    font-family: 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.4;
    margin: 0;
}

.message-attributes {
    margin-top: 10px;
}

.attribute-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.attribute-table td {
    padding: 5px 10px;
    border-bottom: 1px solid #eee;
}

.attribute-table td:first-child {
    font-weight: 600;
    color: #666;
    width: 150px;
}

.no-messages {
    text-align: center;
    padding: 20px;
    color: #666;
    font-style: italic;
}

.status-message {
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 14px;
}

.status-message.hidden {
    display: none;
}

.status-success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border-left: 4px solid #4caf50;
}

.status-error {
    background-color: #ffebee;
    color: #c62828;
    border-left: 4px solid #f44336;
}

.status-warning {
    background-color: #fff3e0;
    color: #e65100;
    border-left: 4px solid #ff9800;
}

.status-info {
    background-color: #e3f2fd;
    color: #1565c0;
    border-left: 4px solid #2196f3;
}

.tab-strip {
    display: flex;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 20px;
}

.tab-btn {
    padding: 10px 24px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    color: #666;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: color 0.2s, border-color 0.2s;
}

.tab-btn:hover {
    color: #1a73e8;
}

.tab-btn.active {
    color: #1a73e8;
    border-bottom-color: #1a73e8;
}

.push-info {
    font-size: 13px;
    color: #5f6368;
    background-color: #e8f0fe;
    padding: 8px 12px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.push-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.push-count {
    font-size: 14px;
    color: #666;
}

.push-message-card {
    background-color: #f9f9f9;
    border-left: 4px solid #4caf50;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 4px;
}

.push-subscription-label {
    font-size: 13px;
    font-weight: 600;
    color: #2e7d32;
    margin-bottom: 6px;
}

.hidden {
    display: none;
}
