/* ==============================================
   WebChain Admin Styles - Professional Theme
   ============================================== */

.webchain-card {
    background: #fff;
    padding: 24px;
    margin: 20px 0;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    border: 1px solid #e5e5e5;
}

.webchain-button {
    background: #007cba;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s ease, transform 0.1s ease;
}

.webchain-button:hover {
    background: #006ba1;
    transform: translateY(-1px);
}

.webchain-button:disabled {
    background: #a0a0a0;
    cursor: not-allowed;
    opacity: 0.7;
}

.webchain-status {
    margin-left: 12px;
    color: #444;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
}

.webchain-status .spinner {
    margin: 0 8px 0 0;
    float: none;
}

.webchain-form-table th {
    width: 220px;
    padding: 12px 10px;
    vertical-align: middle;
    font-weight: 600;
}

.webchain-form-table td {
    padding: 12px 10px;
}

.webchain-form-table input[type="text"],
.webchain-form-table input[type="email"],
.webchain-form-table input[type="number"] {
    width: 300px;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #8c8f94;
}

.webchain-form-table .description {
    color: #666;
    font-size: 12px;
    margin-top: 4px;
}

.webchain-alert {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    margin: 12px 0;
    border-radius: 4px;
    border-left: 4px solid;
    font-size: 14px;
    line-height: 1.5;
    max-width: 600px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    animation: slideIn 0.3s ease;
}

.webchain-alert.success {
    background: #e6f4ea;
    color: #1e4620;
    border-left-color: #46b450;
}

.webchain-alert.error {
    background: #fce8e6;
    color: #5f2120;
    border-left-color: #d63638;
}

.webchain-alert .dashicons {
    margin-right: 12px;
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.webchain-alert div {
    flex: 1;
}

.webchain-broadcast,
.webchain-view {
    display: inline-block !important;
    visibility: visible !important;
    padding: 6px 12px;
    font-size: 13px;
    line-height: 1.5;
}

.webchain-broadcast::after,
.webchain-view::after {
    margin-left: 6px;
    vertical-align: middle;
}

.webchain-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.webchain-card ul li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 13px;
    color: #333;
}

.webchain-card ul li:last-child {
    border-bottom: none;
}

@keyframes slideIn {
    from {
        transform: translateY(-10px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}