/* Panel Connect - Frontend Styles */
.panel-value-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.panel-copy-icon {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
    background: none !important;
    cursor: pointer;
    padding: 2px;
    margin-left: 5px;
    transition: color 0.2s ease;
    vertical-align: middle;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.panel-copy-icon:focus,
.panel-copy-icon:active {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

.panel-copy-icon svg {
    display: block;
    width: 16px;
    height: 16px;
}

.panel-copy-icon .check-icon {
    display: none;
}

.panel-copy-icon.copied .copy-icon {
    display: none;
}

.panel-copy-icon.copied .check-icon {
    display: block;
}

.btn-download {
    display: inline-block;
    padding: 12px 24px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    margin: 10px 0;
    transition: background 0.3s;
    font-weight: 500;
    border: none;
    cursor: pointer;
}

.btn-download:hover {
    background: #0056b3;
    color: white;
}

.btn-download:disabled,
.btn-download[disabled] {
    background: #6c757d;
    cursor: not-allowed;
    opacity: 0.65;
}

.panel-all-settings {
    border: 1px solid #dee2e6;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    background: white;
}

.panel-download-section {
    margin-top: 20px;
    text-align: center;
}

.panel-label {
    font-weight: 600;
    margin-bottom: 5px;
    color: #495057;
    font-size: 14px;
}

/* Widget styles */
.panel-connect-widget .panel-widget-item {
    margin: 8px 0;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
}

.panel-copy-icon svg {
    display: block;
    width: 16px;
    height: 16px;
}

.panel-copy-icon .check-icon {
    display: none;
}

.panel-copy-icon.copied .copy-icon {
    display: none;
}

.panel-copy-icon.copied .check-icon {
    display: block;
}

.panel-not-available {
    color: #f59e0b;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-style: italic;
    font-size: 0.9em;
}

.panel-not-available svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.panel-connect-widget .panel-widget-item strong {
    color: #495057;
    margin-right: 8px;
}