/* KoinTool Intelligence: Related Keywords v2.5 */

.rs-rk-wrapper {
    max-width: 900px;
    margin: 40px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.rs-rk-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    padding: 30px;
}

.rs-rk-header {
    border-bottom: 2px solid #61ce70;
    margin-bottom: 25px;
    padding-bottom: 15px;
}

.rs-rk-header h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    color: #111;
    display: flex;
    align-items: center;
}

.rs-rk-header .dashicons {
    margin-right: 10px;
    font-size: 24px;
    color: #61ce70;
}

/* Controls */
.rs-rk-controls {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

#rs-rk-input {
    flex-grow: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

#rs-rk-input:focus {
    border-color: #61ce70;
    outline: none;
}

.rs-rk-btn {
    background: #61ce70;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.rs-rk-btn:hover { background: #4caf50; }

.rs-rk-btn.outline {
    background: transparent;
    border: 2px solid #61ce70;
    color: #61ce70;
}

.rs-rk-btn.outline:hover { 
    background: #f4fff6; 
}

/* Status & Results */
.rs-rk-status {
    padding: 15px;
    background: #f4fff6;
    border-left: 4px solid #61ce70;
    margin-bottom: 20px;
    font-style: italic;
    color: #555;
}

.rs-rk-results {
    background: #fff;
    border: 1px solid #eee;
    padding: 25px;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Typography for Results Cluster */
.rs-rk-content h3 {
    background: #f4fff6;
    padding: 8px 12px;
    border-left: 4px solid #61ce70;
    font-size: 18px;
    margin-top: 25px;
}

.rs-rk-content li { margin-bottom: 8px; }

/* Actions & Meta */
.rs-rk-actions {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rs-client-input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 250px;
}

/* Settings UI Badge */
.rs-ver-badge {
    background: #61ce70;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    vertical-align: middle;
}

.rs-settings-card {
    background: #fff;
    padding: 20px;
    border: 1px solid #ccd0d4;
    margin-top: 20px;
    border-radius: 4px;
}

.rs-inactive { opacity: 0.5; cursor: not-allowed; }