/**
 * Launchmind Blog Connector - Admin Styles
 */

.launchmind-admin-wrap {
    margin-top: 20px;
}

.launchmind-admin-content {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.launchmind-admin-main {
    flex: 1;
    background: #fff;
    border: 1px solid #c3c4c7;
    border-radius: 4px;
    padding: 24px;
}

.launchmind-admin-sidebar {
    width: 320px;
    flex-shrink: 0;
}

.launchmind-card {
    background: #fff;
    border: 1px solid #c3c4c7;
    border-radius: 4px;
    padding: 16px;
    margin-bottom: 16px;
}

.launchmind-card h3 {
    margin-top: 0;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.launchmind-card h4 {
    margin: 16px 0 8px;
    font-size: 13px;
}

.launchmind-card h4:first-of-type {
    margin-top: 0;
}

.launchmind-card code {
    display: block;
    background: #f0f0f1;
    padding: 8px 12px;
    font-size: 12px;
    border-radius: 4px;
    margin-bottom: 8px;
    word-break: break-all;
}

.launchmind-card p.description {
    font-size: 12px;
    color: #646970;
    margin: 4px 0 16px;
}

.launchmind-card .button {
    margin-top: 8px;
}

#launchmind-test-result,
#launchmind-cache-result {
    margin-top: 12px;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 13px;
    display: none;
}

#launchmind-test-result.success,
#launchmind-cache-result.success {
    display: block;
    background: #d1fae5;
    color: #065f46;
}

#launchmind-test-result.error,
#launchmind-cache-result.error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
}

#launchmind-test-result.loading,
#launchmind-cache-result.loading {
    display: block;
    background: #f3f4f6;
    color: #374151;
}

/* Form styles */
.form-table th {
    width: 200px;
    vertical-align: top;
    padding: 20px 10px 20px 0;
}

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

.form-table input[type="text"],
.form-table input[type="url"],
.form-table input[type="password"],
.form-table input[type="number"] {
    width: 100%;
    max-width: 400px;
}

.form-table .description {
    margin-top: 8px;
    color: #646970;
}

/* Responsive */
@media screen and (max-width: 960px) {
    .launchmind-admin-content {
        flex-direction: column;
    }
    
    .launchmind-admin-sidebar {
        width: 100%;
    }
}

